Documentation of the Download Service for the NGI/IGN of Belgium

From Esdin

Jump to: navigation, search

Contents

Introduction

On this page the way a Download Service (WFS) for the National Geographical Institute (NGI) of Belgium was set up is described.

Data sources

Source data consisted of several ESRI shapefiles covering the HY and AU themes. In the source files the national CRS of Belgium (Belge_Lambert_2008) was used. ESDIN-standard mapping spreadsheets were provided by the NGI, specifying how the attributes in the shapefiles should be mapped to INSPIRE data elements.

Software used

For transformation: FME For the data store: PostgreSQL/PostGIS For the WFS: Deegree3 (a pre-production version)

Extensive use was made of the resources of the inspire-foss project. The inspire-foss project is a collaboration effort aiming at using Free and Open Source Software (FOSS) for content transformation and service creation for INSPIRE.

Steps

These where the steps followed for setting up the service:

  1. shapefiles were transformed to GML 3.1.1 and EPSG:4258 with FME. Note that the free ogr2ogr product might also have been used, but ogr2ogr can only transform to GML 2 and does not reproject correctly to EPSG:4258 (coordinate order is wrong).
  2. XLS transformation scripts were created to transform GML 3.1.1 documents INSPIRE GML 3.2.1 documents, using base:SpatialDataSet as the feature container. In this steps the mapping tables were interpreted. The XSLT files are available from the inspire-foss repository.
  3. Java SDK 1.6 was installed.
  4. Tomcat 6 was installed and configured to use Java SDK 1.6.
  5. A new PostGIS database was created.
  6. The database was initialized for Deegree blob storage (run create_postgis_tables.sql).
  7. The Deegree3 war file was deployed in Tomcat.
  8. The Deegree3 loader was used to load GML 3.2.1 files in the database (using WFS-T should be possible in practice but did not work yet).
Personal tools