[OSM-dev] Bug: Mapnik renders 'addr:housenumber' rather than 'name'

Dan Homerick danhomerick at gmail.com
Sat Sep 5 06:13:10 BST 2009


An example can be seen at:
http://www.openstreetmap.org/?lat=37.04839&lon=-122.030799&zoom=18&layers=B000FTF

Where the tags for the node are (grabbed using Merkaator):
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='Merkaartor'>
<bound box='37.048527,-122.031341,37.048527,-122.031341'
origin='http://www.openstreetmap.org/api/0.6' />
  <node id="484131847" lat="37.04852652" lon="-122.03134102">
    <tag k="addr:housenumber" v="266A"/>
    <tag k="name" v="Payless Shoe"/>
    <tag k="shop" v="shoe"/>
    <tag k="addr:street" v="Mount Hermon Road"/>
    <tag k="addr:city" v="Scotts Valley"/>
    <tag k="addr:postcode" v="95066-4024"/>
    <tag k="addr:phone" v="(831) 438-1866"/>
  </node>
</osm>

Is the algorithm that decides what text to render relying on the order?

Cheers,
- Dan




More information about the dev mailing list