<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Eric,</span></div><div><span><br></span></div><div><span><span style="font-family: 'times new roman', 'new york', times, serif; ">> Try +units=us-ft.</span><br style="font-family: 'times new roman', 'new york', times, serif; "></span></div><div><br></div><div>That fixes it!</div><div><br></div><div>Thanks,</div><div><br></div> <div style="font-size: 12pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Eric Miller <EMiller@dfg.ca.gov><br> <b><span style="font-weight: bold;">To:</span></b> PROJ.4 Projections Discussions <proj@lists.maptools.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, August
2, 2012 11:44 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Proj] request help with proj<br> </font> </div> <br>
Try +units=us-ft.<br><br>See, proj -lu<br>-- <br><br>Eric G. Miller<br>Team Lead<br>Natural Resources Management Applications<br>California Department of Fish and Game<br><br><br>>>> On 8/2/2012 at 6:44 AM, Rick Graves <<a ymailto="mailto:gravesricharde@yahoo.com" href="mailto:gravesricharde@yahoo.com">gravesricharde@yahoo.com</a>> wrote:<br>> Hey,<br>> <br>> My northing numbers are way off, so I must be doing something wrong.<br>> <br>> I want to convert lat/long to the following coordinate system:<br>> <br>> PROJCS["NAD_1983_StatePlane_New_Hampshire_FIPS_2800_Feet",<br>> GEOGCS["GCS_North_American_1983",<br>> DATUM["D_North_American_1983",<br>> SPHEROID["GRS_1980", 6378137.0, 298.257222101]],<br>> PRIMEM["Greenwich",0.0],<br>> UNIT["Degree",0.0174532925199433]],<br>> PROJECTION["Transverse_Mercator"],<br>> PARAMETER["False_Easting",984250.0],<br>> PARAMETER["False_Northing",0.0],<br>>
PARAMETER["Central_Meridian",-71.66666666666667],<br>> PARAMETER["Scale_Factor",0.9999666666666667],<br>> PARAMETER["Latitude_Of_Origin",42.5],<br>> UNIT["Foot_US",0.3048006096012192]]<br>> <br>> I am initializing proj as follows:<br>> <br>> proj +proj=tmerc +lat_0=42.5 +lon_0=-71.66666666666667 +k=0.9999666666666667 <br>> +x_0=984250.0 +y_0=0 +Units=Foot_US<br>> <br>> I have a spot in SE New Hampshire, along the southern border with <br>> Massachusetts, close to the SE corner:<br>> <br>> -71.32228851666666 42.69722980277778<br>> <br>> If you give 42.69722980277778, -71.32228851666666 to http://maps.google.com/, <br>> it will show you a spot in New Hampshire (but gives a closest address in <br>> Massachusetts just across the border, no big deal).<br>> <br>> From a shape file that I got from New Hampshire, the bounding box is as <br>> follows:<br>> <br>> 745473.8751627404,
72029.90624999696, 1242053.0000937672, 1023283.999999998<br>> <br>> (The coordinate system info above is from the prj file.)<br>> <br>> So for a spot near the southern border, I am expecting a northing close to <br>> 72030 (72,030), but I am getting 21966.03 (21,966).<br>> <br>> My easting numbers are closer but not right on.<br>> <br>> (I am using proj rel. 4.7.1, 23 September 2009, which came with ubuntu <br>> 12.04.)<br>> <br>> If someone can see what I am doing wrong, I would appreciate some guidance.<br>> <br>> Thanks,<br>> <br>> Rick Graves<br><br><br>_______________________________________________<br>Proj mailing list<br><a ymailto="mailto:Proj@lists.maptools.org" href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>http://lists.maptools.org/mailman/listinfo/proj<br><br><br> </div> </div> </div></body></html>