On Thu, Oct 24, 2013 at 9:59 AM, Hakala Oiva (MTT) <[email protected]>wrote:
> Thanks Andrea
>
> There is a field gid, which is the primary key. Geoserver adds an empty
> record to my database with this problematic app. And if I put temporarily
> some extra code to the handler
>
> feature.attributes.city_name = "new";
> feature.attributes.admin_name = "something";
>
> those attributes are saved to a new record ok, but not the location.
> Strange???
>
Ah ok, the most common reason for this is that you're posting the geometry
in the wrong GML version, or the geometry is otherwise
incompatible with the type in the database. For example:
* writing GML2 geometries in a WFS 1.1 transaction, or GML3 geometries in a
WFS 1.0 transaction
* wriging a Point, when the database expects a Polygon
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