March 2018
Beginner to intermediate
584 pages
14h 31m
English
As we will be using the Voronoi calculations from the Calculating Voronoi Diagram recipe in Chapter 4, Working with Vector Data – Advanced Recipes, you should refer to that recipe to prepare yourself for the functions used in this recipe.
We will use a stream dataset found in this book's source package under the hydrology folder. To load it, use the following command:
shp2pgsql -s 3734 -d -i -I -W LATIN1 -g the_geom ebrr_polygon chp06.voronoi_hydro | psql -U me -d postgis_cookbook
The streams we create will look as shown in the following screenshot:
