[GRASS-dev] [GRASS GIS] #3364: Zip file and url support for r.import and v.import
GRASS GIS
trac at osgeo.org
Sat Jul 1 04:37:03 PDT 2017
#3364: Zip file and url support for r.import and v.import
--------------------------+---------------------------------------------
Reporter: huhabla | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: minor | Milestone: 7.4.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.import, v.import, zip support
CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------------
Comment (by hellik):
Replying to [ticket:3364 huhabla]:
> 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.
There is a nice gdal Utility: gdal_ls
{{{
Project: GDAL samples
Purpose: Display the list of files in a virtual directory, like /vsicurl
or /vsizip
}}}
https://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/gdal_ls.py
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3364#comment:1>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list