[OpenLayers-Users]
<ows:Exception exceptionCode="InvalidParameterValue">
christopher.schmidt at nokia.com
christopher.schmidt at nokia.com
Mon Jun 7 10:33:13 EDT 2010
On Jun 7, 2010, at 10:04 AM, ext giraam wrote:
>
> Hello people!
>
> I need some help to understand this error when inserting a new point through
> a WFS vector layer.
>
Sounds like a projection issue. The server is saying "That point isn't in
EPSG:4326", and it's right: the data you are posting doesn't fit on the
world in the projection you've selected/configured on the WFS base
layer, I believe.
Seeing your HTML page might help explain more.
-- Chris
> The post looks like this:
>
> <wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
> version="1.1.0"
> xsi:schemaLocation="http://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <wfs:Insert>
> <feature:pdv_new
> xmlns:feature="http://192.168.11.22:8080/geoserver/wfs">
> <feature:the_geom>
> <gml:Point xmlns:gml="http://www.opengis.net/gml"
> srsName="EPSG:4326">
> <gml:pos>448.57743554687 7191.4479121094</gml:pos>
> </gml:Point>
> </feature:the_geom>
> </feature:pdv_new>
> </wfs:Insert>
> </wfs:Transaction>
>
> And the answer I got from the server is this:
>
> <ows:exceptionreport version="1.0.0"
> xsi:schemaLocation="http://www.opengis.net/ows
> http://192.168.11.22:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ows="http://www.opengis.net/ows">
> <ows:exception exceptionCode="InvalidParameterValue">
>
> <ows:exceptiontext>org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
> 448.57743554687 outside of (-180.0,180.0)
> Parsing failed for Point: org.geoserver.wfs.WFSException:
> org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
> 448.57743554687 outside of (-180.0,180.0)
> org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
> 448.57743554687 outside of (-180.0,180.0)
> 448.57743554687 outside of (-180.0,180.0)</ows:exceptiontext>
> </ows:exception>
> </ows:exceptionreport>
>
> I was reading about projections but I'm not sure if I'm pointing the right
> direction!
>
> If this error is about projections, could you give a simple explanation
> about how it works?
>
> Thank you very much!! =)
>
>
> -----
> just another web developer
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/ows-Exception-exceptionCode-InvalidParameterValue-tp5149142p5149142.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
Regards,
--
Christopher Schmidt
Nokia
More information about the Users
mailing list