Open heidivanparys opened 5 years ago
Indeed the issue is present for lines and polygons. Conversely, point geometries are correctly recognised as 'POINTZ' no matter the srsDimension attribute is specified or not. New test cases have been uploaded for 3d points, poly and lines in the canIuse repository. The test results have been updated accordingly.
Regarding the test for 3D coordinates in GML: I would like to suggest to split the test into two, so that the following 2 scenarios are checked:
See the following tests with ogrinfo:
Correct result:
LINESTRING (711530.29 6190097.44,711518.28 6190116.1)
Correct result:
LINESTRING Z (711530.29 6190097.44 31.24,711518.28 6190116.1 31.27)
Incorrect result!:
LINESTRING (711530.29 6190097.44,31.24 711518.28,6190116.1 31.27)
The expected result is
LINESTRING Z (711530.29 6190097.44 31.24,711518.28 6190116.1 31.27)
.