Hi,

I think you need to change the commit, to stay in this way

<Transaction xmlns="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";>
    <Insert>
        <polygon
            xmlns="http://spatial_editing";>
         *   <the_geom>*
                <MultiPolygon
                xmlns="http://www.opengis.net/gml";>
                    <polygonMember>
                        <Polygon>
                            <exterior>
                                <LinearRing>
                                    <posList>
                                        8312679.700069487 1823481.746771165
8289442.843470794 1774562.048668652 8353038.451004061 1796575.912814783
8312679.700069487 1823481.746771165
                                    </posList>
                                </LinearRing>
                            </exterior>
                        </Polygon>
                    </polygonMember>
                </MultiPolygon>
           * </the_geom>*
        </polygon>
    </Insert>
</Transaction>


See this exemple http://gis.stackexchange.com/questions/156894/why-dont-set-
geometry-column-in-openlayers-wfs-t-request-to-geoserver




Cumprimentos
*Pedro Henriques*

*Personal E-mail: *[email protected]
*Academic E-mail**:* [email protected]
*Professional E-mail:* [email protected]
*Mobile Phone:* +351 916 553 574
*Personal Page:* http://zoomto.pt

2017-03-13 9:18 GMT+00:00 Veena Hosur <[email protected]>:

> Hi,
> I am trying to do an  insert WFS-T into PostGis Datastore multipolygon
> layer
> with
>
> <Transaction xmlns="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";><Insert><polygon
> xmlns="http://spatial_editing";><geometry><MultiPolygon
> xmlns="http://www.opengis.net/gml";><polygonMember><Polygon><
> exterior><LinearRing><posList>8312679.700069487
> 1823481.746771165 8289442.843470794 1774562.048668652 8353038.451004061
> 1796575.912814783 8312679.700069487
> 1823481.746771165</posList></LinearRing></exterior></
> Polygon></polygonMember></MultiPolygon></geometry></polygon></Insert></
> Transaction>
>
> After this there is a new entry in the Datastore table, but the_geom is
> empty. It looks like this SRID=4326;MULTIPOLYGON ((EMPTY)).
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Insertion-in-to-multipolygon-column-through-
> WFS-T-tp5312016.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------
> ------------------
> Announcing the Oxford Dictionaries API! The API offers world-renowned
> dictionary content that is easy and intuitive to access. Sign up for an
> account today to start using our lexical data to power your apps and
> projects. Get started today and enter our developer competition.
> http://sdm.link/oxford
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to