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

short footway=crossing, shorter than guessed road width are causing issues #106

Open
Zaneo opened this issue Aug 27, 2021 · 7 comments
Open

Comments

@Zaneo
Copy link

Zaneo commented Aug 27, 2021

https://www.openstreetmap.org/way/561900089 and touching crossing ways is/are unexpectedly crossing with road area not exactly two times (or even even count) but 0 times, which is unhandled something went wrong. If OpenStreetMap data is correct here, then this is a bug, please report to https://github.com/matkoniecz/lunar_assembler/issues

From what I can see the OpenStreetMap data looks reasonable?

@matkoniecz
Copy link
Owner

Thanks for report! Yes, OSM data seem fine here.

Do you remember which map style you used? (I should include it in an error message)

@matkoniecz
Copy link
Owner

Though https://www.openstreetmap.org/way/197017783 seems quite narrow on aerial view - is it maybe a service road rather than unclassified? Maybe even alley or driveway?

@Zaneo
Copy link
Author

Zaneo commented Aug 28, 2021

I'll go take a picture of the road later. It's likely not an alley. Japan has lots of "two lane" narrow roads. Could be residential whatever that means.

@Zaneo
Copy link
Author

Zaneo commented Aug 28, 2021

Thanks for report! Yes, OSM data seem fine here.

Do you remember which map style you used? (I should include it in an error message)

I didn't change the default settings.

@matkoniecz matkoniecz changed the title Error when generating vector map for area short footway=crossing, shorter than guessed road width are causing issues Aug 28, 2021
@matkoniecz
Copy link
Owner

So there are two parts here

  1. stop crashing and generate something
  2. produce nice crossing also in such case (by extending such line and making it longer)

@Zaneo
Copy link
Author

Zaneo commented Aug 29, 2021

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