<div dir="ltr"><div><div><div>Hello,<br><br></div><div>Please forgive me if this is the wrong place for this question, but  I am trying to use Alaska State Plane Zone 1 with ogr2ogr, and can't seem to get it to project the data correctly.  I am probably doing something wrong, but can't seem to figure it out.   I am pretty sure that my projection string is correct, as the results from proj match what the NGS's online calculator gives. <br>

</div></div></div><div><br>When I use ogr2ogr like this:<br>ogr2ogr -t_srs "+proj=omerc +lat_0=57 
+lonc=-133.6666666666667 +alpha=-36.86989764583333 +k=0.9999 
+x_0=5000000 +y_0=-5000000 +no_uoff +datum=NAD83 +units=m +no_defs" 
akzone1.zhp point.84.shp<br><br></div><div>On a shapefile with a single point  - POINT (-131.811033901222117 55.409950489560302)<br><br></div><div>I get:<br></div><div>POINT (4988757.639998742379248 -5210867.590697132050991)<br>

<br></div><div>What I get from a shape file reprojected with ESRI products is:<br>POINT (936203.399999997578561 399658.200000001117587)<br></div><div><br></div><div>I believe the ESRI result is correct, as it matches the the NGA online converter.   <br>

<br>Proj also generates the correct value:<br>Jays-MacBook-Air-2:zone1 Jay$ proj +proj=omerc +lat_0=57 +lonc=-133.6666666666667 +alpha=-36.86989764583333 +k=0.9999 +x_0=5000000 +y_0=-5000000 +no_uoff +datum=NAD83 +units=m +no_defs<br>

-131.811033901222117 55.409950489560302<br>936203.40    399658.20<br><br><br></div><div>So, my question is what am I missing to make the results from ogr2ogr match up with proj?<br><br></div><div>My thanks,<br></div><div>

 -Jay Cable<br></div><div><br>Jays-MacBook-Air-2:zone1 Jay$ proj<br>Rel. 4.8.0, 6 March 2012<br>usage: proj [ -beEfiIlormsStTvVwW [args] ] [ +opts[=arg] ] [ files ]<br><br>Jays-MacBook-Air-2:zone1 Jay$ ogr2ogr --version<br>

GDAL 1.11.0, released 2014/04/16<br><br><br></div><div>Oh,  the online NGS converter I mentioned: <a href="http://www.ngs.noaa.gov/cgi-bin/spc_getpc.prl" target="_blank">http://www.ngs.noaa.gov/cgi-bin/spc_getpc.prl</a></div>

<div><br><pre> =======================================================
           Latitude           Longitude      Datum Zone
 INPUT =   N552435.8217       W1314839.7220  NAD83 5001
 =======================================================

  NORTH(Y)    EAST(X)     AREA  CONVERGENCE   SCALE
  METERS      METERS            DD MM SS.ss   
  ----------- ----------- ----  -----------   ----------
  399658.198  936203.401  AK 1   1 32 38.22   0.99990159</pre><br></div><div><br><br><br><br><br><br></div><div><br><br><br><div><div><div><br><br><br clear="all"><div>- Jay Cable - <a href="mailto:jay@alaska.edu">jay@alaska.edu</a> - (907)474-1856 -<br>

- Geographic Information Network of Alaska -  University of Alaska  -</div>
</div></div></div></div></div>