[GRASS-dev] r.in.gdal problems

Markus GRASS markus.metz.giswork at googlemail.com
Wed Jun 10 16:21:05 EDT 2009


Laura Toma wrote:
> GRASS 6.4.0RC4
> (northamericaSRTM3):~/gis/DATA/SRTM/SRTM-V2-frome0srp01u.ecs.nasa.gov/SRTM3/north_america
> > g.region -p
> projection: 3 (Latitude-Longitude)
> zone:       0
> datum:      wgs84
> ellipsoid:  wgs84
> north:      61:00:01.5N
> south:      9:59:58.5N
> west:       179:59:58.5E
> east:       179:59:58.5W
> nsres:      0:00:03
> ewres:      0:00:00.000007
> rows:       61201
> cols:       432001
> cells:      26438893201
The EW extends and number of columns would give an ewres of 0:00:03 not
0:00:00.000007. Something went wrong with the region setting and ewres
calculation of the SRTM raster, see also your r.info output below. In
this case, hack also the corresponding file in cellhd? Not really a
solution though.
>
>
> GRASS 6.4.0RC4
> (northamericaSRTM3):~/gis/DATA/SRTM/SRTM-V2-frome0srp01u.ecs.nasa.gov/SRTM3/north_america
> > r.info na_mosaic
>  +----------------------------------------------------------------------------+
>
>  | Layer:    na_mosaic                      Date: Tue Jun  9 21:54:39
> 2009    |
>  | Mapset:   PERMANENT                      Login of Creator:
> ltoma           |
>  | Location:
> northamericaSRTM3                                                |
>  | DataBase:
> /mnt/research/gis/DATA/grassdb/                                  |
>  | Title:     ( na_mosaic
> )                                                   |
>  | Timestamp:
> none                                                            |
>  |----------------------------------------------------------------------------|
>
>  |                                                                           
> |
>  |   Type of Map:  raster               Number of Categories:
> 5573            |
>  |   Data Type:   
> CELL                                                       |
>  |   Rows:        
> 61201                                                      |
>  |   Columns:     
> 432001                                                     |
>  |   Total Cells: 
> 26438893201                                                |
>  |        Projection:
> Latitude-Longitude                                      |
>  |            N: 61:00:01.5N    S: 9:59:58.5N   Res:
> 0:00:03                  |
>  |            E: 179:59:58.5W    W: 179:59:58.5E   Res:
> 0:00:00.000007        |
>  |   Range of data:    min = -291  max =
> 5573                                 |
>  |                                                                           
> |
>  |   Data
> Description:                                                        |
>  |    generated by
> r.in.gdal                                                  |
>  |                                                                           
> |
>  |  
> Comments:                                                               
> |
>  |    r.in.gdal input="na_mosaic.vrt"
> output="na_mosaic"                      |
>  |                                                                           
> |
>  +----------------------------------------------------------------------------+
>
>
>
> -Laura_______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev



More information about the grass-dev mailing list