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

Two background map colors #949

Closed
navitraspi opened this issue Dec 8, 2019 · 7 comments
Closed

Two background map colors #949

navitraspi opened this issue Dec 8, 2019 · 7 comments

Comments

@navitraspi
Copy link

Hey.

I am having a problem with a map layout. I am using Raspberry Pi and an „Android-Car” map layout. Some of the background colors are almost white, „creamy” - and that’s what I want, but there are some „squares” on the map that are really big and... turquoise. How can I change that? It’s not the water, cause it’s about a 1/3 of my current country map.

Thanks!

@navitraspi
Copy link
Author

Anyone? It looks so horrible.

0FB80A6C-7500-4670-A557-D7F64E0A7BDA
Uploading 235A5CED-690E-4EDE-84BA-514C304A2FEE.jpeg…

@jkoan
Copy link
Member

jkoan commented Dec 9, 2019

Hi @navitraspi,
this erros is due to problems with the map. In this case somewhere a waterpolygon is broken and causes the polygon to cover a really large area.
You can try to replace the map with a new one. Export a different area boundarie or craft your own map with maptool

@metalstrolch
Copy link
Contributor

metalstrolch commented Dec 9, 2019

You most probably got hit by a "virtual flooding" as it looks like. You can click on a "flooded" area and use "Actions -> coordinates". It presents you with the list of map items you clicked on. It's hard to miss the flood. I expect there to be "poly_water_tiled" to be present.

If yes: The OSM coastline causing this needs to be fixed. You can select the "poly_water_tiled" and select "Show attrbutes" to get the osmid causing this.

You can crosscheck by removing/changing the coloring for "poly_water_tiled" itemgra in your layout xml file. If the "flooding" changes color with the oceans, then you have it.

-> If I'm right, you need a fixed map, Where did you get it from?

@navitraspi
Copy link
Author

I got it from the World Extractor, will try to do as you described. Thanks! I will inform if there is no change.

@navitraspi
Copy link
Author

Changing the „poly_water_tiled” color to default background color worked well, thank you!
98E46FE6-808F-4DEF-95D0-E8C487292B63

@metalstrolch
Copy link
Contributor

You should keep in mind that you recolored oceans that way as well and the color might still cloak map elements. It's better to remove the itemgra, not drawing oceans and the flooding altogether if not interested in oceans anyways. Have fun.

@navitraspi
Copy link
Author

Generally there are no oceans around me, but removed the whole itemgra as you proposed. Thank you so much, guys! Navit is a wonderful tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants