[OpenLayers-Users] Request with wrong column name

Luís de Sousa luis.a.de.sousa at gmail.com
Wed Jan 27 11:20:09 EST 2010


Hi Bart,

Thanks for the tip. This way OpenLayers seems to produce the request
correctly:

<feature:shape>
 <gml:Point xmlns:gml="http://www.opengis.net/gml">
  <gml:coordinates decimal="." cs="," ts=" ">
    186758.05565625,285364.15754687
   </gml:coordinates>
  </gml:Point>
</feature:shape>

But in the database I'm still getting a null geometry. Here's the result
from Geoserver:

<wfs:InsertResult>
 <ogc:FeatureId fid="M_TANQUE.18315724"/>
</wfs:InsertResult>
<wfs:TransactionResult>
 <wfs:Status> <wfs:SUCCESS/> </wfs:Status>
</wfs:TransactionResult>

There's indeed a new row at the database with the key 18315724, but the
geometry column is null. What's wrong?

Any ideas? Thank you,

Luís


2010/1/27 Bart van den Eijnden <bartvde at osgis.nl>

> Hi,
>
> use geometry_column instead of geometryName.
>
> Bart
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100127/9e30d6f9/attachment.html


More information about the Users mailing list