[FeatureServer] POST an object
Espen Isaksen
espen at espenpost.com
Tue Feb 12 04:39:47 PST 2013
Hi!
Getting objects from Featureserver works fine, but I have not been able to
find a good example on how to POST an object. From the demo I see that one
can do a WFS insert by using the URL:
http://featureserver.org/fs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=fs_polygon
However I want to POST a GeoJSON object so I thought maybe I could do
something like this:
curl -X POST -d @elveg.json
http://localhost:9000/fs?SERVICE=GeoJSON&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elveg
That does not work. It just complains about not finding a layer called 'fs'?
Is there some documentation on how to POST objects?
Espen
--
http://www.turkompisen.no
http://www.kresendo.no/
http://no.linkedin.com/in/espenisaksen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/featureserver/attachments/20130212/1cc75462/attachment.html>
More information about the FeatureServer
mailing list