@@ -948,7 +948,7 @@ def testPolygonGenerationTerrain(self):
948
948
self .round_dict (results .distanceToHeightMap (), 1 ),
949
949
{
950
950
1041.8 : 55.3 ,
951
- 1042.4 : 55.2 ,
951
+ 1042.4 : 55.3 ,
952
952
1049.5 : 55.2 ,
953
953
1070.2 : 55.2 ,
954
954
1073.1 : 55.2 ,
@@ -1012,7 +1012,7 @@ def testPolygonGenerationRelative(self):
1012
1012
self .round_dict (results .distanceToHeightMap (), 1 ),
1013
1013
{
1014
1014
1041.8 : 60.3 ,
1015
- 1042.4 : 60.2 ,
1015
+ 1042.4 : 60.3 ,
1016
1016
1049.5 : 60.2 ,
1017
1017
1070.2 : 60.2 ,
1018
1018
1073.1 : 60.2 ,
@@ -1023,7 +1023,7 @@ def testPolygonGenerationRelative(self):
1023
1023
1186.8 : 59.3 ,
1024
1024
1189.8 : 59.2 ,
1025
1025
1192.7 : 59.2 ,
1026
- 1199.2 : 59.2 ,
1026
+ 1199.2 : 59.3 ,
1027
1027
1450.0 : 65.5 ,
1028
1028
1455.6 : 65.5 ,
1029
1029
1458.1 : 65.5 ,
@@ -1035,10 +1035,10 @@ def testPolygonGenerationRelative(self):
1035
1035
self .assertCountEqual (
1036
1036
[g .asWkt (1 ) for g in results .asGeometries ()],
1037
1037
[
1038
- "MultiLineString Z ((-346718.7 6632419.8 60.3, -346712 6632417.4 60.3),(-346719.3 6632420 60.3, -346718.7 6632419.8 60.2),(-346689.7 6632409.5 60.3, -346688.2 6632409 60.3),(-346692.5 6632410.5 60.3, -346689.7 6632409.5 60.3))" ,
1038
+ "MultiLineString Z ((-346384.8 6632219 65.5, -346383.5 6632216.9 65.5),(-346387.6 6632223.9 65.5, -346384.8 6632219 65.5))" ,
1039
+ "MultiLineString Z ((-346582.6 6632371.7 59.3, -346579.7 6632370.7 59.3),(-346579.7 6632370.7 59.3, -346577 6632369.7 59.3, -346570.8 6632367.9 59.3))" ,
1039
1040
"MultiLineString Z ((-346684.3 6632407.6 62, -346679.6 6632406 62),(-346679.6 6632406 62, -346672.8 6632403.6 62))" ,
1040
- "MultiLineString Z ((-346582.6 6632371.7 59.3, -346579.7 6632370.7 59.3),(-346579.7 6632370.7 59.3, -346577 6632369.7 59.2, -346570.8 6632367.9 59.3))" ,
1041
- "MultiLineString Z ((-346387.6 6632223.9 65.5, -346384.8 6632219 65.5),(-346384.8 6632219 65.5, -346383.5 6632216.9 65.5))" ,
1041
+ "MultiLineString Z ((-346719.3 6632420 60.3, -346718.7 6632419.8 60.3),(-346689.7 6632409.5 60.3, -346688.2 6632409 60.3),(-346692.5 6632410.5 60.3, -346689.7 6632409.5 60.3),(-346718.7 6632419.8 60.3, -346712 6632417.4 60.3))" ,
1042
1042
],
1043
1043
)
1044
1044
@@ -1088,7 +1088,7 @@ def testPolygonGenerationRelativeExtrusion(self):
1088
1088
self .round_dict (results .distanceToHeightMap (), 1 ),
1089
1089
{
1090
1090
1041.8 : 60.3 ,
1091
- 1042.4 : 60.2 ,
1091
+ 1042.4 : 60.3 ,
1092
1092
1049.5 : 60.2 ,
1093
1093
1070.2 : 60.2 ,
1094
1094
1073.1 : 60.2 ,
@@ -1099,7 +1099,7 @@ def testPolygonGenerationRelativeExtrusion(self):
1099
1099
1186.8 : 59.3 ,
1100
1100
1189.8 : 59.2 ,
1101
1101
1192.7 : 59.2 ,
1102
- 1199.2 : 59.2 ,
1102
+ 1199.2 : 59.3 ,
1103
1103
1450.0 : 65.5 ,
1104
1104
1455.6 : 65.5 ,
1105
1105
1458.1 : 65.5 ,
@@ -1111,10 +1111,10 @@ def testPolygonGenerationRelativeExtrusion(self):
1111
1111
self .assertCountEqual (
1112
1112
[g .asWkt (1 ) for g in results .asGeometries ()],
1113
1113
[
1114
- "MultiPolygon Z (((-346718.7 6632419.8 60.3, -346712 6632417.4 60.3, -346712 6632417.4 67.3, -346718.7 6632419.8 67.3, -346718.7 6632419.8 60.3)),((-346719.3 6632420 60.3, -346718.7 6632419.8 60.2, -346718.7 6632419.8 67.3, -346719.3 6632420 67.3, -346719.3 6632420 60.3)),((-346689.7 6632409.5 60.3, -346688.2 6632409 60.3, -346688.2 6632409 67.3, -346689.7 6632409.5 67.3, -346689.7 6632409.5 60.3)),((-346692.5 6632410.5 60.3, -346689.7 6632409.5 60.3, -346689.7 6632409.5 67.3, -346692.5 6632410.5 67.3, -346692.5 6632410.5 60.3)))" ,
1115
1114
"MultiPolygon Z (((-346684.3 6632407.6 62, -346679.6 6632406 62, -346679.6 6632406 69, -346684.3 6632407.6 69, -346684.3 6632407.6 62)),((-346679.6 6632406 62, -346672.8 6632403.6 62, -346672.8 6632403.6 69, -346679.6 6632406 69, -346679.6 6632406 62)))" ,
1116
- "MultiPolygon Z (((-346582.6 6632371.7 59.3, -346579.7 6632370.7 59.3, -346579.7 6632370.7 66.3, -346582.6 6632371.7 66.3, -346582.6 6632371.7 59.3)),((-346579.7 6632370.7 59.3, -346577 6632369.7 59.2, -346570.8 6632367.9 59.3, -346570.8 6632367.9 66.3, -346577 6632369.7 66.3, -346579.7 6632370.7 66.3, -346579.7 6632370.7 59.3)))" ,
1117
- "MultiPolygon Z (((-346387.6 6632223.9 65.5, -346384.8 6632219 65.5, -346384.8 6632219 72.5, -346387.6 6632223.9 72.5, -346387.6 6632223.9 65.5)),((-346384.8 6632219 65.5, -346383.5 6632216.9 65.5, -346383.5 6632216.9 72.5, -346384.8 6632219 72.5, -346384.8 6632219 65.5)))" ,
1115
+ "MultiPolygon Z (((-346719.3 6632420 60.3, -346718.7 6632419.8 60.3, -346718.7 6632419.8 67.3, -346719.3 6632420 67.3, -346719.3 6632420 60.3)),((-346689.7 6632409.5 60.3, -346688.2 6632409 60.3, -346688.2 6632409 67.3, -346689.7 6632409.5 67.3, -346689.7 6632409.5 60.3)),((-346692.5 6632410.5 60.3, -346689.7 6632409.5 60.3, -346689.7 6632409.5 67.3, -346692.5 6632410.5 67.3, -346692.5 6632410.5 60.3)),((-346718.7 6632419.8 60.3, -346712 6632417.4 60.3, -346712 6632417.4 67.3, -346718.7 6632419.8 67.3, -346718.7 6632419.8 60.3)))" ,
1116
+ "MultiPolygon Z (((-346384.8 6632219 65.5, -346383.5 6632216.9 65.5, -346383.5 6632216.9 72.5, -346384.8 6632219 72.5, -346384.8 6632219 65.5)),((-346387.6 6632223.9 65.5, -346384.8 6632219 65.5, -346384.8 6632219 72.5, -346387.6 6632223.9 72.5, -346387.6 6632223.9 65.5)))" ,
1117
+ "MultiPolygon Z (((-346582.6 6632371.7 59.3, -346579.7 6632370.7 59.3, -346579.7 6632370.7 66.3, -346582.6 6632371.7 66.3, -346582.6 6632371.7 59.3)),((-346579.7 6632370.7 59.3, -346577 6632369.7 59.3, -346570.8 6632367.9 59.3, -346570.8 6632367.9 66.3, -346577 6632369.7 66.3, -346579.7 6632370.7 66.3, -346579.7 6632370.7 59.3)))" ,
1118
1118
],
1119
1119
)
1120
1120
@@ -1296,7 +1296,7 @@ def testDataDefinedExtrusionOffset(self):
1296
1296
self .assertCountEqual (
1297
1297
[g .asWkt (1 ) for g in results .asGeometries ()],
1298
1298
[
1299
- "MultiPolygon Z (((321906.5 129918.5 36, 321907.7 129918.8 36, 321907.7 129918.8 53, 321906.5 129918.5 53, 321906.5 129918.5 36)),(( 321902.8 129917.9 36, 321906.5 129918.5 36, 321906.5 129918.5 53, 321902.8 129917.9 53, 321902.8 129917.9 36)),((321917.9 129920.6 36, 321921 129921.1 36, 321921 129921.1 53, 321917.9 129920.6 53, 321917.9 129920.6 36)),((321912.4 129919.6 36, 321917.9 129920.6 36, 321917.9 129920.6 53, 321912.4 129919.6 53, 321912.4 129919.6 36)))" ,
1299
+ "MultiPolygon Z (((321902.8 129917.9 36, 321906.5 129918.5 36, 321906.5 129918.5 53, 321902.8 129917.9 53, 321902.8 129917.9 36)),((321917.9 129920.6 36, 321921 129921.1 36, 321921 129921.1 53, 321917.9 129920.6 53, 321917.9 129920.6 36)),((321912.4 129919.6 36, 321917.9 129920.6 36, 321917.9 129920.6 53, 321912.4 129919.6 53, 321912.4 129919.6 36)),((321906.5 129918.5 36, 321907.7 129918.8 36, 321907.7 129918.8 53, 321906.5 129918.5 53, 321906.5 129918.5 36)))" ,
1300
1300
"MultiPolygon Z (((321922.9 129921.5 37, 321927.8 129922.4 37, 321927.8 129922.4 54, 321922.9 129921.5 54, 321922.9 129921.5 37)),((321927.8 129922.4 37, 321929.5 129922.7 37, 321929.5 129922.7 54, 321927.8 129922.4 54, 321927.8 129922.4 37)))" ,
1301
1301
],
1302
1302
)
@@ -1319,8 +1319,8 @@ def testDataDefinedExtrusionOffset(self):
1319
1319
self .assertCountEqual (
1320
1320
[g .asWkt (1 ) for g in results .asGeometries ()],
1321
1321
[
1322
+ "MultiPolygon Z (((321902.8 129917.9 8, 321906.5 129918.5 8, 321906.5 129918.5 9, 321902.8 129917.9 9, 321902.8 129917.9 8)),((321917.9 129920.6 8, 321921 129921.1 8, 321921 129921.1 9, 321917.9 129920.6 9, 321917.9 129920.6 8)),((321912.4 129919.6 8, 321917.9 129920.6 8, 321917.9 129920.6 9, 321912.4 129919.6 9, 321912.4 129919.6 8)),((321906.5 129918.5 8, 321907.7 129918.8 8, 321907.7 129918.8 9, 321906.5 129918.5 9, 321906.5 129918.5 8)))" ,
1322
1323
"MultiPolygon Z (((321922.9 129921.5 4, 321927.8 129922.4 4, 321927.8 129922.4 6, 321922.9 129921.5 6, 321922.9 129921.5 4)),((321927.8 129922.4 4, 321929.5 129922.7 4, 321929.5 129922.7 6, 321927.8 129922.4 6, 321927.8 129922.4 4)))" ,
1323
- "MultiPolygon Z (((321906.5 129918.5 8, 321907.7 129918.8 8, 321907.7 129918.8 9, 321906.5 129918.5 9, 321906.5 129918.5 8)),((321902.8 129917.9 8, 321906.5 129918.5 8, 321906.5 129918.5 9, 321902.8 129917.9 9, 321902.8 129917.9 8)),((321917.9 129920.6 8, 321921 129921.1 8, 321921 129921.1 9, 321917.9 129920.6 9, 321917.9 129920.6 8)),((321912.4 129919.6 8, 321917.9 129920.6 8, 321917.9 129920.6 9, 321912.4 129919.6 9, 321912.4 129919.6 8)))" ,
1324
1324
],
1325
1325
)
1326
1326
@@ -1849,9 +1849,9 @@ def testIdentifyPolygons(self):
1849
1849
res [0 ].results (),
1850
1850
[
1851
1851
{
1852
- "delta" : 1.635491751097172 ,
1852
+ "delta" : 1.6354917510971725 ,
1853
1853
"distance" : 40.70584650527578 ,
1854
- "elevation" : 2.0000000000000093 ,
1854
+ "elevation" : 2.0000000000000084 ,
1855
1855
"id" : 2 ,
1856
1856
}
1857
1857
],
@@ -1866,9 +1866,9 @@ def testIdentifyPolygons(self):
1866
1866
res [0 ].results (),
1867
1867
[
1868
1868
{
1869
- "delta" : 0.9999999999968199 ,
1869
+ "delta" : 0.9999999999968203 ,
1870
1870
"distance" : 35.0 ,
1871
- "elevation" : 2.00000000000318 ,
1871
+ "elevation" : 2.0000000000031797 ,
1872
1872
"id" : 2 ,
1873
1873
}
1874
1874
],
@@ -1966,9 +1966,9 @@ def testIdentifyExtrudedPolygons(self):
1966
1966
res [0 ].results (),
1967
1967
[
1968
1968
{
1969
- "delta" : 1.635491751097172 ,
1969
+ "delta" : 1.6354917510971725 ,
1970
1970
"distance" : 40.70584650527578 ,
1971
- "elevation" : 2.0000000000000093 ,
1971
+ "elevation" : 2.0000000000000084 ,
1972
1972
"id" : 2 ,
1973
1973
}
1974
1974
],
0 commit comments