<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Hey,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">I am not sure that proj.4 is converting latitude and longitude into&nbsp;Hotine Oblique Mercator&nbsp;<span style="font-size: 12pt; ">coordinates correctly. &nbsp;(But I am a newbie at cartography and such, so please bear with me, I could be making a mistake.)</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">As a result of the 2010 census in the USA, many states have redrawn their congressional districts. &nbsp;Michigan is one, and the shapefiles for their new districts were created
 using the&nbsp;Hotine Oblique Mercator projection to get the whole state onto one map with a minimum of overall distortion. &nbsp;There is a map and explanation here:</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div><font face="arial, helvetica, sans-serif">http://www.michigan.gov/documents/DNR_Map_Proj_and_MI_Georef_Info_20889_7.pdf</font><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">One can download Michigan's new Congressional district shapefiles from here:</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div><font face="arial, helvetica, sans-serif">http://www.mcgi.state.mi.us/mgdl/?rel=thext&amp;action=thmname&amp;cid=9&amp;cat=Legislative+Districts+2010+US+Congress</font><br></div><div><font face="arial, helvetica,
 sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">The included prj file has this info:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><div>PROJCS["NAD83 / Michigan Oblique Mercator",</div><div>GEOGCS["NAD83",</div><div>&nbsp; &nbsp; DATUM["North_American_Datum_1983",</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>SPHEROID["GRS 1980",6378137,298.257222101,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp;AUTHORITY["EPSG","7019"]],</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>AUTHORITY["EPSG","6269"]],</div><div>&nbsp; &nbsp; PRIMEM["Greenwich",0,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>AUTHORITY["EPSG","8901"]],</div><div>&nbsp; &nbsp; UNIT["degree",0.01745329251994328,</div><div><span class="Apple-tab-span" style="white-space:pre">
        </span>AUTHORITY["EPSG","9122"]],</div><div>&nbsp; &nbsp; AUTHORITY["EPSG","4269"]],</div><div>UNIT["metre",1,</div><div>&nbsp; &nbsp; AUTHORITY["EPSG","9001"]],</div><div>PROJECTION["Hotine_Oblique_Mercator"],</div><div>PARAMETER["latitude_of_center",45.30916666666666],</div><div>PARAMETER["longitude_of_center",-86],</div><div>PARAMETER["azimuth",337.25556],</div><div>PARAMETER["rectified_grid_angle",337.25556],</div><div>PARAMETER["scale_factor",0.9996],</div><div>PARAMETER["false_easting",2546731.496],</div><div>PARAMETER["false_northing",-4354009.816],</div><div>AUTHORITY["EPSG","3078"],</div><div>AXIS["X",EAST],</div><div>AXIS["Y",NORTH]]</div><div><br></div><div>This page has info on the&nbsp;<span style="font-size: 16px; ">Hotine Oblique Mercator:</span></div><div><span style="font-size: 16px; "><br></span></div><div>http://www.remotesensing.org/geotiff/proj_list/hotine_oblique_mercator.html<br></div><div><br></div><div>Using that, I came up with
 this command to invoke proj:</div><div><br></div><div><div>proj +proj=omerc +lat_0=45.30916666666666 +lonc=-86 +alpha=337.25556 +k_0=0.9996 +x_0=2546731.496 +y_0=-4354009.816</div><div><br></div><div>I get a latitude and longitude for Ann Arbor Michigan of 42 15 N - 83 45 W&nbsp;here:</div><div><br></div><div>http://wiki.answers.com/Q/What_is_the_latitude_and_longitude_of_ann_arbor_mi<br></div><div><br></div><div>Plugging&nbsp;42d15N 83d45W into proj, I get&nbsp;-7945305.71 17799792.28. &nbsp;But the bounding box of the entire state's shape file is this:</div><div><br></div><div>161318.17712499946, 128066.04250000045, 791832.2827499993, 859206.8181249984<br></div><div><br></div><div>The values I get from proj are both out of bounds.&nbsp;</div><div><br></div><div>Am I doing something wrong?</div><div><br></div><div>Thanks,</div><div><br></div><div>Rick Graves</div><div><br></div></div></font></div></div></body></html>