[GRASS-user] exporting raster map to another projection

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Thu Aug 7 05:35:33 EDT 2008


On Thu, 2008-08-07 at 00:29 -0300, Milton Cezar Ribeiro wrote:
> Dear all, 
>  
> I have a a mapset on Lambert Azimuthal Equal Area projection, 
> and I would like to export my raster maps to another projection
> (Lat/Long - WSG84 datum). I need to export my maps to 
> ASC format. Need I to reproject my maps first or can I 
> change the projection during the export?
>  
> By the way, I am running native wingrass 6.3.0 under windows/XP.
>  
> Cheers
>  
> miltinho astronauta
> brazil
>  
>  |
> |
>  |   Type of Map:  raster               Number of Categories: 65535
> |
>  |   Data Type:    CELL
> |
>  |   Rows:         11882
> |
>  |   Columns:      9341
> |
>  |   Total Cells:  110989762
> |
>  |        Projection: Lambert Azimuthal Equal Area
> |
>  |            N:    6443500    S:   -5438500   Res:  1000
> |
>  |            E:    4985500    W:   -4355500   Res:  1000
> |
>  |   Range of data:    min = 0  max = 65535
> |
>  |
> |
>  |   Data Description:
> |
>  |    generated by r.in.bin
> |
>  |                                
> _______________________________________________

Hi!

-Using exclusively GRASS modules I think you must (1) reproject in
another location (with r.proj) and (2) export (with r.out.*). Pay
attention to the current region settings (check/set extent and
resolution with g.region).

-Using gdal utilities you might be able to reproject and export in one
step [1]

Kind regards, Nikos

[1]
http://gfoss.blogspot.com/2008/06/gdal-raster-data-tips-and-tricks.html



More information about the grass-user mailing list