[GRASS-dev] [GRASS GIS] #3314: URL as input for r.unpack and v.unpack

GRASS GIS trac at osgeo.org
Sat Mar 11 07:04:26 PST 2017


#3314: URL as input for r.unpack and v.unpack
-------------------------------------------------+-------------------------
 Reporter:  wenzeslaus                           |      Owner:  grass-dev@…
     Type:  enhancement                          |     Status:  new
 Priority:  trivial                              |  Milestone:  7.4.0
Component:  Default                              |    Version:  unspecified
 Keywords:  r.unpack v.unpack t.rast.import      |        CPU:  Unspecified
  t.vect.import r.in.xyz v.in.ascii r.in.ascii   |
  r3.in.xyz URL download                         |
 Platform:  Unspecified                          |
-------------------------------------------------+-------------------------
 The following modules accept a local file as **input** parameter, they
 could also accept a general URL (similarly to G7:g.extension) and download
 the archive from the Internet.

 * G7:r.unpack
 * G7:v.unpack

 The would be helpful in cases when users needs to use a file stored
 somewhere online. The whole thing could be done in one step (from GUI or
 command line) if `input='http://example.com/araster.pack'` is supported.

 There is no equivalent of `r.pack-r.unpack` for 3D rasters or imagery
 groups, but there are "import" modules for temporal datasets which can
 potentially use same improvement:

 * G7:t.rast.import
 * G7:t.vect.import

 Possible criticism: There are many modules which just take a file (as
 opposed to more complicated inputs like in G7r.in.gdal/G7r.import) for
 example G7:r.in.xyz or G7:v.in.ascii which can use the same, but they are
 in C, not in Python, and adding this functionality would be much more
 complicated. Hence, it is clear that the proposed features depends on the
 language used for implementation, not purely on design decision.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3314>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list