Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 773 Bytes

openlayers-function-click.md

File metadata and controls

15 lines (9 loc) · 773 Bytes

Dynamic Voronoi Example

Start by downloading the "fire hydrant data" as a shape file from the City of Vancouver open data site.

Load the data into your PostgreSQL/PostGIS database using shp2pgsql:

shp2pgsql -s 26910 -D -I water-hydrants.shp hydrants | psql postgisftw

Create the public.hydrants_delaunay() function in your database by loading the openlayer-function-click.sql file.

Restart your pg_tileserv or at least reload the front page to force a refresh of the catalogue information.

Load the openlayer-function-click.html file in your browser.