tilezen / vector-datasource

Tilezen vector tile service - OpenStreetMap data in several formats
https://www.nextzen.org/
Other
505 stars 119 forks source link

Additional shield_text cleanup #1491

Closed sensescape closed 6 years ago

sensescape commented 6 years ago

Followup to https://github.com/tilezen/vector-datasource/issues/1062... this will be running tally.

nvkelso commented 6 years ago

These ones are the "good" networks that need to be normalized to better values:

I'll followup with "funky" per country refs that need to get networks...

nvkelso commented 6 years ago

These are out of the "funky" client side scene file hacks:

nvkelso commented 6 years ago
nvkelso commented 6 years ago

Australia M, B, C roads should keep their prefix (eg M1 instead of 1) in the shield_text calculation. See Melbourne.

nvkelso commented 6 years ago

Natural Earth e-road shield_text needs to include the E (see zoom 7).

nvkelso commented 6 years ago

New Zealand State Highway isn't coming thru as NZ:SH network:

nvkelso commented 6 years ago

Not all Canadian shields are drawing correctly: https://github.com/tangrams/tangram/issues/662

Not all Canadian shields have default network of CA.

nvkelso commented 6 years ago

Chile Panamerican when network is CL:national and shield_text is 5 than network should be CL:panamerican instead.

nvkelso commented 6 years ago

Indonesia National should be ID:national (alternatively ID:motorway) but is just ID. Test for motorway and assign?

nvkelso commented 6 years ago

Not all Norway shields have default network of NO (very common). Similar to to https://github.com/tilezen/vector-datasource/issues/1491#issuecomment-414106052.

Also odd that the e-road network's shield_text values here include the space which is removed in other countries.

See: http://localhost:8000/#12/60.1398/10.3021

image

nvkelso commented 6 years ago

Thailand seems broken (just TH with no more detail).

nvkelso commented 6 years ago

For Mexico, to disambiguate between the region of Mexico and the federal routes let's use MX:MX instead of MX:MEX (reserving the 3-char for the capital region).

nvkelso commented 6 years ago

India national highways are sometimes not receiving a shield_text value: https://www.openstreetmap.org/edit?way=180205706#map=17/20.92767/72.99029.

nvkelso commented 6 years ago

Blue Italian networks generally aren't being set:

Examples:

Goals:

nvkelso commented 6 years ago

Netherlands roads could be set looking at the ref prefix, and we have artwork:

nvkelso commented 6 years ago

Austria is mostly working for AT:A-road relations, but there are many roads not in relations starting with A ref that could be assigned that network value. Similarly B refs could be given AT:B-road.

nvkelso commented 6 years ago

Belgium could use similar cleanup as Netherlands.

nvkelso commented 6 years ago

For the most part this all looks good. I took the last few QA comments and moved them into https://github.com/tilezen/vector-datasource/issues/1561 for the next milestone.

We should fix the Australia ref prefixes in this release, that's in https://github.com/tilezen/vector-datasource/issues/1562.