Hi, GML coordinates tend to include commas <gml:coordinates>0,0 100,0 100,100 0,100 0,0</gml:coordinates>
In addition, you are using WFS 1.1.0 which defaults to GML3 which considers coordinates as deprecated. Is is not strictly forbidden, I believe, but it would be better not to mix GML2 and GML3 dialects. Thus, use gml:posList. -Jukka Rahkonen- Roel De Nijs wrote: > > Hello, > > I'm trying to send a GetFeature (post) request using a Filter. But I keep > getting the above error and I have no clue about the cause of the issue > (because it's closed). If I create a LinearRing using JTS and the same > coordinates the Geometry is created without any errors. > > The request I try to send: > > <wfs:GetFeature service="WFS" version="1.1.0" > xmlns:wfs="http://www.opengis.net/wfs" > xmlns:ogc="http://www.opengis.net/ogc" > xmlns:gml="http://www.opengis.net/gml" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> > <wfs:Query typeName="feature:ViewRWZI" > xmlns:feature="JAGIS"> > <ogc:Filter > xmlns:ogc="http://www.opengis.net/ogc"> > <ogc:And> > <ogc:BBOX> > > <ogc:PropertyName>GeoNode</ogc:PropertyName> > > <gml:Envelope > srsName="http://www.opengis.net/gml/srs/epsg.xml#31370"> > > <gml:lowerCorner>-284279.94433594 - > 12078.599121097</gml:lowerCorner> > > <gml:upperCorner>592280.94433594 > 424076.8491211</gml:upperCorner> > > </gml:Envelope> > </ogc:BBOX> > <ogc:Within> > > <ogc:PropertyName>GeoNode</ogc:PropertyName> > > <gml:Polygon xmlns:gml="http://www.opengis.net/gml" > srsName="http://www.opengis.net/gml/srs/epsg.xml#31370"> > > <gml:exterior> > > <gml:LinearRing> > > <gml:coordinates>139400 203697 > 139400 229770 159022 229770 159022 > 203697 139400 203697</gml:coordinates> > > </gml:LinearRing> > > </gml:exterior> > > </gml:Polygon> > </ogc:Within> > </ogc:And> > </ogc:Filter> > </wfs:Query> > </wfs:GetFeature> > > Kind regards, > Roel > > > > -- > View this message in context: http://osgeo-org.1560.n6.nabble.com/Points- > of-LinearRing-do-not-form-a-closed-linestring-tp5011496.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite > for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
