@@ -41,5 +41,39 @@ import Proj
41
41
42
42
# Run it threaded over 100 replicates
43
43
GO. reproject ([multipolygon3857 for _ in 1 : 100 ]; target_crs= EPSG (4326 ), threaded= true , calc_extent= true )
44
+
45
+ utm32_wkt = """
46
+ PROJCS["WGS 84 / UTM zone 32N",
47
+ GEOGCS["WGS 84",
48
+ DATUM["WGS_1984",
49
+ SPHEROID["WGS 84",6378137,298.257223563,
50
+ AUTHORITY["EPSG","7030"]],
51
+ AUTHORITY["EPSG","6326"]],
52
+ PRIMEM["Greenwich",0,
53
+ AUTHORITY["EPSG","8901"]],
54
+ UNIT["degree",0.0174532925199433,
55
+ AUTHORITY["EPSG","9122"]],
56
+ AUTHORITY["EPSG","4326"]],
57
+ PROJECTION["Transverse_Mercator"],
58
+ PARAMETER["latitude_of_origin",0],
59
+ PARAMETER["central_meridian",9],
60
+ PARAMETER["scale_factor",0.9996],
61
+ PARAMETER["false_easting",500000],
62
+ PARAMETER["false_northing",0],
63
+ UNIT["metre",1,
64
+ AUTHORITY["EPSG","9001"]],
65
+ AXIS["Easting",EAST],
66
+ AXIS["Northing",NORTH],
67
+ AUTHORITY["EPSG","32632"]]
68
+ """
69
+
70
+ @test GO. reproject (multipolygon4326; source_crs= " epsg:4326" , target_crs= " +proj=utm +zone=32 +datum=WGS84" ) ==
71
+ GO. reproject (multipolygon4326; source_crs= EPSG (4326 ), target_crs= ProjString (" +proj=utm +zone=32 +datum=WGS84" )) ==
72
+ GO. reproject (multipolygon4326; target_crs= EPSG (32632 )) ==
73
+ GO. reproject (multipolygon4326; target_crs= " epsg:32632" ) ==
74
+ GO. reproject (multipolygon4326; target_crs= utm32_wkt)
75
+
76
+ GO. reproject (multipolygon4326; target_crs= ProjString (" +proj=moll" ))
77
+
44
78
end
45
79
0 commit comments