New Geometry Exporter Plugin for QGIS

I’ve just released the new experimental plugin Geometry Exporter for QGIS. The plugin displays the geometry of a selected feature as text. Thanks to GDAL, the following formats are currently supported: WKT, EWKT, GML2, GML3, GeoJSON. Also on-the-fly conversion (e. g. Envelope, Centroid, ConvexHull, Boundary) and transformation (changing Coordinate Reference System) are supported.

qgis-geometry-exporter-plugin

 

WFS 2.0 Client Plugin 0.9.6 released

I’m happy to announce the release of WFS 2.0 Client Plugin 0.9.6. The plugin can now easily be called from the QGIS python environment with a custom WFS onlineresource. Feel free to integrate it in your solution.

wfsclient-called-from-python-console

 

Example code

if not 'wfsclient' in qgis.utils.plugins:
    print('WFS 2.0 Client Plugin not installed!')
else:
    wfsclient = qgis.utils.plugins['wfsclient']
    wfsclient.runClient(url='http://geoserv.weichand.de:8080/geoserver/wfs')

 

Additionally, the following fixes and enhancements have been implemented:

  • Fixed: Wrong URL encoding of storedquery request parameter
  • Enhancement: Save custom FeatureLimit

WCS 2.0 Testserver – Digitales Geländemodell 50m

Der Web Coverage Service Testserver http://geoserv.weichand.de/cgi-bin/test-dgm50.cgi stellt das bayerische Open Data Geländemodell (50m Gitterweite) bereit und basiert auf UMN Mapserver 7.0 beta 2 in Verbindung mit GDAL 1.11.2.

Datenquelle: Bayerische Vermessungsverwaltung – www.geodaten.bayern.de

wcs-dgm50-qgis Weiterlesen

QGIS WFS 2.0 Client Plugin – Improvements

Since version 0.9.3 the WFS 2.0 Client has been able to load multiple feature types from one GML file. For instance this is the case if a complex application schema is used. Also nonspatial feature types will be loaded.

wfs-20-multiple-featuretypes

Another limitation has been the support of feature types using multiple geometry types. Now the WFS 2.0 Client will split them into separate layers (Point, Line, Polygon).

wfs-20-multiple-geometrytypes

In version 0.9.2 the support of complex application schema has been improved. You can use the OGR „Resolve elements (xlink:href)“ capabilities which integrate the properties of the referenced features into the origin feature. The internal data structure will be still „flat“. You can enable this feature in the new Config menu. „Resolve elements“ is only available if Resolvedepth > 0.

qgis-wfs20-config

For example GML references are used in the INSPIRE data specification on Addresses. The following images show the result of the OGR element resolving. You can try this feature with the WFS 2.0 of the deegree INSPIRE Demo Workspace.

http://demo.deegree.org/inspire-workspace/services/wfs

Adresse ohne aufgelöste Referenzen

Feature type Address without resolved references.

Adresse mit aufgelösten Referenzen

Feature type Address with resolved references.

Please feel free to report your feedback and share your thoughts.

Komplexe Feature-Modelle mit dem QGIS WFS 2.0 Client Plugin

Um die Unterstützung von komplexen Feature-Modellen (z. B. INSPIRE) zu verbessern wurde das QGIS WFS 2.0 Client Plugin in Version 0.9.2 an die vorhandenen Fähigkeiten des OGR GML-Treiber angepasst. Die Unterstützung kann im Config-Menü aktiviert werden. Für die neue Plugin-Version werden QGIS >=2.4 und OGR/GDAL >=1.11.0 benötigt.

qgis-wfs20-config Weiterlesen

Aktualisierung von ISO-19139-Metadaten mit XMLStarlet

Gelegentlich sollen die in einem Metadateninformationssystem (GeoMIS) erfassten ISO-19139-Metadaten automatisch aktualisiert werden. Dies kann beispielsweise der Fall sein, wenn sich der Name eines Datenanbieters („Organisationsname“) ändert.

Diese Aufgabe kann einfach und kosteneffizient mit dem Open Source Kommandozeilenwerkzeug XMLStarlet gelöst werden. XMLStarlet ermöglicht die Abfrage, Aktualisierung und Validierung von XML-Dokumenten.

Weiterlesen

Lesen und Schreiben von Pre-defined Atom-Feeds mit Java-ROME

In den Technical Guidance zu INSPIRE-Downloaddiensten wird die Umsetzungsvariante Pre-defined Atom auf Grundlage von Atom-Feeds vorgestellt. Atom-Feeds inklusive GeoRSS-Erweiterung können von einer Vielzahl von Softwarelösungen gelesen und geschrieben werden. Problematisch erweist sich jedoch die INSPIRE-Erweiterung (Namespace: inspire_dls) für die Angabe des Datensatzidentifikators.

