Hi,

I am trying to publish a shapefile directory as datastore in geoserver (2.2.x) 
and I was going through these pages.

http://docs.geoserver.org/2.1.2/user/restconfig/rest-config-examples/rest-config-examples-curl.html

http://docs.geoserver.org/stable/en/user/rest/examples/curl.html

curl -v -u admin:geoserver -XPUT -H "Content-type: text/plain" -d 
"file:///data/shapefiles/" 
"http://localhost:8080/geoserver/rest/workspaces/acme/datastores/shapefiles/external.shp?configure=all";

When I create the store, the datastore is created and layers are published. But 
when I check the store information, it is showing of type "Shapefile" instead 
of "Directory of spatial files (shapefiles)". I am not sure if this is a bug, 
but wanted to check with the community.

As a work around for now, I am editing the datastore.xml manually as directory 
of shapefiles and reloading the config to see my expected changes.

Thanks,
Ravi.
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to