-
Notifications
You must be signed in to change notification settings - Fork 175
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
Map Rendering Problems, background color, missing names. #1234
Comments
Hi @Davem734, please have look at the lines of explanation here: @metastrolch explains how to get the OSM-ID of the wrong edition of a polygon "poly_water_tiled". If it still is there: Regards, |
I did not have much luck finding the broken items in my map data (from http://download.geofabrik.de/north-america-latest.osm.bz2). But this looks like a bug in something to me. Maybe maptool? I am new here so I dont know the data flow very well but it seems, given the number of errors in the map data, that Navit needs to be better at ignoring broken elements, especially when they span large areas of the map. I would like to submit this as a bug report but I am not sure that I have enough here to narrow it down to what needs to be fixed... |
Hi @Davem734
You can Navit let do this like I told in my last post with not showing the layer "polywatertiled" (please see the lines in my last post an integrate them into your navit.xml): If it is switched off then you will have this map view: The setting of the layer is stored in my setups, so one doesn't have to set it again the next time Navit is running. In order to get the broken item I use this approach: In the main menu click "Map Point" und you'll get a view similar like this: Then click "poly_water_tiled poly_water_tiled": Here click on "Attributes" and you'll see the OSM way ID: Use this with OSM in this way: My guess of the error here is that the island in a lake is edited with "natural=coastline" and that is wrong: It should be "natural=water". I don't want to correct this in OSM because I'm not an OSM expert and maybe it should one do with more local knowledge. Hope, this helps a little. Regards, PS.: You can find nightly updated maps in Navit's bin format here: In order to have more than one map activated in Navit I have this entry in my navit.xml: |
Davem734 também perguntou : " Existe uma maneira de alterar a prioridade de como os rótulos são exibidos no mapa em cada nível de zoom ou isso é codificado? " Eu pergunto se existe resposta para a pergunta? Obrigado |
Hi all,
If I understand it correctly, here is an example how I managed it in my navit.xml:
In the same way it is done in the layer for the streets: Here is a cut from my "streets"-layer:
Hope all of the code is visible... Regards, |
Navit 0.5.6 (on Ubuntu 22.04)
Having problems getting the map to render properly.
See attached screenshot.
Portions of the map show a blue background when the color in the .xml file is set to "#ffefb7" (Pale yellow).
<layout xmlns:xi="http://www.w3.org/2001/XInclude" name="Car" nightlayout="Car-dark" color="#ffefb7" icon_w="22" icon_h="22" underground_alpha="0x77" font="Liberation Sans">
The map file came from:
http://download.geofabrik.de/north-america-latest.osm.bz2
I am not sure how to tell if this is a problem with Navit rendering or a problem with the map file itself.
Road names/numbers are missing. They seem to show up randomly as you zoom in.
But not in any order that I find useful for trip planning or navigation.
City names are either missing or overlapping.
Is the map rendering unique to Navit or is Navit using a map rendering library from someplace else?
Is there a way to change the priority of how labels are displayed on the map at each zoom level or is this hard coded?
The text was updated successfully, but these errors were encountered: