40
Create and Use INSPIRE Harmonised Geodata with HALE S. Franceschi 1 , A. Antonello 1 , T. Reitz 2 , S. Templer 3 1 HydroloGIS, Bozen, Italy, 2 Esri R&D Center Zurich, Switzerland, 3 Fraunhofer IGD, Darmstadt, Germany FOSS4G - Nottingham 19 th September 2013

Hale @FOSS4G2013

  • Upload
    silli

  • View
    527

  • Download
    5

Embed Size (px)

DESCRIPTION

HydroloGIS presentation of HALE application @FOSS4G2013 in Nottingham

Citation preview

Page 1: Hale @FOSS4G2013

Create and Use INSPIRE Harmonised Geodata with

HALE

S. Franceschi1, A. Antonello1, T. Reitz2, S. Templer31HydroloGIS, Bozen, Italy, 2Esri R&D Center Zurich, Switzerland, 3Fraunhofer IGD, Darmstadt,

Germany

FOSS4G - Nottingham 19th September 2013

Page 2: Hale @FOSS4G2013

HUMBOLDT Alignment Editor (HALE) is a tool to create mappings between different data models/schemes

Distributed under Open Source GNU LGPL licence.

INTRODUCTION TO HALE

Page 3: Hale @FOSS4G2013

Initially developed in the HUMBOLDT project

Work is continued in other research projects and in the data harmonisation panel

INTRODUCTION TO HALE

Page 4: Hale @FOSS4G2013

INTRODUCTION TO HALE

● HALE enables to transform and harmonise spatial data, with a focus on highly complex data sets

● HALE can be used for defining and evaluating conceptual schema mappings, to create logically and semantically consistent mappings, that makes mappings easier to understand and to maintain;

● HALE documents the schema transformation process and its impact on data quality

● HALE provides a unique declarative approach to making interactive schema mapping a less daunting task;

Page 5: Hale @FOSS4G2013

INTRODUCTION TO HALE

✔ HALE provides a rich, textual and graphical interface specifically adopted for GIS Experts;

Page 6: Hale @FOSS4G2013

INTRODUCTION TO HALE

✔ HALE provides a rich, textual and graphical interface specifically adopted for GIS Experts;

✔ HALE gives instant feedback about the progress of mapping data from one schema to another, enabling the understanding of the transformation process;

Page 7: Hale @FOSS4G2013

INTRODUCTION TO HALE

✔ direct transformation of sample dataset✔ visual feedbacks:

✔ completeness of mapping✔ geometry transformation

Page 8: Hale @FOSS4G2013

INTRODUCTION TO HALE

✔ on line validation step by step✔ comparison between source and target

data

Page 9: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

This use case shows a real example of mapping and transformation of the data of a regional plan of land use between the original (national) and the requested Insprire format.

Page 10: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

The plan is the PGUAP plan of the Province of Trento, approved in February 2006.

Available data:

shapefile of land use: two different updates of this layer are considered, one is the most recent one, approved with a regional decree of February 2013 and the other one was the previous one, approved in July 2011

shapefile of hydro-geomorphological risk maps: only the geometries of the last update

main official documentation

Page 11: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

COMPLETE TARGET SCHEMAgeometries of

Land Use

official plan

additional regulation which supplement the

zoning

links and reference for the available documentation

Page 12: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

Inspire requires to classify PLU data following the categories of the HILUCS classification (Hierarchical Inspire Land Use Classification).

PLU of the Province of Trento is classified with a local classification.

We did the reclassification of all the local (specific) land use classes to hilucs and stored this classification in a CSV file.

Page 13: Hale @FOSS4G2013

COD_TOT DESCRIPTION HILUCS CLASSIFICATION1 Aree Residenziali 5_1_PermanentResidentialUse

2 Aree Produttive 2_SecondaryProduction

3 Aree Ricreative 3_4_4_OpenAirRecreationalArea

4 Aree Agricole 1_1_1_CommercialAgriculturalProduction

5 Improduttivo 6_3_1_LandAreasNotInOtherEconomicUse

6 Campeggi 5_3_OtherResidentialUse

7 Depuratori e Discariche 4_3_3_WasteTreatment

8 Aree Sciabili 3_4_3_SportsInfrastructure

9 Aree a bosco, prato e prateria alpina

1_2_Forestry

101 Strade di importanza primaria 4_1_1_RoadTransport

102 Ferrovie 4_1_2_RailwayTransport

103 Strade di importanza secondaria

4_1_1_RoadTransport

