[OSM-dev] Drawing ways with bezier curves rather than line segments
osm-list at deelkar.net
Thu Jan 25 10:12:03 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Jochen Topf schrieb:
> On Wed, Jan 24, 2007 at 10:53:59PM +0000, Barry Crabtree wrote:
>>>> I've been experimenting with using bezier curves to connect the
>>>> segments in a way rather than using straight line segments as it is
>>>> done at the moment. There is a before and after image at
> Generally the curved ones look much better, but there are problems: If
> you look at the Copenhagen map in the park on the top (Kongens Have).
> There are some footpaths that look like an X with a square in it, somewhat
> like a diamond shape. These paths look better with straight lines.
> So I think if we want to use beziers we'll have to have some hints in
> the data telling the renderer whether its ok to use them.
I think the angles which decide what is a sharp bend and what is a soft
bend can be adapted.
I prefer a very conservative approach, with 180 being a straight line
I'd say no more than 20° off that gets bezier, and any more deviation
gets rendered as it was, a sharp bend with straight lines going to/from it.
Dirk-Lüder "Deelkar" Kreie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the dev