[Geoserver-devel] [jira] (GEOS-6951) impossible to create 'Directory of shapefile' with REST.

benard alain created an issue

GeoServer / BugGEOS-6951

impossible to create ‘Directory of shapefile’ with REST.

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

25/Mar/15 9:32 AM

Priority:

MajorMajor

Reporter:

benard alain

It is impossible to create a datastore type ‘Directory of spatial files (shapefiles)’ with REST API. All test command create a datastore with Shapefile type.
A file myds.xml with this content :
<dataStore>
<name>test_shp_rep_bis</name>
<type>Directory of spatial files (shapefiles)</type>
<connectionParameters>
<entry key=“url”>file:/data/mydirectory</entry>
</connectionParameters>
</dataStore>
The command :
curl -v -u login:password -XPOST -T myds.xml -H ‘Content-type: text/xml’ https://myserver/geoserver/rest/workspaces/myworkspace/datastores.xml

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo