Experiences with publishing INSPIRE data for use in...

20
the Competitiveness and Innovation framework Programme (CIP) ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK Presentation to: Author: Date: INSPIRE Conference 2014 Clemens Portele 20140618 19 June, 2014 Experiences with publishing INSPIRE data for use in apps

Transcript of Experiences with publishing INSPIRE data for use in...

Page 1: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Presentation to: 

Author: 

Date:

INSPIRE Conference 2014

Clemens Portele

2014‐06‐18

19 June, 2014

Experiences with publishing INSPIRE data for use in apps

Page 2: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

© interactive instruments GmbH

INSPIRE is looking only at part of the dataflow

Spatial Data Set

ViewService

DownloadService

InternetInternet

Applications

INSPIRE DirectiveImplementing RulesTechnical Guidance

Lack of guidance and tool support

From INSPIRE Conference 2013: "How to use INSPIRE data?"

Page 3: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

© interactive instruments GmbH

Patterns for using INSPIRE data today

Spatial Data Set

Download Service

Applications ApplicationServer

ETL

Spatial Data Set

Direct AccessDownload Service

ImprovedView Service providing incremental

updates

InternetInternet

From INSPIRE Conference 2013: "How to use INSPIRE data?"

Page 4: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Applications:Use Reference Data and 

Other Data in any Application Environment

National Mapping &Cadastral Authorities

ELF Platform:Reference Data & 

Services

Reference data

NSDIs

Reference data

Reference data

Reference data

ArcGIS Online:A Data and Application Hub in 

the ELF Infrastructure

feature data, gridded data,map tiles

Other Data Providers

Web ServicesJavaScript APIsMobile SDKsMap Applications

Map ApplicationsValue‐added Web Services

elf.maps.arcgis.com

INSPIRENetwork Services

Page 5: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Patterns for using INSPIRE data on the web

Use a base map with authoritative reference data

likely needs multiple layouts for different applications

Prepare business data for use in a map‐based app: geo‐reference data

only needs thematic/feature identifiers and geometry from INSPIRE data

Use feature data directly in apps

needs easy integration, good API, good documentation, etc.

19 June, 2014

Page 6: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Developer expectations

Support the tools and platforms of my choice

JavaScript/HTML5, iOS, Android, Windows, OS X, Java, …ArcGIS, Google Maps Engine, Leaflet, …

Good documentation and sample code

An active developer community

Get results in minutes

Just pointing to INSPIRE / OGC documentation is not sufficient

19 June, 2014

Page 7: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Creating a simple JavaScript app

19 June, 2014

Page 8: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Prepare data for use in map‐based apps

Flatten structures: most platforms for map‐based apps only support tabular structures with a geometry field

Reduce content: the data becomes easier to understand and handle by developers that are not INSPIRE experts or familiar with spatial data

19 June, 2014

Page 9: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Example: geographical names

Reduce unlimited number of rich geographical names per feature

19 June, 2014

Page 10: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Example: geographical names

2 or 3 simple name attributes, optional language information for each name

19 June, 2014

in JSON:..."name.1" : "Brussel", "name.lang.1" : "nl", "name.2" : "Bruxelles", "name.lang.1" : "fr", ...

in JSON:..."name.1" : "Brussel", "name.lang.1" : "nl", "name.2" : "Bruxelles", "name.lang.1" : "fr", ...

Page 11: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Prepare data for use in map‐based apps

Make layers explicit: subtype the feature types in cases where a map‐based app shows different features from the same feature type depending on the scale

19 June, 2014

Page 12: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Prepare data for use in map‐based apps

Example: a layer / feature class per administrative or statistical unit level

19 June, 2014

Page 13: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

API support for using data in map‐based apps

The Feature Service in the ArcGIS REST API provides the capabilities of an INSPIRE direct access download service

Plus several capabilities that are important for using such services directly in map‐based apps and which go beyond a "download service", e.g.:

Support for HTTP caching the ArcGIS JavaScript API requests feature data in vector tiles consistent with the map tile hierarchy improves user experience when panning and zooming

Generalisation of geometries geometries are simplified to fit the scale of the current map scale lower memory footprint in the client and faster data transmission (example for accessing level 1 

administrative units in a constant area for different scales: 1:37M  247kB; 1:1.1M  1.3MB; 1:289k  4.1MB; no generalisation  10.4MB)

Scale and rendering hints feature layers provide a hint for which scale levels they are suitable and how the features should be 

portrayed on a map

19 June, 2014

Page 14: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

ELF in ArcGIS Onlinehttp://elf.maps.arcgis.com/

19 June, 2014

Page 15: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Sample layers from EuroGlobalMap (open data)

19 June, 2014

Page 16: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Administrative and statistical units & Base map

19 June, 2014

Page 17: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Population density

19 June, 2014

Page 18: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

the Competitiveness and Innovation framework Programme (CIP)ICT Policy Support Programme (PSP) Call 6 (Grant 325140) EUROPEAN LOCATION FRAMEWORK

Geo‐referencing population density data

Access statistical data from Eurostat website (SDMX or CSV)

Access ELF feature service "administrative and statistical units" (NUTS area geometries)

Create/update feature service with statistical data and polygon geometries

The cloud‐based workflow supports unattended/periodic execution

19 June, 2014

FME Cloud

1

in ArcGIS Online

2

in ArcGIS Online

3

1

2

3

Page 19: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

XtraProxy

• Alternative option for accessing INSPIRE Web Feature Services from ArcGIS clients, if caching data in ArcGIS Online is not an option or too much overhead

• Transparently publishes OGC Web Feature Services as GeoServices REST API feature services

http://www.interactive-instruments.de/en/xtraproxy/

Page 20: Experiences with publishing INSPIRE data for use in appsinspire.ec.europa.eu/events/conferences/inspire_2014/pdfs/18.06_5_16... · ArcGIS, Google Maps Engine, Leaflet, … Good documentation

XtraProxy

Automatic flattening of complex structures

Configurable to remove unneeded attributes

Structure maintained in HTML popups

Example:INSPIRE/ELF WFS for Administrative Units from the Czech Republic

Sample services: http://ii.maps.arcgis.com/