|
|
| GeoCommunity Mailing List |
| |
| Mailing List Archives |
| Subject: | Re: [gislist] simplify polygons to 4 points |
| Date: |
02/24/2005 08:30:01 AM |
| From: |
Bill Thoen |
|
|
On Wed, 23 Feb 2005, John Callahan wrote:
> This might sound strange but I am looking for a tool (extension, > algorithm, etc...) that simplifies multi-vertex (5+) polygons to only 4 > points. An example would be to imagine you had building footprints for > a town. And all you need is a rectangle to represent each building. It > would be nice if the rectangle had the same general orientation and size > as the building footprint.
If the polygons are relatively rectangle-shaped already, you might just run a line thinning process over them. Google for the Douglas-Peucker line thinning algorithm if you need to build a tool for this.
- Bill Thoen
_______________________________________________ gislist mailing list gislist@lists.geocomm.com http://lists.geocomm.com/mailman/listinfo/gislist
_________________________________ This list is brought to you by The GeoCommunity http://www.geocomm.com/
Get Access to the latest GIS & Geospatial Industry RFPs and bids http://www.geobids.com
|
|

Sponsored by:

For information regarding advertising rates Click Here!
|