8000 Add surface field for highways by Phyks · Pull Request #570 · openmaptiles/openmaptiles · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add surface field for highways #570

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

Merged
merged 2 commits into from
May 20, 2019
Merged

Conversation

Phyks
Copy link
Contributor
@Phyks Phyks commented Jan 9, 2019

Hi,

This PR keeps surface field from OSM on highways, generalize it to two values:
"paved" and "unpaved".

This is a fix for #389 and a partial fix for #422.

Here are some benchmarks (for tiles up to zoom 14):

Albania

Total tile size with master branch: 102MB.
Size increase with this PR: 60kB.

Czech Republic

Total tile size with master branch: 519MB.
Size increase with this PR: 1.19MB.

Switzerland

Total tile size with master branch: 268MB.
Size increase with this PR: 1.25MB.

Best,

Keep surface field from OSM on highways, generalize it to two values:
"paved" and "unpaved".

This is a fix for openmaptiles#389 and a partial fix for openmaptiles#422.
@nnhubbard
Copy link

I just tested this. Is it just me or are there not many roads that have the surface tagging? Or is it just my area? I was looking at Washington, USA.

@Phyks
Copy link
Contributor Author
Phyks commented Jan 11, 2019

From my experience, surface is not often mapped in urban areas where there is asphalt everywhere and contributors are not very eager to add the same surface again and again. You can check with an Overpass query such as https://overpass-turbo.eu/s/F9o.

@daliborjanak daliborjanak added this to the v3.10 milestone Mar 18, 2019
@eva-j
Copy link
Collaborator
eva-j commented May 17, 2019

I've just updated the tag lists according to Wiki https://wiki.openstreetmap.org/wiki/Key:surface.

@daliborjanak daliborjanak merged commit 94b58f5 into openmaptiles:master May 20, 2019
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

Successfully merging this pull request may close these issues.

4 participants
0