The two point locations appear incorrectly mapped to PROJ4 parameters:
else if( EQUAL(pszProjection,
SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN) )
{
sprintf( szProj4+strlen(szProj4),
"+proj=omerc +lat_0=%.16g"
" +lon_1=%.16g +lat_1=%.16g +lon_2=%.16g +lat_2=%.16g"
" +k=%.16g +x_0=%.16g +y_0=%.16g ",
GetNormProjParm(SRS_PP_LATITUDE_OF_ORIGIN,0.0),
GetNormProjParm(SRS_PP_LATITUDE_OF_POINT_1,0.0),
GetNormProjParm(SRS_PP_LONGITUDE_OF_POINT_1,0.0),
GetNormProjParm(SRS_PP_LATITUDE_OF_POINT_2,0.0),
GetNormProjParm(SRS_PP_LONGITUDE_OF_POINT_2,0.0),
GetNormProjParm(SRS_PP_SCALE_FACTOR,1.0),
GetNormProjParm(SRS_PP_FALSE_EASTING,0.0),
GetNormProjParm(SRS_PP_FALSE_NORTHING,0.0) );
}
terryl850,
At first glance, it appears that the order is wrong. I tried to test using EPSG 54025:
It looks like we may have a parsing issue as well. When I sort out the parsing, I'll make your fix and add a test.