[OSM-talk] Labling places with Labels
Simon Hewison
simon at zymurgy.org
Thu Mar 2 19:55:44 GMT 2006
Etienne Cherdlu wrote:
> BTW I am experimenting with rendering maps using colour for different
> classes of roads (see
> http://wiki.openstreetmap.org/index.php/KT13_Weybridge for an example).
> If you settle on some scheme then I think I could render the names on
> these generated maps quite easily.
That is brilliant, and it makes all the hard work that people are doing
with adding the road classes worthwhile.
I guess similar coding could be built into the main
ruby/api/wms/streets.rbx code.
(which at the moment draws everything in the same thickness of black,
and then draws everything in a slightly thinner white)
One thing I was thinking was selectively rendering streets based on the
zoom level, so at large scales, it would render class=motorway, then
class=motorway and class=primary, the motorway, primary and secondary,
then everything else.
but I know very little about ruby, or the Magick, or cairo graphics
libraries.
--
Simon Hewison
More information about the talk
mailing list