Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • 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. Implemented support for "ford" (a section of a road that is covered by water) in my vector #openStreetMap style, so far for tracks.

Implemented support for "ford" (a section of a road that is covered by water) in my vector #openStreetMap style, so far for tracks.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
openstreetmapopenmaptiles
10 Indlæg 2 Posters 17 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

    Implemented support for "ford" (a section of a road that is covered by water) in my vector #openStreetMap style, so far for tracks. By hand, btw, slowly... Quite simple - just lower the opacity of the way.
    The image shows the way to Svelmø, a small island in southern denmark, where to such a track - "Ebbevejen" - leads.

    This is not implemented in the OMT vector style 😉

    Code: `"line-opacity": ["case", ["==", ["get", "brunnel"], "ford"], 0.3, 1],`

    (OSM Carto in addition shows a symbol in the middle of the way, where mappers are supposed to add a point. That is not present in OMT, but you could of course easily put symbols along the line.)

    There are 1.560.599 instances of these, 130.771 of which are ways, and thus available in OMT tiles (according to the wiki). In my area primarily tracks, paths and service roads.

    #OpenMapTiles

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

      Implemented support for "ford" (a section of a road that is covered by water) in my vector #openStreetMap style, so far for tracks. By hand, btw, slowly... Quite simple - just lower the opacity of the way.
      The image shows the way to Svelmø, a small island in southern denmark, where to such a track - "Ebbevejen" - leads.

      This is not implemented in the OMT vector style 😉

      Code: `"line-opacity": ["case", ["==", ["get", "brunnel"], "ford"], 0.3, 1],`

      (OSM Carto in addition shows a symbol in the middle of the way, where mappers are supposed to add a point. That is not present in OMT, but you could of course easily put symbols along the line.)

      There are 1.560.599 instances of these, 130.771 of which are ways, and thus available in OMT tiles (according to the wiki). In my area primarily tracks, paths and service roads.

      #OpenMapTiles

      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
      #2

      So, after some more research and experimentation I ended up adding symbols for any transportation LineString with brunnel=ford in the tile data. In addition I added some rules to path and track to make them appear a bit translucent, as those are most likely to actually cross water bodies.

      I just used a blue "≈" in the text-field.

      I'm pretty happy with the overall result, as far as I have seen it in use ...

      #openStreetMap #openMapTiles

      mdione@en.osm.townM 1 Reply Last reply
      0
      • anderslund@expressional.socialA anderslund@expressional.social

        So, after some more research and experimentation I ended up adding symbols for any transportation LineString with brunnel=ford in the tile data. In addition I added some rules to path and track to make them appear a bit translucent, as those are most likely to actually cross water bodies.

        I just used a blue "≈" in the text-field.

        I'm pretty happy with the overall result, as far as I have seen it in use ...

        #openStreetMap #openMapTiles

        mdione@en.osm.townM This user is from outside of this forum
        mdione@en.osm.townM This user is from outside of this forum
        mdione@en.osm.town
        wrote sidst redigeret af
        #3

        @anderslund but those in the second screenshot are fords? They feel more like culverts?

        anderslund@expressional.socialA 1 Reply Last reply
        0
        • mdione@en.osm.townM mdione@en.osm.town

          @anderslund but those in the second screenshot are fords? They feel more like culverts?

          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
          #4

          @mdione They have "brunnel=ford" in the properties, which is why the symbols are there. I didn't map the area 🙂
          Here: https://www.openstreetmap.org/way/112749236

          mdione@en.osm.townM 1 Reply Last reply
          0
          • anderslund@expressional.socialA anderslund@expressional.social

            @mdione They have "brunnel=ford" in the properties, which is why the symbols are there. I didn't map the area 🙂
            Here: https://www.openstreetmap.org/way/112749236

            mdione@en.osm.townM This user is from outside of this forum
            mdione@en.osm.townM This user is from outside of this forum
            mdione@en.osm.town
            wrote sidst redigeret af
            #5

            @anderslund `tunnel=`?

            anderslund@expressional.socialA 1 Reply Last reply
            0
            • mdione@en.osm.townM mdione@en.osm.town

              @anderslund `tunnel=`?

              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
              #6

              @mdione In OMT, tunnel, bridge, ford are merged into that property. It's defined here: https://github.com/openmaptiles/openmaptiles/blob/master/layers/transportation/transportation.yaml

              mdione@en.osm.townM 1 Reply Last reply
              0
              • anderslund@expressional.socialA anderslund@expressional.social

                @mdione In OMT, tunnel, bridge, ford are merged into that property. It's defined here: https://github.com/openmaptiles/openmaptiles/blob/master/layers/transportation/transportation.yaml

                mdione@en.osm.townM This user is from outside of this forum
                mdione@en.osm.townM This user is from outside of this forum
                mdione@en.osm.town
                wrote sidst redigeret af
                #7

                @anderslund yeah, no, those roads are not properly tagged, a whole road cannot be a ford; a ford is at most the section that crosses a stream or small river, but it's usually a node.

                Also, I think those cannot be residential roads if they're withing allotments; maybe tracks or unclassified?

                anderslund@expressional.socialA 1 Reply Last reply
                0
                • mdione@en.osm.townM mdione@en.osm.town

                  @anderslund yeah, no, those roads are not properly tagged, a whole road cannot be a ford; a ford is at most the section that crosses a stream or small river, but it's usually a node.

                  Also, I think those cannot be residential roads if they're withing allotments; maybe tracks or unclassified?

                  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
                  #8

                  @mdione I agree, I will make a comment to the relevant changeset, or make a map note, since I have no local knowledge and it is relatively fra from my area. 🙂
                  I just added support for ford to my map styling, and used overpass turbo to see some examples of how it would work, though. There are tons of weird taggings out there 🙂

                  mdione@en.osm.townM 1 Reply Last reply
                  0
                  • anderslund@expressional.socialA anderslund@expressional.social

                    @mdione I agree, I will make a comment to the relevant changeset, or make a map note, since I have no local knowledge and it is relatively fra from my area. 🙂
                    I just added support for ford to my map styling, and used overpass turbo to see some examples of how it would work, though. There are tons of weird taggings out there 🙂

                    mdione@en.osm.townM This user is from outside of this forum
                    mdione@en.osm.townM This user is from outside of this forum
                    mdione@en.osm.town
                    wrote sidst redigeret af
                    #9

                    @anderslund yes there are. I wrote this, but it's mostly centered on wrong tag values, not wrong tags:

                    https://www.grulic.org.ar/~mdione/glob/posts/correcting-openstreetmap-wrong-tag-values/

                    anderslund@expressional.socialA 1 Reply Last reply
                    0
                    • mdione@en.osm.townM mdione@en.osm.town

                      @anderslund yes there are. I wrote this, but it's mostly centered on wrong tag values, not wrong tags:

                      https://www.grulic.org.ar/~mdione/glob/posts/correcting-openstreetmap-wrong-tag-values/

                      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
                      #10

                      @mdione Yes. Another question is finding a solution - how to tag a road that is sometimes flooded, in this case, since that is the obvious reason for the ford tag being there?

                      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