Easy duplicate finder 2.2.16/25/2023 Thankfully, Even Rouaoult was there to work on some of those issues and they have already been fixed and scheduled for the next release (so expect GDAL 2.3, maybe, to work with CityGML out-of-the-box). Indeed, when I first tried to load some city models I found it didn’t load all feature classes. CityGML is one of those schemas that really stretches some of the GML mechanisms to their limits, so we can anticipate some datasets not being so trivial to be parsed by the driver. While the driver works wonderfully for INSPIRE datasets (which was its original purpose), there are still some small details related more complex implementations of GML documents. So, for instance, we can simply analyze the containing feature layers by running: ogrinfo GMLAS:/path/to/file.gml Workaround for GDAL 2.2 and CityGML How does it work? Simply add the GMLAS: prefix before a filename, when using any GDAL tool or library, and the new driver will be put in charge. Therefore, features are grouped as layers (you could think of them as tables in an RDBMS) and they are linked to each. xsd files) and creates a relational representation of all features. The new driver has a really interesting approach: instead of trying to parse the whole document as one list of features, it analyzes the schema definitions (through. This, allows us to play around with CityGML files both through GDAL’s command-line tools, as well as through all supported languages of the library (for instance, you can use the Python wrapper to load some GML documents now). gml files through OGR, contrary to the previous pretty basic GML driver that didn’t really serve its purpose. This driver promises some real support for parsing. Recently, during a very interesting workshop at FOSS4G Europe 2017, I came across the new GMLAS driver introduced in the latest GDAL 2.2.0 release.
0 Comments
Leave a Reply. |