What Is The Ideal Workflow To Map (British) Postcode Territories
OK, so I moved away from generating this polygon data directly in PostGIS and used qGis instead as it was better for my learning curve to see this happen visually, and the voronoi polygons contained far less errors and overlapping regions over the same sample than the various postgis algorithms I tested - here are the steps I took:
- Added a PostGIS layer for my point data, including sector attributes.
- Created Voronoi polygons in new layer based on the point data (Vector > Geometry Tools > Voronoi Polygons)
- Dissolved Voronoi layer into sectors layer based on attribute (Vector > Geoprocessing Tools > Dissolve)
- Created new outline layer as a mask to trim sectors that disappear to sea and use it as a clip mask to tidy sectors layer.
- Imported final shapefile into PostGIS direct from qGIS.