Thanks for the reply David. I went through the documentation but is there
no way of adding the layer to the Geoserver?

I am trying to use the curl command for the existing shapefile,

curl -u admin:geoserver -XPUT -H 'Content-type: text/plain' -d
'file:./shapefile/csv_shp/Stemmodontia_reticulata.shp'
http://localhost:8080/geoserver/rest/workspaces/opengeo/datastores/Stemmodontia_reticulata/Stemmodontia_reticulata.shp

But I keep getting this error,

*No such datastore: opengeo,Stemmodontia_reticulata*

I have the opengeo workspace but the
document<http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#adding-an-existing-shapefile>
says
that the curll command will add a new datastore to the Geoserver, then why
am I getting no such datastore error?

Thanks,
Smaran

On Thu, Nov 8, 2012 at 6:33 AM, David Winslow <[email protected]> wrote:

> GSConfig is used extensively by GeoNode (http://geonode.org/) and I
> believe has some casual users as well.  I (the original developer of this
> library) have definitely uploaded shapefiles with it.
>
> http://dwins.github.com/gsconfig.py/ has some more info and examples.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Wed, Nov 7, 2012 at 11:32 PM, Smaran Harihar 
> <[email protected]>wrote:
>
>> Has anybody used gsconfig.py <https://github.com/dwins/gsconfig.py/wiki>to 
>> connect with the Geoserver and upload shapefiles?
>>
>> --
>> 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
>>
>>
>


-- 
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

Reply via email to