[GRASS-user] imported .tif maps lose all data

Moritz Lennert mlennert at club.worldonline.be
Sun Sep 26 06:55:05 PDT 2021


If you set your region correctly before importing all the files, you could also use the -r flag of r.in.gdal, no ?

Might possibly be slower, though, then determining which files to import before running r.in.gdal as Micha suggests

Moritz

Le 26 septembre 2021 14:44:46 GMT+02:00, Rich Shepard <rshepard at appl-ecosys.com> a écrit :
>On Sun, 26 Sep 2021, Micha Silver wrote:
>
>> If that's the case, perhaps a quick `gdalinfo` loop over all 77 topography
>> maps in advance will help to find the relevant ones. You get the corner
>> coordinates in the gdalinfo output, so you'll be able to find those that
>> overlap the project region before importing to GRASS.
>
>Micha,
>
>That's an excellent idea. I was going to use r.info or r.report on all maps
>and build a text table of the corners, then find the minimum and maximum of
>each corner and build the region using those values.
>
>I have the lon-lat of the project area and can reproject that to State Plane
>then find the one or two maps that enclose that area.
>
>It's common for many of us who are closely focused on an issue to not see
>other possibilities. Outsiders see things we don't.
>
>Toda,
>
>Rich
>
>_______________________________________________
>grass-user mailing list
>grass-user at lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list