Opened 7 years ago
Last modified 6 years ago
#3364 new enhancement
Zip file and url support for r.import and v.import
Reported by: | huhabla | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 7.6.2 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.import, v.import, zip support | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
This is a feature request to add support for zip files and direct URL download to r.import and v.import.
Zip files may contain a tiff file, shape files or any other zip-compressible geodata that can be imported y r.in.gdal and v.in.ogr.
Checks for zip-bombs should be included. Nested zip files are not supported. Counting of files that are included in the archives must be performed. By default, only a single file is supported in the archive, with the exception of formats that require multiple files like shape-files.
The URL support must check if the files are accessible. HTTP, HTTPS and FTP requests should be supported as well as authentication and proxy configuration. Mimetype check must be performed before the file is downloaded by r.import or v.import via the wget command.
Change History (7)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Example:
# list all files in a zipped file by gdal_ls.py gdal_ls /vsizip/orthophotos.zip/dataset
comment:4 by , 6 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:5 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
Replying to huhabla:
There is a nice gdal Utility: gdal_ls
https://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/gdal_ls.py