@@ -290,8 +290,10 @@ def testSetSize(self):
290
290
class MapSetWKTTestCase (MapTestCase ):
291
291
292
292
def testOGCWKT (self ):
293
- self .map .setWKTProjection ('''PROJCS["unnamed",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563]],
294
- PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]],
293
+ self .map .setWKTProjection ('''PROJCS["unnamed",GEOGCS["WGS 84",DATUM["WGS_1984",
294
+ SPHEROID["WGS 84",6378137,298.257223563]],
295
+ PRIMEM["Greenwich",0],
296
+ UNIT["Degree",0.0174532925199433]],
295
297
PROJECTION["Albers_Conic_Equal_Area"],
296
298
PARAMETER["standard_parallel_1", 65], PARAMETER["standard_parallel_2", 55],
297
299
PARAMETER["latitude_of_center", 0], PARAMETER["longitude_of_center", -153],
@@ -302,7 +304,7 @@ def testOGCWKT(self):
302
304
303
305
assert proj4 .find ('+proj=aea' ) != - 1
304
306
assert proj4 .find ('+datum=WGS84' ) != - 1
305
- assert ( mapscript .projectionObj (proj4 ) ).getUnits () != mapscript .MS_DD
307
+ assert mapscript .projectionObj (proj4 ).getUnits () != mapscript .MS_DD
306
308
307
309
def testESRIWKT (self ):
308
310
self .map .setWKTProjection ('ESRI::PROJCS["Pulkovo_1995_GK_Zone_2", GEOGCS["GCS_Pulkovo_1995", '
0 commit comments