Skip to content

Incorrect edge IDs after country slicing #470

@flowrean

Description

@flowrean

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:

final CountryBoundaryMap boundaries = CountryBoundaryMap.fromPlainText(boundariesFile);
final Atlas rawAtlas = new RawAtlasGenerator(osmPbfFile).build();
final Atlas slicedAtlas = new RawAtlasCountrySlicer(AtlasLoadingOption.createOptionWithAllEnabled(boundaries)).slice(rawAtlas);
final Atlas atlas = new WaySectionProcessor(slicedAtlas, AtlasLoadingOption.createOptionWithAllEnabled(boundaries)).run();
atlas.save(atlasFile);

Expected outcome:
Edge IDs 60342899001000, 60342899002001, 60342899001002, as indicated in the README.

Actual outcome:
Edge IDs 60342899003000, 60342899001000, 60342899002000.
slicing_ids

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions