Map won't show building numbers (tileMill + OSM)

前端 未结 3 390
萌比男神i
萌比男神i 2021-01-07 12:44

i\'m using tileMill for creating offline map for my iPhone app, long story short - i\'ve downloaded OSM data for Ukraine region from here. I\'ve checked that online map(from

3条回答
  •  花落未央
    2021-01-07 13:20

    You need to understand, that OSM.org uses a pure rendering engine called Mapnik. Tilemill is a wrapper around Mapnik by simplifying stylesheets.

    As @scai say, you need to create a stylesheet that renders a label for housenumbers. I'm not familar with tilemill to tell you what need to be done, but usually this consist of

    • Adding a label symbolizer that looksup the addr:housenumber=* tag and prints the value in a appropriate font and size
    • (creating fake nodes that deal with the placement of that labels within building outlines etc.)

提交回复
热议问题