On Mon, Oct 28, 2013 at 5:58 PM, Hakala Oiva (MTT) <[email protected]>wrote:

>
> Hi everyone. Problem sorted out.
>
> For some reason, that I dont know,* Geoserver's sample wfs-t app*assumes, 
> that the field (column) containing geometry is
> *the_geom (the default of shp file).* I cannot understand why it is still
> used, when the data is in a database, and the geo column is there* geom*?
> Is this burned in in Openlayers version??
>

It is the default, you can change it (don't remember how).
The field name must match the one in the db


>
> When I modified that column name to* the_geom* when importing data to
> Postgis, everything started to work, and point was saved ok.
>
> Special thanks to *Jukka Rahkonen* and also *Andrea* for help. Without
> examining POST-data, I could not figure this out!
>

Cool :-)

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to