2022-05-21 15:38:20 +00:00
|
|
|
diff -rupN --no-dereference libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/src/gt_wkt_srs.cpp libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/src/gt_wkt_srs.cpp
|
|
|
|
--- libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/src/gt_wkt_srs.cpp 2022-03-24 12:29:23.000000000 +0100
|
|
|
|
+++ libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/src/gt_wkt_srs.cpp 2022-05-21 00:48:53.489050727 +0200
|
2020-04-14 12:51:42 +00:00
|
|
|
@@ -299,7 +299,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIF
|
|
|
|
oSRS.SetFromUserInput(pszWKT);
|
|
|
|
oSRS.SetExtension( "PROJCS", "PROJ4",
|
|
|
|
"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" );
|
|
|
|
- oSRS.FixupOrdering();
|
|
|
|
CPLFree(pszWKT);
|
|
|
|
pszWKT = NULL;
|
|
|
|
oSRS.exportToWkt(&pszWKT);
|
|
|
|
@@ -505,7 +504,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIF
|
2020-03-03 16:42:46 +00:00
|
|
|
{
|
|
|
|
char *pszWKT;
|
|
|
|
oSRS.morphFromESRI();
|
|
|
|
- oSRS.FixupOrdering();
|
|
|
|
if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
|
|
|
|
return pszWKT;
|
|
|
|
}
|
2020-04-14 12:51:42 +00:00
|
|
|
@@ -1107,8 +1105,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIF
|
2020-03-03 16:42:46 +00:00
|
|
|
/* ==================================================================== */
|
|
|
|
char *pszWKT;
|
|
|
|
|
|
|
|
- oSRS.FixupOrdering();
|
|
|
|
-
|
|
|
|
if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
|
|
|
|
return pszWKT;
|
|
|
|
else
|