[GRASS-dev] Re: [GRASS GIS] #39: r.in.srtm fails to validate zip
files
Glynn Clements
glynn at gclements.plus.com
Sat Feb 9 16:25:24 EST 2008
GRASS GIS wrote:
> #39: r.in.srtm fails to validate zip files
> ------------------------+---------------------------------------------------
> Reporter: kyngchaos | Owner: grass-dev at lists.osgeo.org
> Type: defect | Status: new
> Priority: major | Milestone: 6.3.0
> Component: default | Version: unspecified
> Resolution: | Keywords:
> ------------------------+---------------------------------------------------
> Comment (by kyngchaos):
>
> I guess my main concerns are:
>
> * the "--mime" flag is standard on modern systems - it looks like it.
> * I've noticed that people tend to avoid the double-dash long versions of
> flags, but I don't know if there is a technical reason other than less
> typing. In this case it avoids confusion in the -i/-I short flag.
>
> If there are no objections to "--mime", I'll patch r.in.srtm.
I'd suggest skipping the use of "file" altogether. It isn't a standard
utility on Windows.
I would assume that the filename ending in .zip is at least prima
facie evidence of the file actually being a ZIP file.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list