The current platform will remain available in read only mode in its current form and URL address until 31/01/2021, then its content will be archived and then published ina different URL which will be announced when it becomes available.
QGIS is using the GDAL/OGR GML driver to load the GML file. The GML driver has some „hidden“ config options like „convert GML attributes to fields“ or „resolve elements“ .
1. Install the Plugin "GML Loader" using the QGIS Plugin Manager. Be sure to enable ,,display Experimental Plugins" first. You will find the plugin under ,,Vector / GML Loader".
I tested the plugin and it works very good. I see that generates a copied 'resolved' gml, am I right?. The gfs file is applied to all gml files that you upload after the plugin installation or only opened with the plugin?
if you've chosen the "Resolve elements" option the '.resolved.gml' will be generated from OGR. This file contains the joined features (resolved references).
The selected .gfs will only be applied to the selected .gml file.
I've just released the 'Complex GML Info' plugin for QGIS with a completely different approach. This plugin is able to show the properties of the feature as hierarchical tree. Also the xlink:href references from the OrthoimageCoverage to the AggregatedMosaicElement will be solved.
Screenshot OI
Usage
Install the plugin using the QGIS Plugin Manager. Be sure to enable "display experimental plugins" first.
Load a GML file (no additional plugin or .gfs required).
Select on or more features using the default selection tool. They will be highlighted yellow.
I am testing some gml with INSPIRE structure data with qgis 2.12.3 and window7 downloaded by the munucipality basedate. No troubles importing it and using the plug in you regard above.
Now my goal is, editing the gml data, the possibility to export with the same INSPIRE cadastral parcel scheme.
INSPIRE Thematic Cluster Elevation, Orthoimagery, Reference systems, Geographical grids - Join this group to share your knowkledge, learn and collaborate in solving issues related to the Elevation, Orthoimagery, Reference systems and Geographical grids themes
- 3644 views
- 0 likes
Jürgen WEICHANDDear Julián,
thanks for sharing your example.
QGIS is using the GDAL/OGR GML driver to load the GML file. The GML driver has some „hidden“ config options like „convert GML attributes to fields“ or „resolve elements“ .
Please have a look at: http://www.gdal.org/drv_gml.html
Currently they can't easily be used from QGIS-GUI. For instance, I've integrated them into the WFS 2.0 Plugin.
You can also use a custom .gfs file to alter the name and types of the fields.
https://github.com/JuergenWeichand/inspire-ogr-testbed/blob/master/gfs/annex2/oi-OrthoimageCoverage.gfs
Please also have a look at the attached screenshot. This is your GML file loaded using the Python console with the previous explained features.
Best regards,
Jürgen
- 3537 views
- 0 likes
Jürgen WEICHANDI made a simple QGIS Plugin for further testing.
http://plugins.qgis.org/plugins/gmlloader/
1. Install the Plugin "GML Loader" using the QGIS Plugin Manager. Be sure to enable ,,display Experimental Plugins" first. You will find the plugin under ,,Vector / GML Loader".
2. Download the oi-OrthoimageCoverage.gfs file.
3. Open the .gfs and the .gml file.
Your comment is highly appreciated.
- 4120 views
- 0 likes
Julián DELGADODear Jürgen,
I tested the plugin and it works very good. I see that generates a copied 'resolved' gml, am I right?. The gfs file is applied to all gml files that you upload after the plugin installation or only opened with the plugin?
Best regards
Julián
- 4118 views
- 0 likes
Jürgen WEICHANDHi Julián,
if you've chosen the "Resolve elements" option the '.resolved.gml' will be generated from OGR. This file contains the joined features (resolved references).
The selected .gfs will only be applied to the selected .gml file.
Best regards
Jürgen
- 4230 views
- 0 likes
Julián DELGADOHi Jürgen, yes, you're right, many thanks.
Best regards
Julián
- 3613 views
- 0 likes
Jürgen WEICHANDHi Julián,
I've just released the 'Complex GML Info' plugin for QGIS with a completely different approach. This plugin is able to show the properties of the feature as hierarchical tree. Also the xlink:href references from the OrthoimageCoverage to the AggregatedMosaicElement will be solved.
Screenshot OI
Usage
Your comment is highly appreciated.
Best regards
Jürgen
- 3604 views
- 0 likes
Julián DELGADODear Jürgen, very good!
Now we can see in tree-shape the content of the GML. I think it will help too much for seeing INSPIRE data.
My best regards
Julián
- 2465 views
- 0 likes
Mario PALACIOSDear Jürgen, ambitious work you have done!
I am testing some gml with INSPIRE structure data with qgis 2.12.3 and window7 downloaded by the munucipality basedate. No troubles importing it and using the plug in you regard above.
Now my goal is, editing the gml data, the possibility to export with the same INSPIRE cadastral parcel scheme.
There is a tool that can be advantaged for it?
Greetings
Mario