[udig-devel] Example of simple pick tool does not seem to work
Jody Garnett
jgarnett at refractions.net
Wed Apr 23 12:09:46 PDT 2008
Starke, Dirk wrote:
>> Hello,
>>
>> I've tried the example of the simple pick tool (uDIG 1.1, RC 14). But clicking on a country in a map showing the countries shape file, there is no element in the resulting feature collection (variable featureCollection down below). Omitting the bounding box filter gets a list of all countries (as expected).
>> What's going wrong?
>>
>> Regards and many thanks in advance,
>> Dirk
>>
You may want to try using a different spatial relationship (other than
BBOX) to select the contents, I have often found that making a polygon
and using a NOT( DISJOINT) test works well. You can also try INTERSECTS
etc..
I am a bit confused as I understand that shapefile supports the BBOX
operation especially; actually makes use of the spatial index etc for
speed. I expected the example to work as written.
Cheers,
Jody
More information about the udig-devel
mailing list