-
Notifications
You must be signed in to change notification settings - Fork 91
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 lines not rendered correctly at large zooms #109
Comments
Rendering the same map file in Locus does not present that issue, so I assume it is VTM and not the map |
Also ran the same example in latest mapsforge android demo... looks correct (of course I had to adjust the theme to get it rendered). |
I remember reading a similar case in OpenScienceMap repository, see opensciencemap#122 Are you sure that this problem appears now after latest commits, previously it worked correctly? |
I checked before yesterday's commits and this issue appears there too. There are two things to consider here:
|
Sorry if I implied in any way that this issue was due to a recent change. But I have a few ideas... Anything I can be of help? Not an OpenGL expert at all though ;-) |
Note that Mapsforge maps work with sub-files based on zoom intervals. Details for all these exist in our docs for map file format and map writer. The issue exists also in some lake polygons that are split among 4 adjacent tiles, so it's not only on contour lines (or they're contour polygons?). If this is due to old Mapsforge parsing, then the answer could be in VTM MapDatabase class compared with equivalent Mapsforge MapFile class. |
yes, I would say it stays the same below zoom 12... |
how to reproduce the issue:
Used mapsforge map: http://ftp5.gwdg.de/pub/misc/openstreetmap/openandromaps/maps/Germany/sachsen.zip
Used render theme:
default.xml, with one modification:
added:
right after
to enable rendering of elevation lines.
Enable GridLayer for easier navigation.
Go to Grid 16/35226/21988
The line that makes a sharp 'turn' to the left should connect to the line straight above it.
Panning the map around there are many wrong rendered lines visible.
Image attached
![screenshot_20160807-191342](https://cloud.githubusercontent.com/assets/1132106/17466029/99b062b8-5cd3-11e6-9ada-0ce57c0f572e.png)
The text was updated successfully, but these errors were encountered: