GithubHelp home page GithubHelp logo

Comments (12)

westnordost avatar westnordost commented on May 27, 2024 4

done (except turning_circle)

from streetcomplete-mapstyle.

ENT8R avatar ENT8R commented on May 27, 2024

Sounds all reasonable! Thank you for offering to do this 👍

from streetcomplete-mapstyle.

matkoniecz avatar matkoniecz commented on May 27, 2024

access=no roads

Note that access tag may be missing in tile data if it is not including tilezen/vector-datasource#1328 (I think that Tilezen went bankrupt after merging this PR but before version with that change was released).

from streetcomplete-mapstyle.

matkoniecz avatar matkoniecz commented on May 27, 2024

In topic of tagging access: I would override access=* with foot=* - both in cases where foot traffic is forbidden and where it is allowed.

from streetcomplete-mapstyle.

matkoniecz avatar matkoniecz commented on May 27, 2024

one-ways (with arrows):

At least in my region it tends to change quickly - and to not be highly confusing it would require fixing of map data update cycle.

from streetcomplete-mapstyle.

westnordost avatar westnordost commented on May 27, 2024

I think @Akasch did set up a regular update again now. +poke+

from streetcomplete-mapstyle.

matkoniecz avatar matkoniecz commented on May 27, 2024

From what I see map in Poland is not updated.

from streetcomplete-mapstyle.

westnordost avatar westnordost commented on May 27, 2024

Note that access tag may be missing in tile data if it is not including tilezen/vector-datasource#1328 (I think that Tilezen went bankrupt after merging this PR but before version with that change was released).

But the project is still quite active. Last release was a month ago. Didn't you know?

from streetcomplete-mapstyle.

matkoniecz avatar matkoniecz commented on May 27, 2024

But the project is still quite active. Last release was a month ago. Didn't you know?

I didn't know, thanks! I will look at whatever this data is now in tiles available for StreetComplete, maybe I can finally finish my map style :)

from streetcomplete-mapstyle.

westnordost avatar westnordost commented on May 27, 2024

Experiment with hatching. But I think this is not so good after all, because roads that run in a 45° angle North would have a very odd hatching. Will experiment the hatching according to the orientation of the way (first experiment also looked not so good though)

sources:
    nextzen:
        type: TopoJSON
        url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.topojson

styles:
    hatching-overlay:
        base: lines
        blend: translucent
        shaders:
            uniforms:
                u_repeat: 0.8
                u_width: 0.1
            blocks:
                color: |
                    vec4 p = worldPosition();
                    color.a = mix(0., 1., smoothstep(0.,1.,u_width+.5*sin(u_repeat * (p.y - p.x) / u_meters_per_pixel)));

layers:
    roads:
        data: { source: nextzen}
        draw:
            lines:
                style: hatching-overlay
                order: 4
                color: [0.8,0.8,0.8,0.0]
                width: 10px

(copy&paste into https://tangram.city/play/ )

from streetcomplete-mapstyle.

westnordost avatar westnordost commented on May 27, 2024

turning_circle doesn't seem to be in the vector tilesource, see tilezen/vector-datasource#1695

from streetcomplete-mapstyle.

ENT8R avatar ENT8R commented on May 27, 2024

Thank you very much!

from streetcomplete-mapstyle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.