[Proj] How to build the correct paramater list for pj_init()
Richard Zinn
ricozinn at gmail.com
Mon Oct 29 11:57:45 PDT 2007
Hi, Sorry if this has been addressed before, I couldn't see any way to
search the archive.
I want to build the correct paramater list for proj based on this data:
PROJCS["NAD_1983_UTM_Zone_12N",GEOGCS["GCS_North_American_1983",
DATUM["D_North_American_1983",
SPHEROID["GRS_1980",6378137.0,298.257222101]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["False_Easting",500000.0],
PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",-111.0],
PARAMETER["Scale_Factor",0.9996],
PARAMETER["Latitude_Of_Origin",0.0],
UNIT["Meter",1.0]]
I've read the documentation, and since I'm just a newbie to cartography it
is all still a little unclear and I need to learn by example.
Is there any code out there (any language) I could see that takes this kind
of input and builds out the paramaters for prj_init()?
My guess is that it is something like this:
static char *params_in[] = {
"proj=tmerc",
"lat_0=0",
"lon_0=500000",
"units=m"
};
prj_init(4, params_in);
But that doesn't work :) And I'm sure it is pretty far off.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20071029/b395a7f7/attachment.html>
More information about the Proj
mailing list