EXAMPLE OF APPLICATION

Page 14: Hale @FOSS4G2013

Another preliminary operation that would help us during the mapping process is the creation of the CSV file containing the information about the documentation.

We need to store the basic information requested from the Insprire schema for OfficialDocumentation, in particular:

● an identifier● legislationCitation: reference to the document that

contains the text of the regulation● DocumentCitation: citation of scanned plans and

structural drawings being sometimes georeferenced and sometimes not (raster images, vector drawings or scanned text).

EXAMPLE OF APPLICATION

Page 15: Hale @FOSS4G2013

ID DOCUMENTCITATION LEGISLATIONCITATIONDoc_1 http://pguap.provincia.tn.it/GIS/tiff/

uso.htmlhttp://www.delibere.provincia.tn.it/CercaSpecifica.asp?Modalita=Delibere&anno=2013&numero=228

Doc_2 http://www.delibere.provincia.tn.it/CercaSpecifica.asp?Modalita=Delibere&anno=2011&numero=1551

Doc_3 http://pguap.provincia.tn.it/pdf/Piano/0IndiceGenerale.pdf

EXAMPLE OF APPLICATION

Page 16: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

PLU TN source schema

INSPIRE PLUtarget schema

XML schema

import source and target schema and sample data in HALE

Page 17: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

PLU TN source schema

INSPIRE PLUtarget schema

determinate the relevant target object types

Page 18: Hale @FOSS4G2013

All the mapping is based on the retype operation.

Retype function expresses that a source and a target type are semantically equal: for each instance of the source type, an instance of the target type is created.

Property relation only take effect in the context of a type relation: first a type relation must be defined, then property relations between the involved types can be specified.An other possible operation between types is the merge operation.This function merges multiple instances of the source type into one instance of the target type based on one or more matching properties.

EXAMPLE OF APPLICATION

Page 19: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

Page 20: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

Page 21: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

base mapping of types

Page 22: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

Properties mapping:

rename to just rename the propertie with the possibility to select structural rename to rename also the sub-properties

date extraction extract dates from local formats to required ones

create Inspire Identifier and generate inspireId

assigns predefined properties as for regulationNature (definedInLegislation)

generate unique ID for the id of the features

Page 23: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

rename properties with the possibility to use structural rename

Page 24: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

extract dates from local date formats

Page 25: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

creation of an Inspire Identifier

Page 26: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

generate sequential ID

Page 27: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

assign an Inspire predefined property

Page 28: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

reclassification using the CSV list between the shapefile attribute and hilucsLandUse

use groovy script to assign the validTo property to the features of the two different updates: the validTo property is defined as the date before the date of the new update, so it is based on the shapefile attribute field of validFrom of the land use and the syntax is like the following:

if(AGGIORN_6.equals("2011-07-18")) { return "2013-02-26"; } else { return null;}

Page 29: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

landuse classification

Page 30: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

landuse classification

Page 31: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

do operation with Groovy scripts

Page 32: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

final mapping of ZoningElement

Page 33: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

final mapping of SpatialPlan

Page 34: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

final mapping of OfficialDocumentation

Page 35: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

final mapping of SupplementaryRegulations

Page 36: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

and the transformed data

Page 37: Hale @FOSS4G2013

EXAMPLE OF APPLICATION

export data and alignment

Page 38: Hale @FOSS4G2013

HOW TO CONTRIBUTE TO HALE

You‘re a developer?

1.if you don’t have a GitHub account already, create one

2.go to the hale repository on GitHub & Fork it

3.clone the repo, set up your local development environment

4.perform any changes to your local copy, commit them and push them to your remote repository

5.send to the development team a pull request via GitHub to let us know that you have a change you’d like to contribute!

Page 39: Hale @FOSS4G2013

NEXT RELEASES

Release 2.6.1 – 30.09.2013● join Type Transformations● new INSPIRE/GML 3.3 Code List Support● JSON/GeoJSON Support

Release 2.7.0 – 15.12.2013●new CST Web Service●schema Editing●direct Database (PostGIS, ODBC/JDBC) support

Release 3.0.0 – Q2/2014New, focused, UI to improve work with complex contexts

Ongoing development ensured to ~2016

Page 40: Hale @FOSS4G2013

USEFUL LINKS

hale is Open Source Software and licensed using the LGPL 3.0.

Find out more about the data harmonisation panel:http://www.dhpanel.eu

HALE community site:http://www.esdi-community.eu/projects/show/hale

Public user and developer mailing list:[email protected]