Closed oualidfouad closed 8 years ago
We need the actual request and response of the wfs-t. You can get these via the developers toolbar. Hit f-12, and the do the wfs-t.
Thank you for your response, Here's the request/response (I believe):
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:PNCG="http://localhost:8000/geoserver/PNCG" xmlns
:gml="http://www.opengis.net/gml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://localhost:8000/geoserver/PNCG">
<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www .opengis.net/ows http://localhost:8000/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
The response has a hint. It seems as if you post coordinates in the wrong projection, as it has been suggested to you on stack overflow. You could try to reproject e.g.
Anyhow, O think this has got nothing to do with geoext2.
My layers are in EPSG:3857 just like the projection of the base layer. Where's the problem here, I still don't get it.
Yes, but the server obviously expects epsg:4326. If you try to reproject the fearures just before they are sent to your wfs, I think you'll be fine
Or the other way round: It could be that an explicit description of the projection / SRS used is missing in the request (hard to see since the XML above is not formatted properly). So the server expects EPSG:4326 but the coordinates are sent in EPSG:3857 what causes the exception.
Yeah, I don't know why he expects them to be in 4326, Because 1- My layers are in 3857, 2- My code is specified in 3857 and 3- Google Sat Projection is 3857...
On Sun, Jun 12, 2016 at 9:41 AM, Christian Mayer notifications@github.com wrote:
Or the other way round: It could be that an explicit description of the projection / SRS used is missing in the request (hard to see since the XML above is notformatted properly). So the server expects EPSG:4326 but the coordinates are sent in EPSG:3857.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geoext/geoext2/issues/389#issuecomment-225417357, or mute the thread https://github.com/notifications/unsubscribe/AS8UyueMPj_gOmJFOczMTZdBNYdaLwefks5qK8ZJgaJpZM4Iznur .
Here's the link for my problem : http://gis.stackexchange.com/questions/197797/commiting-changes-wfs-t-problem-with-base-layer-update
Long story short, the app works perfectly without a baselayer. once I add one, anyone. committing changes stops working. I followed your tutorial perfectly (WFS-t Made easy with GeoExt). Please I'm desperate for a response.