[Proj] grass problem with shp

Paul Kelly paul-grass at stjohnspoint.co.uk
Sat Aug 4 10:50:45 EDT 2007


On Sat, 4 Aug 2007, riad mazloum wrote:

> Hi,
> I'm using grass6.0 in a project an I have ESRI data,
>
> I have the projection info:
>
> PROJCS["PCS_Transverse_Mercator",
> GEOGCS["GCS_Clarke_1866",
> DATUM["D_Clarke_1866",
> SPHEROID["Clarke_1866",6378206.4,294.9786982]],
> PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],
> PROJECTION["Transverse_Mercator"],
> PARAMETER["False_Easting",500000],
> PARAMETER["False_Northing",0],
> PARAMETER["Central_Meridian",-171],
> PARAMETER["Scale_Factor",0.9996],
> PARAMETER["Latitude_Of_Origin",0],UNIT["Meter",1]]
>
> and i don't know how to create a location for this data

Save the above WKT co-ordinate system description to an ASCII file, then 
run the GRASS command:
g.proj -c location=newloc wkt=filename
where newloc is the name of the new location you wish to create and 
filename is the file you saved the co-ordinate system description to.

You could also try the -j command with g.proj to output the information in 
PROJ.4 format, if it was useful. Seeing this was a GRASS question I've 
given a GRASS answer. It doesn't really belong on the PROJ list...

Paul



More information about the Proj mailing list