Hi,
Perhaps you must define more namespaces and schema locations. See the demo
requests of your Geoserver. Here is the beginning of one of those
<wfs:GetFeature service="WFS" version="2.0.0"
xmlns:wfs="http://www.opengis.net/wfs/2.0"
xmlns:fes="http://www.opengis.net/fes/2.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:sf="http://www.openplans.org/spearfish"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd">
<wfs:Query typeNames="sf:bugsites">
<fes:Filter>
…
-Jukka Rahkonen-
Gabriel Vatin wrote:
[Geoserver-users] WFS spatial filter, unknown gml:Point
Hi all,
I am using Geoserver 2.7.1.1, and trying WFS with a DWithin Filter. Here is the
query:
http://MYDOMAIN/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&typeNames=database:OSM_alim&filter=<Filter
xmlns="http://www.opengis.net/fes/2.0"<http://www.opengis.net/fes/2.0>><DWithin><PropertyName>geo_data</PropertyName><gml:Point
srsName="EPSG:4326"><gml:coordinates>2.295294,48.873703</gml:coordinates></gml:Point><Distance
units='m'>500</Distance units="m"></DWithin></Filter>
I have this error :
org.xml.sax.SAXException: Attempted to construct illegal filter - I dont
understand the tag: gml:Point. HINT: tags are case-sensitive! Attempted to
construct illegal filter - I dont understand the tag: gml:Point. HINT: tags are
case-sensitive!
Does it comes from an old bug that was since fixed? Thanks!
Gabriel Vatin
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users