Opened 7 years ago

Last modified 5 years ago

#3314 new enhancement

URL as input for r.unpack and v.unpack

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: trivial Milestone: 7.6.2
Component: Default Version: unspecified
Keywords: r.unpack v.unpack t.rast.import t.vect.import r.in.xyz v.in.ascii r.in.ascii r3.in.xyz URL download Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

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:

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.

Change History (5)

comment:1 by neteler, 6 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:2 by neteler, 6 years ago

Milestone: 7.4.17.4.2

comment:3 by martinl, 6 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:4 by martinl, 5 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:5 by martinl, 5 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.