When I uploaded a shape file a copy is created in Geoserver as well as the
original file, therefore, two copies of the files are created.

I was wondering if geoserver can be configured to reference shape files
which are not in its data directory.

I was able to do it with geotiff files using the example:

[gr...@~/geoserver-2.0.2]$ curl -u admin:geoserver -v -XPUT -H
'Content-type:text/plain' -d 'file :/home/grass/geotiffTest/geotiftest.tif'
http://localhost:9090/geoserver/rest/workspaces/icens/coveragestores/tiffTest/external.geotiff?configure=first\&coverageName=tiffTest
 

If this is possible which configuration should I use to accomplish this.

-Mckeane


SIGFTS wrote:
> 
> Alex - I am struggling with something similar: create a coverage store
> with REST and then add a coverage along with updating the
> coveragestore.xml. Can you please post the examples you mention?
> 
> Thanks
> 
>>I have several cURL examples I've put together during the process of  
>>figuring all this out.  I'll attach those as well, and maybe they can  
>>get into the 'Examples' section of the documentation.
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/can-geoserver-discover-spatial-meta-data-during-geotiff-post-to-rest-api--tp28305043p29888864.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