Skip to content

osgeo4inspire/geoserver-bsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INSPIRE ready Geoserver

INSPIRE ready geoserver (using app-schema from British Geological Survey)

Background

Example of INSPIRE and app-schema out of the box compose. The docker compose will build the structure referenced in the following report INSPIRE WFS cookbook:

The docker compose uses 2 slightly modified images obtained in these repositories:

Run build local

To run it is is best first to build the images:

docker-compose build --no-cache

And then to run it

docker-compose up

It is also possible to pull already build images (faster to start)

docker-compose -f docker-compose-production.yml up

Testing

Geoserver runs on port 8080 and has the default geoserver login (admin:geoserver). PLEASE DONT USE THIS IN PRODCUTION

Geoserver:

http://localhost:8080/geoserver
http://localhost:8080/geoserver/ows?service=wfs&version=2.0.0&request=GetCapabilities
http://localhost:8080/geoserver/wfs?request=GetFeature&service=wfs&version=2.0.0&typeName=gsmlgu:GeologicUnit&outputFormat=gml32&count=2

The last should produce a valid XML with information about a Geological Unit

Issues

PostGIS takes sometime to ingest the data, please run a iotop command on host to see the status, while inserting data the database will not respond

 postgres: 9.5/main: docker postgis 127.0.0.1(60956) INSERT

Versions

  • OS Debian Jesse
  • Geoserver 2.11.2
  • Postgresql 9.5
  • Postgis 2.2

Credits for geoserver

Credits for postgis