Hello,
  I am now able to reference shape files outside of geoserver's data
directory without copying the file in Geoserver's data directory using the
following configuration after applying the patch found at:
http://jira.codehaus.org/browse/GEOS-3999

curl -u admin:geoserver -v -XPUT -H 'Content-type: text/plain' -d
'file:/home/grass/shapefiles/test2.shp'
http://localhost:9090/geoserver/rest/workspaces/icens/datastores/test3/external.shp?

what I noticed, however, is that when in the connection parameters section
the file path is not entered and two stores are created with the same name.
Also if I remove any one of the stores I would be unable to view the shape
file uploaded.

In this case two entries of the datastore test3 would be created.

Any help with this would be greatly appreciated.

Regards,
Mckeane 
-- 
View this message in context: 
http://old.nabble.com/Referencing-shapefiles-outside-of-geoserver%27s-data-directory-tp29956147p29956147.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to