Ah, great! That worked.

Okay so just to clarify, the url:
http://10.10.0.20:8001/geoserver/rest/workspaces/gv/datastores/roads/file.shp
specifies the name of the new datastore to be created called roads,
and file.shp is just a generic name and the destination of the
uploaded shapefile?


On Wed, Aug 18, 2010 at 1:01 PM, Luca Morandini <[email protected]> wrote:
> On 18/08/10 18:18, Robert Hicks wrote:
>> Luca, thanks for the response. Actually my mail client put those in
>> separate lines, I ran everything in on one line. As far as the second
>> failed call goes, that is kind of what I figured, but just wanted to
>> try using an existing datastore.
>
> OK, but did you try to run, *exactly*, the line I've posted ?
>
> You see, there are two differences worth noting:
>
> 1) 'Content-type: application/zip' (single quotes)
> 2) 
> http://10.10.0.20:8001/geoserver/rest/workspaces/gv/datastores/roads/file.shp
> (file.shp, not states.shp)
>
> If you ran it, what was the result ?
>
> --------------------
>    Luca Morandini
> www.lucamorandini.it
> --------------------
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
web http://www.hyxspace.com
aim hyx1138

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to