[GRASS-dev] GRASS - UDig projection definitions

Markus Neteler neteler at itc.it
Mon Feb 12 08:33:44 EST 2007


Hi Andrea,

please take a look at g.proj:

g.manual g.proj
or
http://grass.itc.it/grass63/manuals/html63_user/g.proj.html

The command:
 g.proj -w
exports to wkt and the
 wkt=
parameters reads from WKT.

cheers
Markus

On Mon, Feb 12, 2007 at 01:58:40PM +0100, Andrea Antonello wrote:
> Hi developers,
> I'm trying to make udig speak the same language as GRASS, but I found
> one main issue, I'm not able to resolve.
> 
> GRASS and UDig use different projection definitions.
> - in Grass the projection file is something like:
>       name: Transverse Mercator
>       proj: tmerc
>       datum: rome40
>       towgs84: -225.000,-65.000,9.000
>       a: 6378388
>       es: 0.0067226700
>       lat_0: 0
>       lon_0: 9
>       k: 0.999600
>       x_0: 1500000
>       y_0: 0
>       no_defs: defined
> 
> - whereas in UDig it is WKT:
>       PROJCS["Monte Mario / Italy zone 1",
>       GEOGCS["Monte Mario",
>       DATUM["Monte_Mario",
>       SPHEROID["International 1924", 6378388.0, 297.0,
> AUTHORITY["EPSG","7022"]],
>       AUTHORITY["EPSG","6265"]],
>       PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
>       UNIT["degree", 0.017453292519943295],
>       AXIS["Lon", EAST],
>       AXIS["Lat", NORTH],
>       AUTHORITY["EPSG","4265"]],
>       PROJECTION["Transverse_Mercator"],
>       PARAMETER["central_meridian", 9.0],
>       PARAMETER["latitude_of_origin", 0.0],
>       PARAMETER["scale_factor", 0.9996],
>       PARAMETER["false_easting", 1500000.0],
>       PARAMETER["false_northing", 0.0],
>       UNIT["m", 1.0],
>       AXIS["x", EAST],
>       AXIS["y", NORTH],
>       AUTHORITY["EPSG","3003"]]
> 
> I'm no projection wizard, has anyone an idea about how I can go from one
> to the other and back in an easy way?
> 
> Thanks for any help,
> Cheers,
> Andrea
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

-- 
Markus Neteler  <neteler itc it>  http://mpa.itc.it/markus/
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list