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

Mapsforge: invalid cumulated number of ways #357

Closed
devemux86 opened this issue Jun 5, 2017 · 2 comments
Closed

Mapsforge: invalid cumulated number of ways #357

devemux86 opened this issue Jun 5, 2017 · 2 comments
Labels
Milestone

Comments

@devemux86
Copy link
Collaborator

devemux86 commented Jun 5, 2017

Reading large Mapsforge map files (e.g. germany.map), some areas are not rendered at small zooms throwing:

org.oscim.tiling.source.mapfile.MapDatabase readZoomTable
WARNING: invalid cumulated number of ways in row 6 137324

Mapsforge reader seems working fine:

VTM
vtm

Mapsforge
mapsforge

@devemux86 devemux86 added the bug label Jun 5, 2017
@devemux86
Copy link
Collaborator Author

Another large map which shows same problem is japan.map.

@devemux86 devemux86 added this to the 0.8.0 milestone Jun 5, 2017
@devemux86
Copy link
Collaborator Author

Like discussed in forum some time ago, there are checks in readZoomTable, probably from the time when elements number was encoded as short instead of unsigned int.

Removing those redundant checks (like in Mapsforge) the map rendering works fine:

germany

@devemux86 devemux86 changed the title Mapsforge readZoomTable: invalid cumulated number of ways Mapsforge: invalid cumulated number of ways Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant