Thanks for the reply cheesy.
I executed the following code,
curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' \ >
-d 'file:///var/www/geo/shapefile/csvQshp/' \ > "
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/csvQshp/externa
l.shp?configure=all"
I am getting this error,
*Error persisting DataStoreInfoImpl[csvQshp] to
/usr/share/opengeo-suite-data/geoserver_data/workspaces/acme/csvQshp/datastore.xml
*
The strange thing is that the datastore is created but the shapefiles are
missing. When you said the absolute path did u mean,
-d 'file:///var/www/geo/shapefile/csvQshp/' \ >
Thanks,
Smaran
On Wed, Nov 7, 2012 at 11:24 PM, cheesybiscuits
<[email protected]>wrote:
> Did you try using an absolute path? GeoServer needs to be able to find the
> group of files that make up the Shp, but your path is relative to your pwd
> in the shell.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/curl-not-creating-the-desired-datastore-tp5014713p5014731.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Thanks & Regards
Smaran Harihar
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users