[Geoserver-users] DWithin filter not working with MultiPolygon?

Hi,

I stumled across a strange behaviour with the DWithin filter. When using a Polygon or LinearRing geometry [1], everything works fine. But when using a MultiPolygon geometry (which I retrieved by GetFeature from GeoServer) [2], the DWithin filter returns nothing.

The requests in [1] and [2] can be tested against http://geoext.opengeo.org/geoserver_alachua/wfs.

Regards,
Andreas.

[1] http://pastebin.com/f7aa58cec
[2] http://pastebin.com/f79a454d0

Hi Andreas,

Strange one... changing from MultiPolygon -> Polygon seems to work ok. So it appears that multi geometries are not being handled properly by shapefile. I will look into this further.

-Justin

Andreas Hocevar wrote:

Hi,

I stumled across a strange behaviour with the DWithin filter. When using a Polygon or LinearRing geometry [1], everything works fine. But when using a MultiPolygon geometry (which I retrieved by GetFeature from GeoServer) [2], the DWithin filter returns nothing.

The requests in [1] and [2] can be tested against http://geoext.opengeo.org/geoserver_alachua/wfs.

Regards,
Andreas.

[1] http://pastebin.com/f7aa58cec
[2] http://pastebin.com/f79a454d0

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,4889ab39239441030819293!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com