postgis module for land subdivision
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
output
LICENSE
README.md
cut.sql
dump.sh
eval.sql
load.sql
note.org
run.sh
sample-anim.gif
sample.png
schema.sql

README.md

This is an algorithm for land subdivision under certain constraints. The goal is to cut a corner of a given area from a polygon. The corner that is cut is the one closest to a nearby road. The current version includes code to render the existing data in SVG format for development purposes. See this post for further details.

The implementation is expected to work on

  • PostgreSQL >= 9.4.7
  • PostGIS >= 2.2.2

You can find some test data for this in data/plan.dump.

Program descriptions:

Program Usage
schema.sql Creates tables to hold the data
load.sql Transfers some test data from OSM to the parcel and road table
cut.sql Runs the parcel splitting algorithm

alt tag