Colouring of island not correct

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Colouring of island not correct

Christoph Karl
Hi!

I tried to generate a gmapsupp.img with mkgmap.
I have done this with:
/usr/java/jdk1.8.0_144/bin/java -Xmx8G -jar ./mkgmap-r3993/mkgmap.jar --
gmapsupp karten/corse-latest.osm.pbf

But the colouring of the landscape is not correct.
See "corse_wrong_colour.png"

Compared to "bremen_correct.png"

Screenshots are made from qlandkartegt Version 1.8.1.

I also tried to use "--precomp-sea=./karten/sea.zip",
but this just colours the surrounding sea.

Do you have any ideas?

Thank you

Best Regards
Christoph

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

corse_wrong_colour.png (166K) Download Attachment
bremen_correct.png (340K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Colouring of island not correct

Gerd Petermann
Hi Christoph,

I agree this looks wrong.
The reason is that mkgmap renders the tag place=island
from this multipolygon relation:
https://www.openstreetmap.org/relation/7112309
as type 0x53 and some programs interpret this as "Sandbank, tidal/mud flat"

The rule is in style fie polygons:
place=island & name=* [0x53 resolution 19]

I think we should try to find a different type or decide to ignore the tag for large polygons.
We have the same problem with other large islands like Ireland.

There is only one advantage of rendering the polygon:
The name "Corse" is shown when you click somewhere.

Gerd

________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von Christoph Karl <[hidden email]>
Gesendet: Samstag, 19. August 2017 09:37:11
An: [hidden email]
Betreff: [mkgmap-dev] Colouring of island not correct

Hi!

I tried to generate a gmapsupp.img with mkgmap.
I have done this with:
/usr/java/jdk1.8.0_144/bin/java -Xmx8G -jar ./mkgmap-r3993/mkgmap.jar --
gmapsupp karten/corse-latest.osm.pbf

But the colouring of the landscape is not correct.
See "corse_wrong_colour.png"

Compared to "bremen_correct.png"

Screenshots are made from qlandkartegt Version 1.8.1.

I also tried to use "--precomp-sea=./karten/sea.zip",
but this just colours the surrounding sea.

Do you have any ideas?

Thank you

Best Regards
Christoph
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: Colouring of island not correct

Gerd Petermann
In reply to this post by Christoph Karl
Hi Christoph,

With r3994 I've changed the default style to ignore those large islands.
I think it was already discussed here and I simply forgot to commit the change:
http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2016q3/025051.html

Gerd
________________________________________
Von: mkgmap-dev <[hidden email]> im Auftrag von Christoph Karl <[hidden email]>
Gesendet: Samstag, 19. August 2017 09:37:11
An: [hidden email]
Betreff: [mkgmap-dev] Colouring of island not correct

Hi!

I tried to generate a gmapsupp.img with mkgmap.
I have done this with:
/usr/java/jdk1.8.0_144/bin/java -Xmx8G -jar ./mkgmap-r3993/mkgmap.jar --
gmapsupp karten/corse-latest.osm.pbf

But the colouring of the landscape is not correct.
See "corse_wrong_colour.png"

Compared to "bremen_correct.png"

Screenshots are made from qlandkartegt Version 1.8.1.

I also tried to use "--precomp-sea=./karten/sea.zip",
but this just colours the surrounding sea.

Do you have any ideas?

Thank you

Best Regards
Christoph
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: Colouring of island not correct

Christoph Karl
Hi Gerd!

I just tested r3994 and it works like a charm!

Thank you very much.

Best Regards
Christoph


Am Sonntag, 20. August 2017, 08:48:12 CEST schrieb Gerd Petermann:

> Hi Christoph,
>
> With r3994 I've changed the default style to ignore those large islands.
> I think it was already discussed here and I simply forgot to commit the
> change: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2016q3/025051.html
>
> Gerd
> ________________________________________
> Von: mkgmap-dev <[hidden email]> im Auftrag von
> Christoph Karl <[hidden email]> Gesendet: Samstag, 19. August 2017
> 09:37:11
> An: [hidden email]
> Betreff: [mkgmap-dev] Colouring of island not correct
>
> Hi!
>
> I tried to generate a gmapsupp.img with mkgmap.
> I have done this with:
> /usr/java/jdk1.8.0_144/bin/java -Xmx8G -jar ./mkgmap-r3993/mkgmap.jar --
> gmapsupp karten/corse-latest.osm.pbf
>
> But the colouring of the landscape is not correct.
> See "corse_wrong_colour.png"
>
> Compared to "bremen_correct.png"
>
> Screenshots are made from qlandkartegt Version 1.8.1.
>
> I also tried to use "--precomp-sea=./karten/sea.zip",
> but this just colours the surrounding sea.
>
> Do you have any ideas?
>
> Thank you
>
> Best Regards
> Christoph
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev