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

Can't see smaller areas (localities) osm_type: way #12

Closed
zack6849 opened this issue Jan 22, 2020 · 3 comments
Closed

Can't see smaller areas (localities) osm_type: way #12

zack6849 opened this issue Jan 22, 2020 · 3 comments

Comments

@zack6849
Copy link

Hi There!

I tried to search for a smaller town in my area, "Valrico, Florida" and it shows results, and is a city, but won't work.

I thought ok, maybe it's too small, i'll go for brandon florida, which also doesn't work.

LNMN5D0qRDeFe
OYJUgdL64IpFZ

These are both "localities", is that something you'd consider implementing, if it's even possible?

@zack6849 zack6849 changed the title Can't see "ways"? Can't see smaller areas (localities) osm_type: way Jan 22, 2020
@anvaka
Copy link
Owner

anvaka commented Jan 23, 2020

I'm displaying only relationship osm_types in the dropdown. relationship type defines accurate boundaries of a region, so I went with it in the initial implementation.

However this causes problems, like you've described here and like others noted in #7.

I'm playing with proposal from @leighghunt to fallback to bounding box. For the Valrico, Florida it would render this:

image

Would this map make more sense in your use case?

@zack6849
Copy link
Author

It would, thanks for the update

@anvaka
Copy link
Owner

anvaka commented Jan 24, 2020

Thank you!

This was pushed. Please let me know if you find something missing: https://anvaka.github.io/city-roads/

@anvaka anvaka closed this as completed Jan 24, 2020
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