[Featureserver] Getting Started - Cannot upload data

Rob Dunfey rob at gisconsultancy.com
Sun Feb 3 03:24:41 EST 2008


Hi,

I've just installed feature server on my web server, but don't know how to
upload data.  I tried the example on the main web page:

http://featureserver.org/

curl -d @myfile.kml http://example.com/featureserver.cgi/layer/create.json

but it won't work.  I get the following back at the command line...

C:\Program Files\curl-7.17.1>curl -d @test.kml
http://gisconsultancy.com/feature
server/featureserver.cgi/layers/create.json
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head><body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource
/featureserver/featur
eserver.cgi/layers/create.json could not be found on this server.</p>
<hr>
<address>Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a
mod_auth_passthrough/2
.1 mod_bwlimited/1.4 Server at gisconsultancy.com Port 80</address>
</body></html>

I can't see any resource on the server that represents layers/create.json,
I'm not sure if I am supposed to. Any ideas much appreciated.

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/featureserver/attachments/20080203/47d2854f/attachment.html


More information about the Featureserver mailing list