Geopunt website
Geopunt is the central portal for geographical data of the Flemish government. Beside an online viewer, a catalogue is available from where data can be downloaded. A lot of these data are free to download (e.g. orthophotos), other data is available depending on your user profile (e.g. soil map)
Download through the Geopunt4Qgis plugin
Geopunt recently developed a plugin for QGIS. After installation, you’ll find these icons added to your QGIS menu:
Whereas you can look up addresses, POI’s and road constructions, the possibility to search the Geopunt catalog from Qgis (last icon) is arguably the plugin’s best feature. From a pop-up window you can search all geopunt data. These data can be either added to your project directly as WMS of WFS, or can be downloaded. Whe you opt for download, you are redirected to the respective download page of geopunt or agiv. In the case of vector data, you should opt for shapefiles.
Legends for shapefiles
QGIS can manage shapefiles (.shp) very well, but not the ESRI legend files (.lyr of .avl) that usually come with them. The consequence is that the vector layer is loaded without the desired lay-out (all polygons have the same color and a black line border):
You will have to make the legend yourself through the Style menu in the dialogue window vector properties. Choose ‘categorized’ in case of a discrete variable and refer to the corresponding column in the dataset. Now click ‘classify’. All column values will have a different color assigned to them. Now you can manually change these colors. In the last QGIS release (2.6), the handy ‘color picker’ can be used for this purpose.
Subsequently, open an example of the map (e.g. a pdf) in a separate window, and sample the correct color for each of the categories by clicking on the example map. The soil map layer in QGIS now just looks like the original:
The legend can be saved through ‘save style’ in the layer properties window for all your future projects as well to share with other QGIS users. Choose QGIS Layer Style File (.qml). My .qml legends for the soil map and map of biological value (BWK2) of Flanders can be downloaded here. Hopefully Agiv will provide these legend files in the future through the Geopunt data portal!
Leave a comment
By any chance, would you have , or be willing to make, .qml files for the ‘gewestplan’ dataset?
No, I haven’t.
I really hope agiv will provide these in the future! For now, it would be great if we could share .qml files ourselves. If you have .qml files for agiv/geopunt data, I guess Richard could upload them to the zip folder linked in this article.
.qml files aren’t supported, sld’s can be created from lyr files (using geocat or arc2earth) and qgis can use these as well.
Maybe we can pitch this to AGIV.
Its an ogc standard, so that will be an extra argument.
Great idea! .sld should work. I wasn’t aware that this is the OGC standard. I have access to ArcGIS via university network (not locally installed), but installing arc2earth is not possible there. Is Geocat an ArcGIS plugin as well?
What is the best solution? I might ask my admin to install ArcGIS locally and one of these plugins. Yet, in an ideal world, AGIV would provide us with .sld files.
Yes, it’s a commercial plugin (for pay) for arcgis, just like arc2aerth. (https://www.geocat.net/bridge/)
I don’t know of any free tools that do this.
Geocat is a gold sponsor of osgeo.nl so it would be nice if you bought that one, if you intend to buy one.
waar moet ik de geopunt4QIS folder plaatsen nadat ik de plug in heb gedownload ? Ik werk met een mac, besturingssysteem Yosemite en QGIS Brighton 2.6
Dag Marleen,
Alles wat je moet doen is de plugin installeren via het QGIS menu: “Plugins” – “Manage and Install Plugins”.
Ik werk niet met Mac, maar volgens mij werkt dat net hetzelfde als onder Linux of Windows.
groeten,
Andreas
Beste Andreas,
zo simpel was het inderdaad. Bedankt !
Geachte heer/mevrouw,
In mijn printomgeving zie ik nu ineens een groot rood kruis verschijnen en ik krijg hem niet weg. Ik kan nu niet meer verder typen.
Groetjes,
Joey student Watermanagement