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

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Moritz Lennert wrote: You feed the information to g.region with the 'raster' parameter. -p just means pretty print the region settings, it doesn't set the region. Mortitz, I know this. :-) If you want to set the region to the extension covered by multiple raster maps,

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

2021-09-25 Thread Moritz Lennert
Le 26 septembre 2021 00:50:13 GMT+02:00, Rich Shepard a écrit : >On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: > >> try the same steps as I've done (with adjusted paths) and _post the >> command and the command output_ here. >> - g.region -p >> - r.in.gdal input=columbia_2010_e_dtm_35.tif

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

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Moritz Lennert wrote: The startup script expects you to provide the full path to a mapset, so when you give it 'data/grassdata/rastertest' it assumes that 'rastertest' is the mapset, so 'grassdata' must be the location. It then checks for a PERMANENT mapset in that location

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

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: try the same steps as I've done (with adjusted paths) and _post the command and the command output_ here. - g.region -p - r.in.gdal input=columbia_2010_e_dtm_35.tif output=columbia_2010_e_dtm_35 - g.region -p -a raster=columbia_2010_e_dtm_35

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

2021-09-25 Thread Moritz Lennert
Le 25 septembre 2021 22:09:57 GMT+02:00, Rich Shepard a écrit : >On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: > >> try the same steps as I've done (with adjusted paths) and _post the command >> and the command output_ here. >> >> - grass78/grass80 -e -c columbia_2010_e_dtm_35.tif

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Carlos Henrique Grohmann de Carvalho
Hi Micha You're right. That's what happens when I try to answer quickly while keeping an eye on a 5-year old. Thanks. Carlos On Sat, Sep 25, 2021 at 3:32 PM Micha Silver wrote: > Hi Carlos: > > > On 9/25/21 9:16 PM, Carlos Henrique Grohmann de Carvalho wrote: > > Rich > > I believe

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

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: try the same steps as I've done (with adjusted paths) and _post the command and the command output_ here. - grass78/grass80 -e -c columbia_2010_e_dtm_35.tif \grassdata\rastertest - enter into the location just created Helmut, Problem at this

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

2021-09-25 Thread Helmut Kudrnovsky
>Am I >missing an option? nothing obvious. try the same steps as I've done (with adjusted paths) and _post the command and the command output_ here. - grass78/grass80 -e -c columbia_2010_e_dtm_35.tif \grassdata\rastertest - enter into the location just created - g.region -p - r.in.gdal

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

2021-09-25 Thread Micha Silver
I can echo Helmut: Freshly compiled 8.0-dev on Debian. I Imported the columbia dtm_35 tif and displayed the stats fine. On 9/25/21 9:42 PM, Helmut Kudrnovsky wrote: Then the issue is with 8.0.dev. just

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

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: just tested with 8.0.dev.; it works here the same as in 7.8 Helmut, Okay. Then why might it not be working for me with 8.0.dev? What's installed here is 8.0.dev (837d2136b) from yesterday morning. My configuration file: ./configure \

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

2021-09-25 Thread Helmut Kudrnovsky
>Then the issue is with 8.0.dev. just tested with 8.0.dev.; it works here the same as in 7.8 Helmut ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

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

2021-09-25 Thread Micha Silver
On 9/25/21 9:27 PM, Rich Shepard wrote: On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: Helmut/Micha, Then the issue is with 8.0.dev. Where can I download the 7.8.x source so I can build it here?

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

2021-09-25 Thread Helmut Kudrnovsky
>Where can I download the 7.8.x source so I can build it here? Following >links from the web site's download for gneric linux >https://grass.osgeo.org/grass78/binary/linux/snapshot/> I find a zip file >and an install shell script, but not the source that allows me to build it >on this

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Micha Silver
Hi Carlos: On 9/25/21 9:16 PM, Carlos Henrique Grohmann de Carvalho wrote: Rich I believe r.in.gdal will require the region to match each of the tifs you're importing. Try using r.import

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Carlos Henrique Grohmann de Carvalho wrote: I believe r.in.gdal will require the region to match each of the tifs you're importing. Try using r.import with the option extent set to "input", so it won't do region cropping Carlos, All .tif files in that directory have the

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

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: Helmut/Micha, Then the issue is with 8.0.dev. Where can I download the 7.8.x source so I can build it here? Following links from the web site's download for gneric linux I find a zip file and

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

2021-09-25 Thread Helmut Kudrnovsky
>>The data file sizes are all in the low 100Ks. I could upload an example to >>fileconvoy.com if that's helpful. > >could you make one of the data files available? > >Helmut for me it works Driver: GTiff/GeoTIFF Files: columbia_2010_e_dtm_35.tif Size is 10745, 15264 Coordinate System is:

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

2021-09-25 Thread Micha Silver
Here's what I got using GRASS 7.8 grass -e -c ~/Downloads/columbia_2010_e_dtm_35.tif /tmp/grassdata/columbia/PERMANENT grass /tmp/grassdata/columbia/PERMANENT/ Starting GRASS GIS... r.import

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Carlos Henrique Grohmann de Carvalho
Rich I believe r.in.gdal will require the region to match each of the tifs you're importing. Try using r.import with the option extent set to "input", so it won't do region cropping C On Sat, Sep 25, 2021 at 1:43 PM Rich Shepard wrote: > On Sat, 25 Sep 2021, Carlos Henrique Grohmann de

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Micha Silver
On 9/25/21 7:41 PM, Rich Shepard wrote: On Sat, 25 Sep 2021, Micha Silver wrote: Just to check: did you set the current region to the imported raster before running r.report? Micha,

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

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: The data file sizes are all in the low 100Ks. I could upload an example to fileconvoy.com if that's helpful. could you make one of the data files available? Heelmut, Certainly. It's avalable from

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

2021-09-25 Thread Helmut Kudrnovsky
>The data file sizes are all in the low 100Ks. I could upload an example to >fileconvoy.com if that's helpful. could you make one of the data files available? Heelmut ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Carlos Henrique Grohmann de Carvalho wrote: How is your region settings? Do they match the DEMs? Maybe importing with r.import will help, as it can override region settings Carlos, Initially it was the default region. But, I changed the region to a test map, dtm_35, and

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Rich Shepard
On Sat, 25 Sep 2021, Micha Silver wrote: Just to check: did you set the current region to the imported raster before running r.report? Micha, Just did set the region to dtm_35 and re-ran r.report: +-+ |

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Carlos Henrique Grohmann de Carvalho
How is your region settings? Do they match the DEMs? Maybe importing with r.import will help, as it can override region settings Carlos On Sat, 25 Sep 2021, 11:43 Rich Shepard, wrote: > I have 77 LiDAR topo files in .tif format. What gdalinfo tells me about a > representative file: > $

Re: [GRASS-user] Imported .tif maps lose all data

2021-09-25 Thread Micha Silver
Rich: Just to check: did you set the current region to the imported raster before running r.report? From the man page: Note that the statistics is always computed in the current geographical region. From the Y coordinates in the gdalinfo output and the region settings reported by

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

2021-09-25 Thread Rich Shepard
I have 77 LiDAR topo files in .tif format. What gdalinfo tells me about a representative file: $ gdalinfo columbia_2010_e_dtm_35.tif Driver: GTiff/GeoTIFF Files: columbia_2010_e_dtm_35.tif Size is 10745, 15264 Coordinate System is: