[GRASSLIST:8496] Re: EPSG: Basic question...

Hamish hamish_nospam at yahoo.com
Wed Oct 5 02:11:17 EDT 2005


> I usually set my locations on GRASS my hand (step-by-step).
> 
> But this week I was around with GRASS Newsletter #3 doing the
> SRTM tutorial. And in one step the tutorial uses EPSG code to
> set the GRASS location.
> 
> Well, I don't where I can get this EPSG codes for Brazil or some
> specific region. Someone can tell how to do this?

http://www.epsg.org/

has the full database, but for the PROJ.4 supplied version that GRASS 
uses hunt for a file called something like  /usr/share/proj/epsg  on 
your system. Open that in a text editor and search. A quick look turns 
up two codes, 29100 and 29101. Codes for WGS84 lat/lon etc are in the 
article text.

$ grep -A1 Brazil /usr/share/proj/epsg
# SAD69 / Brazil Polyconic
<29100> +proj=poly +lat_0=0 +lon_0=-54 +x_0=5000000 +y_0=10000000 +ellps=GRS67 +units=m +no_defs  <>
# SAD69 / Brazil Polyconic
<29101> +proj=poly +lat_0=0 +lon_0=-54 +x_0=5000000 +y_0=10000000 +ellps=aust_SA +units=m +no_defs  <>



Hamish




More information about the grass-user mailing list