From: Roger B. <syl...@ma...> - 2009-06-24 16:18:10
|
Thanks Andrea, Changed the line to: <gml:Polygon xmlns:gml="http://www.opengis.net/gml" srsName="urn:x-ogc:def:crs:EPSG:4326"> and all is good. Roger -------------------------------------------------- From: "Andrea Aime" <aa...@op...> Sent: Wednesday, June 24, 2009 12:11 PM To: "Roger Bedell" <ro...@sy...> Cc: <geo...@li...> Subject: Re: [Geoserver-users] WFS help, reprojecting to a SHP file > Roger Bedell ha scritto: >> Thanks Gabriel! >> I made this change: >> >> <gml:Polygon xmlns:gml="http://www.opengis.net/gml" >> srsName="EPSG:4326"> >> >> but now I get this error: >> >> <ows:ExceptionText> >> org.geotools.referencing.operation.projection.PointOutsideEnvelopeException: >> -95.72623213288038 outside of (-90.0,90.0) Parsing >> failed for LinearRing: org.geoserver.wfs.WFSException: >> >> org.geotools.referencing.operation.projection.PointOutsideEnvelopeException: >> -95.72623213288038 outside of (-90.0,90.0) >> >> org.geotools.referencing.operation.projection.PointOutsideEnvelopeException: >> -95.72623213288038 outside of (-90.0,90.0) >> -95.72623213288038 outside of (-90.0,90.0) >> </ows:ExceptionText> >> >> I'm still missing something... > > Axis order. WFS 1.1 uses lat/lon order, but you're specifing > the srs in the old deprecated syntax used for WFS 1.0, > when you do, GeoServer assumes you're a legacy and reverts > to lon/lat order: > > http://geoserver.org/display/GEOSDOC/2.+WFS+-+Web+Feature+Service > > Cheers > Andrea > |