summaryrefslogtreecommitdiff
blob: 0691c16c1b7e62ccbafb38ba08b84f3e080dd1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 3a572ff7e684668da62c794b37ccccbc169723de Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Wed, 26 Feb 2020 17:45:30 +0100
Subject: [PATCH] Fix build against >=GDAL-2.5.0

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 src/gt_wkt_srs.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/gt_wkt_srs.cpp b/src/gt_wkt_srs.cpp
index 9871aa0..099972d 100755
--- a/src/gt_wkt_srs.cpp
+++ b/src/gt_wkt_srs.cpp
@@ -493,7 +493,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
         {
             char	*pszWKT;
             oSRS.morphFromESRI();
-            oSRS.FixupOrdering();
             if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
                 return pszWKT;
         }
@@ -1094,8 +1093,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
 /* ==================================================================== */
     char	*pszWKT;
 
-    oSRS.FixupOrdering();
-
     if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
         return pszWKT;
     else
-- 
2.25.1