[FeatureServer] POST an object

Iocast iocast at me.com
Wed Feb 13 00:10:58 PST 2013


Hi Espen

Maybe you can find something in the old API located here http://svn.osgeo.org/featureserver/trunk/featureserver/doc/API.txt or in the old doc folder http://svn.osgeo.org/featureserver/trunk/featureserver/doc

If it is not working please let me know
Michel


On Feb 12, 2013, at 1:39 PM, Espen Isaksen <espen at espenpost.com> wrote:

> 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
> 
> 
> _______________________________________________
> FeatureServer mailing list
> FeatureServer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/featureserver

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/featureserver/attachments/20130213/ad21f722/attachment.html>


More information about the FeatureServer mailing list