[OSM-talk] Simplifying shapes
Robin Paulson
robin.paulson at gmail.com
Fri Apr 16 03:28:43 BST 2010
On 16 April 2010 14:05, Andrew Errington <a.errington at lancaster.ac.uk> wrote:
> I have some .osm files containing the outlines of areas. I want to
> simplify the outline to make the files smaller and to make drawing quicker
> (I have many of these shapes to use in an OpenLayers vector layer), but I
> want to keep the same general shape. Is there a tool to do this? One
> option I suppose is to convert osm to GPX and then use GPSbabel or
> something to smooth the paths then convert back to osm, but this seems
> cumbersome...
how about an xslt transform to delete every nth node in the way? where
n is a variable; test it with different values to see what looks best
for quality/size
More information about the talk
mailing list