Hi,<br><br>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:<br><br><a href="http://featureserver.org/">http://featureserver.org/</a><br>
<br><code>curl -d @myfile.kml <a href="http://example.com/featureserver.cgi/layer/create.json">http://example.com/featureserver.cgi/layer/create.json</a><br><br>but it won't work. I get the following back at the command line...<br>
<br>C:\Program Files\curl-7.17.1>curl -d @test.kml <a href="http://gisconsultancy.com/feature">http://gisconsultancy.com/feature</a><br>server/featureserver.cgi/layers/create.json<br><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br>
<html><head><br><title>406 Not Acceptable</title><br></head><body><br><h1>Not Acceptable</h1><br><p>An appropriate representation of the requested resource /featureserver/featur<br>
eserver.cgi/layers/create.json could not be found on this server.</p><br><hr><br><address>Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a mod_auth_passthrough/2<br>.1 mod_bwlimited/1.4 Server at <a href="http://gisconsultancy.com">gisconsultancy.com</a> Port 80</address><br>
</body></html><br><br>I can't see any resource on the server that represents </code><code>layers/create.json, I'm not sure if I am supposed to. Any ideas much appreciated.<br><br>Rob<br></code>