Skip to content

This project is an implementation of a web application that uses a web map service (WMS). The WMS provides a service to query a Postgis (psql extension) database. Currently is uses Apache2 to provide the service over the localhost.

Notifications You must be signed in to change notification settings

woodRock/solid-waffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Solid Waffle

Aim

Use Postgis to store a Shapefile. Then create a Mapfile with WMS and WFS capabilities to be rendered in a web application.

Map

leaflet map

Method

  1. get some datasets from LINZ (raster as image with world file & vector as shapefile)
  2. load shapefile into Postgis with shp2pgsql - so you need to create a new Postgres database & install Postgis first
  3. connect to the DB with QGIS & open the image & table to check they work
  4. create a mapfile for mapserver to provide a WMS feed for the image & WFS feed for the coastline
  5. see if you can successfully connect to the web service & get a capabilities document using a browser
  6. connect to these with QGIS & check that the web services look the same as the direct connections
  7. set up a web page with leaflet that connects to these web services & displays the layers on a web map - with a standard Leaflet base map as a context layer if you like.

Explanation

The README.md in each folder goes into detail about the process required for each step.

About

This project is an implementation of a web application that uses a web map service (WMS). The WMS provides a service to query a Postgis (psql extension) database. Currently is uses Apache2 to provide the service over the localhost.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published