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

Update public_transport funk #634

Merged
merged 8 commits into from
Mar 24, 2016
Merged

Update public_transport funk #634

merged 8 commits into from
Mar 24, 2016

Conversation

rmarianski
Copy link
Member

Connects to #469

@nvkelso, @zerebubuth could you review please?

@nvkelso
Copy link
Member

nvkelso commented Mar 24, 2016

LGTM

@@ -6,9 +6,9 @@ highway,public_transport,railway,route,service,tags->rail,tags->site,min_zoom,ki
*,*,*,funicular;monorail,*,*,*,${12},${route}
*,*,halt;stop;tram_stop,*,*,*,*,${13},${railway}
platform,*,*,*,*,*,*,${15},platform
*,platform,*,*,*,yes,*,${15},platform
*,platform,*,*,*,yes,*,${17},platform
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the kind here be bus_stop?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, fixed in 08b3202.

@zerebubuth
Copy link
Member

I think the changes to POIs would make it turn something that was plain public_transport=platform into a railway platform, where it's missing the positive tags->bus='yes'? Should that be tags->rail != 'yes' instead?

Also, tests would be good for figuring out what the effect of these would be, i.e: including one for the various different common cases.

*,*,*,light_rail;tram,*,*,*,*,${9},${route}
*,*,*,funicular;monorail,*,*,*,*,${12},${route}
*,*,halt;stop;tram_stop,*,*,*,*,*,${13},${railway}
platform,*,*,*,*,*,*,*,${15},platform
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't highway=platform also be a bus_stop at z >= 17?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 01cce9a.

@rmarianski
Copy link
Member Author

@zerebubuth I added a few tests, do you think it looks good enough to merge now?

@nvkelso
Copy link
Member

nvkelso commented Mar 24, 2016

Looking good. Let's get this on dev.

@rmarianski
Copy link
Member Author

I'll merge this in, we can make any adjustments afterwards if need be.

@rmarianski rmarianski merged commit 6f9bb4b into master Mar 24, 2016
@rmarianski rmarianski deleted the fix-public_transport-funk branch March 24, 2016 19:40
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.

3 participants