Changes between Version 6 and Version 7 of UserDocs/ReadInZip


Ignore:
Timestamp:
Apr 11, 2011, 11:37:12 PM (13 years ago)
Author:
EliL
Comment:

Add vsicurl section

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/ReadInZip

    v6 v7  
    8080Reading a file in a .tar file will not expose that penalty.
    8181
     82
    8283The special file handler is [http://gdal.org/cpl__vsi_8h.html#d6dd983338849e7da4eaa88f6458ab64 VSIInstallTarFileHandler ()]
    8384
     
    104105
    105106The full list can be obtained by looking at the driver marked with 'v' when running 'gdalinfo --formats'
     107
     108= vsicurl - to read from HTTP or FTP files (partial downloading) =
     109 * According to the [http://trac.osgeo.org/gdal/wiki/Release/1.8.0-News 1.8.0 release notes], part of the virtual file system handlers is vsicurl.
     110 * This allows partial http or ftp downloading (i.e. ogrinfo a very large shapefile over the internet).
     111
     112== Example ==
     113ogrinfo a shapefile on the internet:
     114
     115{{{
     116ogrinfo -ro -al -so /vsicurl/http://trac.osgeo.org/gdal/browser/trunk/autotest/ogr/data/poly.shp
     117}}}
     118
     119== Complex example (combining with vsizip) ==
     120ogrinfo a shapefile in a zip file on the internet:
     121
     122{{{
     123ogrinfo -ro -al -so /vsizip/vsicurl/http://trac.osgeo.org/gdal/browser/trunk/autotest/ogr/data/poly.zip
     124}}}
     125
     126== Notes ==
     127 * The vsicurl section here may need improvement.