Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Working on icons in my #openstreetmap vector style.

Working on icons in my #openstreetmap vector style.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
openstreetmaposmappopenmaptiles
3 Indlæg 2 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • anderslund@expressional.socialA This user is from outside of this forum
    anderslund@expressional.socialA This user is from outside of this forum
    anderslund@expressional.social
    wrote sidst redigeret af anderslund@expressional.social
    #1

    Working on icons in my #openstreetmap vector style. I found a really nice icon collection in the #osmapp repository.

    Then I started to edit the sprite.json file(s) a bit to make the correct icons display, and the style.json file (originally from #openmaptiles) so that it tries the object 'subclass' property and then the 'class' to select an icon.

    That works pretty well in most cases, but the tourist information with 'information=terminal" at the local busstation leads to a fun result. I'm not sure what to do about that yet, but maybe havning an icon named 'terminal' is not the best ting.

    Some icons at itti-bitty tiny, like the bike parking one. They become more or less unrecognizable. And after some looking around, I ended using a building icon for 'office' - not sure how well that works if there is no name attached.

    H 1 Reply Last reply
    0
    • anderslund@expressional.socialA anderslund@expressional.social

      Working on icons in my #openstreetmap vector style. I found a really nice icon collection in the #osmapp repository.

      Then I started to edit the sprite.json file(s) a bit to make the correct icons display, and the style.json file (originally from #openmaptiles) so that it tries the object 'subclass' property and then the 'class' to select an icon.

      That works pretty well in most cases, but the tourist information with 'information=terminal" at the local busstation leads to a fun result. I'm not sure what to do about that yet, but maybe havning an icon named 'terminal' is not the best ting.

      Some icons at itti-bitty tiny, like the bike parking one. They become more or less unrecognizable. And after some looking around, I ended using a building icon for 'office' - not sure how well that works if there is no name attached.

      H This user is from outside of this forum
      H This user is from outside of this forum
      humanmapping@fosstodon.org
      wrote sidst redigeret af
      #2

      @anderslund does "terminus" work better than "terminal"?

      anderslund@expressional.socialA 1 Reply Last reply
      0
      • H humanmapping@fosstodon.org

        @anderslund does "terminus" work better than "terminal"?

        anderslund@expressional.socialA This user is from outside of this forum
        anderslund@expressional.socialA This user is from outside of this forum
        anderslund@expressional.social
        wrote sidst redigeret af anderslund@expressional.social
        #3

        @HumanMapping The issue is the way the vector tiles work. These objects has a class of 'information' and a subclass of 'terminal', so given that I try the subclass and then the class for icon name, I end up with 'terminal'.

        I can't change the vector tile information, but I can manipulate which icons are available, og even point certain objects to certain icons - but that will creat A LOT of extra code if it becoms a common strategy.

        Openstreetmap have several objects with terminal - aeroway=terminal, ferry_terminal, payment=terminal etc. I don't know how most of those translates to openmaptiles data, so I do not know it a 'terminal' icon will be relevant in any case.

        For now, I just disabled it, and then the information boards gets a proper 'information' icon 🙂

        1 Reply Last reply
        0
        Svar
        • Svar som emne
        Login for at svare
        • Ældste til nyeste
        • Nyeste til ældste
        • Most Votes


        • Log ind

        • Har du ikke en konto? Tilmeld

        • Login or register to search.
        Powered by NodeBB Contributors
        Graciously hosted by data.coop
        • First post
          Last post
        0
        • Hjem
        • Seneste
        • Etiketter
        • Populære
        • Verden
        • Bruger
        • Grupper