View on GitHub

caniuse

Which INSPIRE GML and GeoJSON features can I use in which software?

Documentation of GeoJSON Tests

This document describes the tests performed to assess usability of INSPIRE data in GeoJSON encoding, in support of MIG Action 2017.3.
This test suite focuses on the outcomes of the Action 2017.2 on alternative encodings for INSPIRE data, more specifically on the GeoJSON Encoding Rule for INSPIRE Addresses (https://github.com/INSPIRE-MIF/2017.2/blob/master/GeoJSON/ads/simple-addresses.md) and GeoJSON Encoding Rule for INSPIRE Environmental Monitoring Facilities (https://github.com/INSPIRE-MIF/2017.2/blob/master/GeoJSON/efs/simple-environmental-monitoring-facilities.md)

GeoJSON encoding support

Load data from file

Test purpose:

Assess if the client can load and display data from a .geojson file

Test IDs:

Test data:

EMF test data

Test expected outcome:

GeoJSON file loads - one point is displayed in the map - data structure is maintained with no information loss

Download data from WFS

Test purpose:

Assess if client can load and display geojson data from a WFS

Test IDs:

Test data:

WFS GetFeature request provided in the “https://github.com/INSPIRE-MIF/2017.2/issues/51”. Service provides address data for the Dutch Address key-register - Data structure does not conform to GeoJSON Encoding Rule for INSPIRE Addresses

Dutch Address test WFS

Test expected outcome:

data loads with no errors and point geometries are located in the Netherlands

Edit / Create features

Test purpose:

Assess if client can edit/create geojson features

Test IDs:

Test data:

EMF test data

Test expected outcome:

the GeoJSON file can be successfully edited and new features can be added

File Size

Test purpose:

Assess if the client handle big file sizes

Test IDs:

Test data:

Administrative Units data for Germany - link to data provided in https://github.com/INSPIRE-MIF/2017.2/issues/20 - Data structure does not conform to GeoJSON Encoding Rule for INSPIRE - file size 15353 KB

AU German test data

Test expected outcome:

116 features (Polygons) loaded and located in Germany

Geometry

Geometry Collections

Test purpose:

Assess if the software can load and display Geometry Collections

Test IDs:

Test data:

Spanish AD test data - geometry collection

Test expected outcome:

two point geometries are displayed for the same address

Property Types

These tests verify whether there are issues with certain property types e.g. can all array elements be displayed?

Boolean

Test purpose:

Assess if the software can read and display boolean values - assess if these be used in styling and further processing

Test IDs:

Test data:

Spanish AD test data

Test expected outcome:

the content of the ‘position_default’ property is shown

Arrays

Test purpose:

Assess if the software can read and display a list of simple properties - Check if there are there any limitations in the number of array elements and that these can be used in styling and further processing

Test IDs:

Test data:

EMF test data - time steps and observation results

Test expected outcome:

all the array elements (10) are shown for ‘timeStep’ and ‘result’ with no information loss - they can be styled and used for further processing

Feature types

Multiple feature types

Test purpose:

assess that, when more feature types are present in the same file, the software is able to load and display those feature types maintaining the data structures and without any loss of information

Test IDs:

Test data:

EMF test data - time steps and observation results

Test expected outcome:

two feature types (Environmental Monitoring Facility and PointTimeSeriesObservation) are loaded and displayed - their original structure is maintained without loss of information

Additional Properties in the Feature type

GeoJSON states that Features may have extra members and gives examples such as adding an id field.

Test purpose:

assess whether the software can read and display ‘id’ additional property

Test IDs:

Test data:

Spanish AD test data

Test expected outcome:

‘id’ property is displayed

Extensions

There are some defined extensions for GeoJSON. In this section we summarize whether the client software supports these.

CRS

Test purpose:

assess client behaviour when using the optional CRS definition

Test IDs:

Test data:

Spanish AD test data in EPSG:3857

Test expected outcome:

point geometry is placed in Darmstadt (DE)