[OSM-talk] Labling places with Labels

Etienne Cherdlu openstreetmap-L at gj0.net
Thu Mar 2 22:26:14 GMT 2006

I've just updated the image at
http://wiki.openstreetmap.org/index.php/KT13_Weybridge with a new version
that includes place names.

It uses nodes with class=town or class=village to render 14pt blue or 10pt
green captions on the map.  The captions are rendered to the right of the


On 3/2/06, Simon Hewison <simon at zymurgy.org> wrote:
> 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
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20060302/39275441/attachment.html>

More information about the talk mailing list