-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GML: should use srsDimension as global same to srsName? #6986
Comments
I am not sure how the CityGML standard should be interpreted but doesn't this mean that all geometries should have 3d vertices and the extent is meaningful?
|
Thank you for very important comment. That sentences seems to be in https://docs.ogc.org/is/20-010/20-010.html#toc23 .
For me this could be read as
2 should be discussed in other issue, I've posted. |
dealt in #6998 |
Thesedays I've tried to use CityGML formatted data with GDAL/OGR and found some interesting issues.
srsDimension
is not always defined in a level of each features. Sometimes defined once onenvelope
.ogr
respectssrsDimension
which is defined only in a level of each feature. One inenvelope
seems to be not used.srsName
is also defined once inenvelope
andogr
uses this as global SRS.By these, when parsing GML which has 3d-vertices but
srsDimension
is not defined in each feature,ogr
sometimes reads 3D-vertex as 2D incorrectly.In above testdata, features are
Solid
type and this type seems to be treated as 3D (code). Therefore, parsing looks working well on autotest but this issue is not tested.sampledata: 533946_urf_6668_yoto_op.gml.zip from https://www.geospatial.jp/ckan/dataset/plateau-tokyo23ku, CC-BY 4.0
discussion
srsDimension
in envelop as global same tosrsName
?The text was updated successfully, but these errors were encountered: