[OSM-dev] Smooth roads.
Barry Crabtree
barry.crabtree at gmail.com
Wed Feb 28 21:39:56 GMT 2007
Hi
I've just updated lines2curves.pl, its a script that takes an osmarender svg
file and replaces the straight-line joined ways with bezier interpolated
ways (and areas).
I'd appreciate feedback on the resulting svg's and the program itself -
early on I had problems with some ways that caused it to crash, but it looks
to be stable now.
There's a page giving a couple of samples at:
http://wiki.openstreetmap.org/index.php/Osmarender/BezierCurves
The script is simple to run from the command line:
# ./lines2curves.pl original.svg > new.svg
The script requires Math::Vec
Cheers Baz.
--
Live as if you were to die tomorrow. Learn as if you were to live
forever. - Gandhi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070228/efa249f9/attachment.html>
More information about the dev
mailing list