enzet / map-machine

Python renderer for OpenStreetMap with custom icons intended to display as many map features as possible
MIT License
503 stars 31 forks source link

`node_icons` property `draw` does nothing? #156

Open cskau opened 1 year ago

cskau commented 1 year ago

I've been experimenting with modifying the default.yml scheme, and tried to add entries to the existing group: "No draw", with an entry like this:

  - group: "No draw"
    tags:
    - tags: {"addr:housenumber": "*"}
      draw: false

However, whenever I render tiles with the modified scheme, all matching nodes still seem to render, regardless of the value of draw.

To verify the nodes are matching as expected I have also tried:

  - group: "No draw"
    tags:
    - tags: {"addr:housenumber": "*"}
      shapes: [stratovolcano]

Which does make the nodes render with the stratovolcano icon as expected.

FWIW, I had a quick look through the code, but could not see any place where draw was actually being used.