-
Notifications
You must be signed in to change notification settings - Fork 80
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
Incorrect edge IDs after country slicing #470
Comments
hey @flowrean! looking at your data, I think this is an issue of some ambiguity in the README about how these identifiers are created. The README you linked is our most high level, general purpose one, but for specifics regarding the slicing and sectioning steps, each has their own README going into more detail. That being said, we could probably use a specific section in each step going over the identifier transformations that can happen. Here's a general explanation of the results you're seeing. During the slicing operation, the Way is getting sliced into three pieces, one inside the country boundary Since your data is just one Way, it's getting line sliced to three Line slices at the country boundary-- and during that line slicing, only the first three identifier 000s are used, hence I hope that makes sense! |
It indeed makes sense @adahn6, thanks! |
@flowrean Feel free to submit a PR with corrections to the documentation! |
Converting an OSM PBF file to an Atlas, I noticed that the edge IDs generated during country slicing do not seem to be in line with what is described in the documentation.
To illustrate this, I have created a very small example, consisting of one way: ZIP file.
This is my logic:
Expected outcome:
Edge IDs
60342899001000
,60342899002001
,60342899001002
, as indicated in the README.Actual outcome:
Edge IDs
60342899003000
,60342899001000
,60342899002000
.The text was updated successfully, but these errors were encountered: