Russ,

You may want to add 3 forward slashes to the file path location, see 
http://en.wikipedia.org/wiki/File_URI_scheme for more details.

The path thus becomes:

file:///data/EA_Data/DetailedRiverNetwork

HTH

Regards,

Edward

From: r...@russ-hore.co.uk
Date: Mon, 13 Aug 2012 15:40:06 +0100
To: dwins...@opengeo.org
CC: zimm...@gmail.com; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Publishing a shapefile on localhost

I use the following URL for my SHP file data
file:data/EA_Data/DetailedRiverNetworki.e. not HTTP but FILE
But I just hit the browse button to locate it.
Russ
On 13 Aug 2012, at 15:22, David Winslow <dwins...@opengeo.org> wrote:I can't 
diagnose your problem from the description you gave, but I think that using 
'localhost' in your workspace URIs is a red herring[1].  GeoServer does not 
actually make requests to the workspace URIS and as long as they are unique 
their values don't really affect GeoServer's operation.

Perhaps a good next step would be for you to post a screen capture of the 
erroneous page?  Are there any errors in GeoServer's log files?
--David WinslowOpenGeo - http://opengeo.org/ 


[1] http://en.wikipedia.org/wiki/Red_herring

On Mon, Aug 13, 2012 at 6:41 AM, Michal Zimmermann <zimm...@gmail.com> wrote:

Hi,I need to add stores (shapefiles) to geoserver running on localhost:8080. In 
data_dir/data I have directories containing shapefiles. I add them as 
workspaces with Namespace URI set to 
http://localhost:8080/geoserver/data/*name_of_the_dir*/. When I try to add new 
store, the URL field in Connection Parameters doesn't open though and I can't 
choose which shapefile I want to add. I suppose the only error might be in 
http://localhost:8080/geoserver/data/*name_of_the_dir*/. I tried many different 
variations of this path, none of them worked for me.

So the question is rather simple (hope the answer too): How do I add a store to 
a workspace when working in localhost? Thanks for any help.PS: The geoserver 
I'm working on is meant to run offline, thus I can't enter web URLs in 
Namespace URI.


-- 
Michal Zimmermann (zimmi) 
WWW: http://www.zimmi.cz


------------------------------------------------------------------------------

Live Security Virtual Conference

Exclusive live event will cover all the ways today's security and

threat landscape has changed and how IT managers can respond. Discussions

will include endpoint security, mobile security and the latest in malware

threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________

Geoserver-users mailing list

Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users                    
                  
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to