Skip to content

Use Shapely and Fiona to simplify polygon geometry following the Visvalingam method.

Notifications You must be signed in to change notification settings

ARSimmons/Shapely_Fiona_Visvalingam_Simplify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Table of Contents [Team Members](#team-members)

Project Summary

Team Members

Project Summary

Fiona (1.1+) and Shapely libraries used to simplify lines, multilines, polygons, and multipolygons by an area threshold.

The simplification algorithm is based off of M. Visvalingam and J.D. Whyatt's algorithm (1993). More details about the Visvalingam-Whyatt algorithm can be found here: http://www2.dcs.hull.ac.uk/CISRG/publications/DPs/DP10/DP10.html .

Key points to note:

- As of 4/29/14 there are NO TOPOLOGY preserving rules in place (!!user beware!!)
- Polygons which are smaller then the area threshold CAN BE deleted 
- Lines preserve their beginning and end point, thus lines CANNOT BE DELETED. 
  The beginning and end points of a line feature are static throughout the 
  simplification process.
- threshold units are determined by shapefile map units.  
- to run from command line: python simplify.py <input file> <output file> <threshold>

NOTE: THIS PROJECT IS STILL in progress as of 4/29/2014

About

Use Shapely and Fiona to simplify polygon geometry following the Visvalingam method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages