Presentation is loading. Please wait.

Presentation is loading. Please wait.

Armasuisse Bundesamt für Landestopografie swisstopo KOGIS INSPIRE & GML Swiss experiences 30.03.2015.

Similar presentations


Presentation on theme: "Armasuisse Bundesamt für Landestopografie swisstopo KOGIS INSPIRE & GML Swiss experiences 30.03.2015."— Presentation transcript:

1 armasuisse Bundesamt für Landestopografie swisstopo KOGIS INSPIRE & GML Swiss experiences 30.03.2015

2 2 Bundesamt für Landestopografie swisstopo KOGIS Content 1.Swiss Testcase: “INSPIRE Admininstrative Units” From Swiss “INTERLIS XML” to “INSPIRE GML” (XQuery Transformation) Deployment on WFS (which software is suitable?) Accessing data with GIS-Client (QGIS) 2.Some statistics on INSPIRE GML Schemas 3.Conclusions complex and voluminous documentation codelists are difficult to handle (XML mechanism do not work) constraint handling difficult Clients & Server only support subset of geometry types gml:AssociationAttributeGroup (xlink) not supported by most tools 4.UML Profiles? Can UML profiles help in handling some of the problems spatial types xLink (restricting) 30.03.2015

3 3 Bundesamt für Landestopografie swisstopo KOGIS SWISS ADMIN BOUBNDARIES Example 30.03.2015

4 4 Bundesamt für Landestopografie swisstopo KOGIS INSPIRE Administrative Units - Source Data - Swiss Dataset available for Administrative Units of Switzerland (‘swissboundaries3D’) data for country, cantons, regions, … Unique Identifier Geometry (Polygons with 3D points and straight internodials) Canton-Number (BFS) Canton-Name Part of the Canton (exclaves) Area Area of contained water-bodies Inhabitants INTERLIS datamodel available Specific INTERLIS XML encoding of data 30.03.2015

5 5 Bundesamt für Landestopografie swisstopo KOGIS 30.03.2015 INSPIRE Administrative Units - Source Data - FDA49AE0-D4C8-43EF-9275-0624413C5949 20121203 20121026 2012 10 2013 1 verbessert swisstopo 2012 3 TLM_GN_Leer Kanton 755108.7 142498.89 2816.24 … 1825 119658 0 Uri 18 CH 9576... Metadata Geometry Data Rec.

6 6 Bundesamt für Landestopografie swisstopo KOGIS TRANSFORMATION From Swiss INTERLIS XML Data to INSPIRE GML 30.03.2015

7 7 Bundesamt für Landestopografie swisstopo KOGIS INSPIRE Administrative Units - General Mapping - Aggregating Input Features The source model contains single administrative «areas» The target model combines those areas into units Transfer of ‘data load’ Name Canton Number Generate Geometries Source geometry in specific encoding 30.03.2015

