[udig-devel] Layer Attribute Query
Jesse Eichar
jeichar at refractions.net
Tue Aug 14 09:28:18 PDT 2007
Hi,
You'll want to look at the code snippets I sent in a previous email
and the Geotools Filters and JTS operations.
Here's a tip:
ff = FilterFactoryFinder.createFilterFactory()
idFilter1 = ff.createFidFilter( id1 );
idFilter2 = ff.createFidFilter( id2 );
or = ff.createLogicFilter( FilterType.LOGIC_OR )
or.addFilter( idFilter1 );
or.addFilter( idFilter2 );
Something like that.
Jesse
On Aug 14, 2007, at 8:21 AM, Andy Cox wrote:
> Hello,
>
>
>
> I have a polygon layer which has about 10 polygons. I want to get
> access to two specific polygons based on attribute query (e.g.
> their IDs). Then I want to perform a Boolean spatial intersection
> to find out they intersect. Does anyone have any pointers to where
> I can find some info on this?
>
>
>
> Any help greatly appreciated.
>
> Thanks
> Andy
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20070814/8d635489/attachment.html
More information about the udig-devel
mailing list