This can work with a combination of vsizip (or other) and vsicurl, but the
multiple files will have to be in an archive (zip or other).

http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip

See examples near the bottom of the page for OGR. Keep the zip file name
the same as the shapefile/layer name and don't have subdirectories for the
simplest case.

I am pretty sure this cannot work otherwise for a multifile format.

Cheers, Mike



On Wednesday, October 10, 2012, Jeff Hollister wrote:

> All,
>
> I have a couple of shapefiles that I would like to read in directly from a
> website (actually a local server that is shared).  I have been unable to
> figure out how to get this to work.
>
> I have of course tried the obvious, shpf<-readOGR(dsn="
> http://111.11.11.1/data","layername"), to no avail.
>
> Any hints would be greatly appreciated!
>
> Thanks,
> Jeff
>
>
> ***************************
> Dr. Jeffrey W. Hollister
> Research Ecologist
> US EPA
> Atlantic Ecology Division
> 27 Tarzwell Drive
> Narragansett, RI 02882
> (401) 782-9655
> ***************************
>


-- 
Michael Sumner
Hobart, Australia
e-mail: mdsumner@gmail.com

	[[alternative HTML version deleted]]