8 8 Bundesamt für Landestopografie swisstopo KOGIS INSPIRE Administrative Units - Mapping Problems 1 - Geometry: gml:MultiSurfacePropertyType what ‘surfaceMembers’ to use? (choice: ‘Polygon’) InspireId localId = UUID what namespace to use? (choice: http://www.swisstopo.admin.ch/identifier) http://www.swisstopo.admin.ch/identifier Codelists (difficult to use correctly) National Level = ‘2nd Level’ (Information available in INSPIRE Registry - http://inspire.ec.europa.eu/codelist/AdministrativeHierarchyLevel) Country Code = ‘CH’ (according to ISO-3166 see ‘Interinstitutional Style Guide’ http://publications.europa.eu/code/en/en-370100.htm) What Codelist-URI for ISO-3166? (choice: ‘http://www.inspire- somewhat.eu/pleaseReplace’) 30.03.2015

9 9 Bundesamt für Landestopografie swisstopo KOGIS INSPIRE Administrative Units - Mapping Problems 2 - Several other required elements => lots of xsi:nil=‘true’ and nilReason=‘unknown’ Very complex structure for simple content e.g. Name (INSPIRE Geographical Name) Name value nested in: gn:spelling/gn:SpellingOfName/gn:text Fixed values for ‘language=de’ and ‘nameStatus=official’ All other required elements: xsi:nil=‘true’ and nilReason=‘unknown’ 30.03.2015

10 10 Bundesamt für Landestopografie swisstopo KOGIS SOFTWARE ISSUES Set-Up of a WFS 30.03.2015

11 11 Bundesamt für Landestopografie swisstopo KOGIS Software Issues - Setting up a deegree WFS - A test installation is set up with deegree services 3.3.7 transformed INSPIRE data in XML datastore (in memory) Configuration complex, but not problematic 30.03.2015

12 12 Bundesamt für Landestopografie swisstopo KOGIS Software Issues - Accessing Service with QGIS - QGIS 2.2.0 with WFS 2.0 extension 30.03.2015 No Access to codelists Structure is not reflected (flattened) Attributes not accessible (e.g. units, nill-resons)

13 13 Bundesamt für Landestopografie swisstopo KOGIS Software Issues Configuration of Systems is difficult GML attributes are not accessible with standard GIS (QGIS) e.g. nilReason, local, uom QGIS cannot handle xLink references (neither attributes nor geometry elements) QGIS cannot handle external codelists Data is flattened with problems hierarchy context is lost empty elements are not displayed multiple occurrence is badly displayed 30.03.2015

14 14 Bundesamt für Landestopografie swisstopo KOGIS Content 1.Swiss Testcase: “INSPIRE Admininstrative Boundaries” From Swiss “INTERLIS XML” to “INSPIRE GML” (XQuery Transformation) Deployment on WFS (which software is suitable?) Accessing data with GIS-Client (QGIS representation problems) 2.Some statistics on INSPIRE GML Schemas 3.Conclusions complex and voluminous documentation codelists are difficult to handle (XML mechanism do not work) constraint handling difficult Clients & Server only support subset of geometry types gml:AssociationAttributeGroup (xlink) not supported by most tools 4.UML Profiles? Can UML profiles help in handling some of the problems spatial types xLink (restricting) 30.03.2015

15 15 Bundesamt für Landestopografie swisstopo KOGIS HOW IS GML USED IN INSPIRE APPLICATION SCHEMAS Geometries, Measures, 30.03.2015

16 16 Bundesamt für Landestopografie swisstopo KOGIS Objects & Features Annex I gml:AbstractObject gml:AbstractFeature gml:AbstractFeatureType gml:AbstractMemberType Annex II & III gml:AbstractGML gml:AbstractGMLType gml:AbstractObject gml:AbstractFeature gml:AbstractFeatureType gml:AbstractMemberType 30.03.2015

17 17 Bundesamt für Landestopografie swisstopo KOGIS Geometric Annex I gml:GeometryPropertyType gml:GeometricPrimitivePropertyType gml:PointPropertyType gml:CurvePropertyType gml:SurfacePropertyType gml:MultiSurfacePropertyType Annex II & III gml:GeometryPropertyType gml:GeometricPrimitivePropertyType gml:PointPropertyType gml:CurvePropertyType gml:SurfacePropertyType gml:MultiCurvePropertyType gml:MultiSurfacePropertyType gml:DirectPositionType gml:PolygonPatch gml:SolidPropertyType 30.03.2015

18 18 Bundesamt für Landestopografie swisstopo KOGIS Measures Annex I gml:MeasureType gml:SpeedType gml:LengthType gml:AreaType Annex II & III gml:MeasureType gml:AngleType gml:AreaType gml:LengthType gml:VolumeType gml:UnitOfMeasureType 30.03.2015

19 19 Bundesamt für Landestopografie swisstopo KOGIS Special TIN & Coverages gml:Tin gmlcov:AbstractCoverage gmlcov:AbstractCoverageType gmlcov:AbstractDiscreteCoverageType gmlcov:RectifiedGridCoverage gmlcov:ReferenceableGridCoverage Time: gml:TimeInstantPropertyType gml:TimePeriodPropertyType gml:TimePositionType gml:TimePrimitivePropertyType gml:AbstractTimeObject 30.03.2015

20 20 Bundesamt für Landestopografie swisstopo KOGIS Special gml:AbstractMetadataPropertyType gml:AssociationAttributeGroup gml:OwnershipAttributeGroup gml:FeaturePropertyType gml:CodeType gml:NilReasonType gml:ReferenceType 30.03.2015

21 21 Bundesamt für Landestopografie swisstopo KOGIS Content 1.Swiss Testcase: “INSPIRE Admininstrative Boundaries” From Swiss “INTERLIS XML” to “INSPIRE GML” (XQuery Transformation) Deployment on WFS (which software is suitable?) Accessing data with GIS-Client (QGIS representation problems) 2.Some statistics on INSPIRE GML Schemas 3.Conclusions complex and voluminous documentation codelists are difficult to handle (XML mechanism do not work) constraint handling difficult Clients & Server only support subset of geometry types gml:AssociationAttributeGroup (xlink) not supported by most tools 4.UML Profiles? Can UML profiles help in handling some of the problems spatial types xLink (restricting) 30.03.2015

22 22 Bundesamt für Landestopografie swisstopo KOGIS QUESTIONS, PROBLEMS, OPEN ISSUES 30.03.2015

23 23 Bundesamt für Landestopografie swisstopo KOGIS Documentation Documentation is highly complex and voluminous Required Information for data generation: UML Model/Data Specification Document of theme and all related themes INSPIRE Registry GML Application Schemes GML Specification Documentation of referred Codelists => Hands-On, Samples, Best-Practises,.. would really help 30.03.2015

24 24 Bundesamt für Landestopografie swisstopo KOGIS External Codelists External Codes are difficult to handle Location for suggested Codelists are not visible in application schema or data specification No GIS tool supports external vocabularies XML validation is not respecting values => ??? 30.03.2015

25 25 Bundesamt für Landestopografie swisstopo KOGIS Constraints Several OCL (esp. on restricting generic data types) are not reflected in application schemas e.g. OCL Constraint on Cadastral Parcel resulting GML application schema 30.03.2015 /* geometry shall be GM_Surface or GM_MultiSurface */ inv: geometry.oclIsKindOf(GM_Surface) or geometry.oclIsKindOf(GM_MultiSurface) As much as possible, the geometry should be a single area.

26 26 Bundesamt für Landestopografie swisstopo KOGIS Constraints 2 Constraints only defined in OCL are difficult to find and understand Constraints cannot be validated for GML data => ??? => GML Profiles can partly reduce the available data types 30.03.2015

27 27 Bundesamt für Landestopografie swisstopo KOGIS Geometric Types GIS tools only support limited geometric types Point, Curve, Polygon (with LineStrings, Arcs) Multipoint, Multicurve, Multisurface (with Polygons) => GML Profile similar to Simple Features Profile 30.03.2015

28 28 Bundesamt für Landestopografie swisstopo KOGIS XLink (‘inLineOrByReference’) In INSPIRE most feature-attributes can be encoded ‘inline’ or ‘by-reference’ Common GIS (QGIS) mostly only support ‘inline’ encoding – xLink references can hardly be resolved => GML Profiles might restrict the usage of ‘by- reference’ attributes 30.03.2015

29 29 Bundesamt für Landestopografie swisstopo KOGIS Content 1.Swiss Testcase: “INSPIRE Admininstrative Boundaries” From Swiss “INTERLIS XML” to “INSPIRE GML” (XQuery Transformation) Deployment on WFS (which software is suitable?) Accessing data with GIS-Client (QGIS representation problems) 2.Some statistics on INSPIRE GML Schemas 3.Conclusions complex and voluminous documentation codelists are difficult to handle (XML mechanism do not work) constraint handling difficult Clients & Server only support subset of geometry types gml:AssociationAttributeGroup (xlink) not supported by most tools 4.UML Profiles? Can UML profiles help in handling some of the problems spatial types xLink (restricting) 30.03.2015

30 30 Bundesamt für Landestopografie swisstopo KOGIS GML PROFILES FOR INSPIRE? Reduce the complexity 30.03.2015

31 31 Bundesamt für Landestopografie swisstopo KOGIS GML Profiles for INSPIRE? Would GML profiles help(similar to GML Simple Features – but without ‘by-reference’ attributes)? Must we define more than one profile? For simple (e.g. administrative boundaries, protected sites, …) Specific themes (e.g. buildings, geology) 30.03.2015


Download ppt "Armasuisse Bundesamt für Landestopografie swisstopo KOGIS INSPIRE & GML Swiss experiences 30.03.2015."

Similar presentations


Ads by Google