mysociety / mapit

A web service to map postcodes to administrative boundaries and more
Other
269 stars 88 forks source link

Shape simplifier #4

Closed dracos closed 13 years ago

dracos commented 13 years ago

Include the Douglas-Peucker algorithm server-side in some way to provide simpler shapefiles than the full Boundary-Line (which are too detailed for e.g. multiple use on Google Maps).

dracos commented 13 years ago

For some reason, I have only just noticed that GEOS in GeoDjango includes a simplify() function that implements this algorithm. So this would be quite simple for someone to add as an output in MaPit.

dracos commented 13 years ago

This has been added, thanks to initial patch from samsmith. Needs documenting.