Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Czyżyny, not Czyyny #1022

Closed
matkoniecz opened this issue Oct 28, 2017 · 1 comment
Closed

Czyżyny, not Czyyny #1022

matkoniecz opened this issue Oct 28, 2017 · 1 comment

Comments

@matkoniecz
Copy link

matkoniecz commented Oct 28, 2017

Czyyny label is result of UTF-8 support missing in source of labels - what gives poor results in Poland
Czyżyny labels is a correct label from OSM data.

selection_003

https://mapzen.com/tangram/play/?#15.7500/50.0735/20.0073 with

global:
    name_source: |
        function() {
            return feature['name:pl'] || feature.name;
        }
    text_stroke: '#e4e1de'
    text_font_family: 'Open Sans'
    text_fill_color: black
    earth_color: '#faf4f4'

sources:
    mapzen:
        type: TopoJSON #GeoJSON, MVT, TopoJSON
        url:  https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson
        max_zoom: 20

camera:
    type: isometric


fonts:
    Open Sans:
        - weight: 300 # Light
          url: fonts/OpenSans-Light.woff
        - weight: normal # Regular
          url: fonts/OpenSans-Regular.woff
        - weight: normal # Regular
          style: italic
          url: fonts/OpenSans-Italic.woff
        - weight: 600 # Semi Bold
          url: fonts/OpenSans-Semibold.woff
        - weight: 600 # Semi Bold
          style: italic
          url: fonts/OpenSans-SemiboldItalic.woff
        - weight: bold
          url: fonts/OpenSans-Bold.woff

scene:
    background:
        color: global.earth_color

layers:
    roads:
        data: { source: mapzen, layer: roads }
        filter: { not: { kind_detail: service, kind: rail } }
        highway:
            draw:
                lines:
                    order: 1012
                    color: white
                    cap: round
                    width: [[1, 1.5px], [14, 2.5px], [16, 2.5px], [19, 6m]]
                    outline:
                        order: 1010
                        color: '#9370db'
                        width: [[14, 1px], [15, 1.5px]]
                        cap: butt
    places:
        data: { source: mapzen }
        draw:
            text:
                text_source: global.name_source
                font:
                    weight: 100
                    size: 13px
                    family: global.text_font_family
                    fill: global.text_fill_color
                    stroke: { color: global.text_stroke, width: [[1,2px], [12,3px],[16,4px]] }

@stepps00
Copy link
Contributor

thanks @matkoniecz - I will take a look shortly.

WOF record for Czyzyny: https://whosonfirst.mapzen.com/spelunker/id/85897851/

ENT8R pushed a commit to streetcomplete/streetcomplete-mapstyle that referenced this issue Aug 21, 2019
low quality nonOSM source - duplicate, malformed, invalid labels unfixable in OSM would be confusing for OSM editors

see tilezen/vector-datasource#1410 whosonfirst-data/whosonfirst-data#1008 whosonfirst-data/whosonfirst-data#1022 tilezen/vector-datasource#1418

fixes #14 (again), repeats #26 and fixes streetcomplete/StreetComplete#1527
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants