I have been investigating using the REST API to upload a new shape file to
an existing ‘Directory of spatial files’ datastore. It looks like this is
not supported? I am using geoserver 2.15.1.

I am doing an HTTP PUT to URL:
/geoserver/rest/workspaces/WORKSPACE/datastores/DATASTORE/file.shp

Inside the zip file is a shapefile (layer.shp,.prj,.shx etc).

All that happens is a file is created in the DATASTORE directory called
layer.fix.

I had a quick look through the source code and it doesn’t seem that adding
a new shapefile to a directory of shapefiles is supported?

Thanks for your help

Matt.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to