<inspire_dls:spatial_dataset_identifier_code>DEBY_1d4ab890-27e7-3ebb-95ba-2d2ab8071871</inspire_dls:spatial_dataset_identifier_code>
<inspire_dls:spatial_dataset_identifier_namespace>http://www.geodaten.bayern.de</inspire_dls:spatial_dataset_identifier_namespace>

 

Auf GitHub steht nun ein INSPIRE-Downloaddienst-Modul für die beliebte Java-Bibliothek ROME bereit. ROME ermöglicht das Lesen und Schreiben von Nachrichtenfeeds im von INSPIRE vorgesehenen Atom 1.0-Format.

Weiterlesen

WFS 2.0 Client für QGIS 2.0

­Das WFS 2.0 Client Plugin steht mit der Version 0.9.0 nun auch unter QGIS 2.0 zur Verfügung. Der Funktionsumfang entspricht dem der 0.8.4 Version für QGIS <= 1.8.

Das Plugin kann über
„Erweiterungen“ >
„Erweiterungen verwalten und installieren…“ >
„Mehr holen“ installiert werden.

WFS 2.0 client for QGIS 2.0
The WFS 2.0 client plugin is now available under QGIS 2.0. The 0.9.0 version for QGIS 2.0 is equal to the 0.8.4 version for QGIS <= 1.8.

wfs20_client_qgis20

MetadatenViewer für QGIS Plugins (INSPIRE Atom Client, WFS 2.0 Client)

Die Plugins WFS 2.0 Client und INSPIRE Atom Client wurden in ihrer neuesten Version um einen integrierten MetadatenViewer erweitert. Dieser ermöglicht die Betrachtung von Metadaten, die nach ISO 19115/19139 bereitgestellt werden. Die hierfür notwendige Kopplung der Daten-Metadaten ist in INSPIRE Downloaddiensten vorgesehen. Die Kopplung der Dienste-Metadaten wird momentan noch nicht berücksichtigt (INSPIRE Extension).

 

Web Feature Service 2.0 – Metadatenkopplung (Daten-Metadaten)

Für jeden FeatureType kann in den WFS 2.0 Capabilities ein Link [MetadataURL-Tag] zu einem ISO-konformen Metadatendokument angegeben werden (beispielsweise in Form eines GetRecordById CSW-Request). Die Metadaten beschreiben die für die Bereitstellung des FeatureTypes verwendeten Geodaten.

<FeatureType xmlns:bvv="http://www.geodaten.bayern.de">
	<Name>bvv:gmd_ex</Name>
	<Title>Gemeinden Bayern</Title>
	<Abstract>Verwaltungsgrenzen Gemeinden Bayern - Datenquelle: Bayerische Vermessungsverwaltung – www.geodaten.bayern.de</Abstract>
	<ows:Keywords>
		<ows:Keyword>gmd_ex</ows:Keyword>
	</ows:Keywords>
	<DefaultCRS>urn:ogc:def:crs:EPSG:31468</DefaultCRS>
	<ows:WGS84BoundingBox>
		<ows:LowerCorner>8.945107129404235 47.24846365993757</ows:LowerCorner>
		<ows:UpperCorner>13.908920087139435 50.57959360191361</ows:UpperCorner>
	</ows:WGS84BoundingBox>
    <MetadataURL xlink:href="http://geoportal.bayern.de/csw/bvv?REQUEST=GetRecordById&amp;VERSION=2.0.2&amp;service=CSW&amp;outputschema=csw:IsoRecord&amp;elementsetname=full&amp;ID=7cb975e9-1e1d-3d4b-b6ad-952ef09ec9e1"/>
</FeatureType>

 

Die neue Version 0.8.1 beta des WFS 2.0 Client erkennt die verknüpften Metadaten des ausgewählten FeatureTypes und ermöglicht die Darstellung im integrierten MetadatenViewer.

Weiterlesen

INSPIRE pre-defined Atom Download Service – Client for QGIS

INSPIRE presented a special Atom Profile (syndication format) as one way to implement pre-defined dataset download services (Technical Guidance for the implementation of INSPIRE Download Services 3.0). The following article will introduce the INSPIRE Atom Client Plugin for QGIS which is currently in development.

Features:

  • Supports INSPIRE Atom Feeds (INSPIRE pre-defined Atom) (TG Chapter 5)
  • Supports multiple CRS, language, format combinations (TG Chapter 5.2)
  • Supports Multi-Part-Downloads (TG Chapter 5.2.4)
  • English User-Interface
  • Based on the Technical Guidance for the implementation of INSPIRE Download Services 3.0

Weiterlesen