r4046: new algo for background (0x4b) in overview map

Hi all, see http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4056 I am not sure how this works when you combine tiles that were created with the --transparent option with tiles that have a background, esp. if they cover different areas. Please test and report . Gerd

Hi Gerd, seems to work for me, but I also don't know what I should expect to see. In BaseCamp/MapSource the map is still in rectangle shape with light yellow coloured back ground in the area without data. Only difference is, that there is no more mouse over, indicating the mouse is in 'Unbekanntem Gebiet' (unknown area). I'm not using --transparent option, as I remember there was a recommendation to don't use it. I will also try again with --transparent option and let you know later. Henning On 14.01.2018 15:19, Gerd Petermann wrote:
Hi all,
see http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4056
I am not sure how this works when you combine tiles that were created with the --transparent option with tiles that have a background, esp. if they cover different areas. Please test and report .
Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

With using --transparent I can't see any differences compared to older mkgmap versions. Henning

Hi Henning, I would expect differences when you combine a normal map with transparent tiles containing contour lines and those tiles overlap the normal tiles. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Sonntag, 14. Januar 2018 12:52:04 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map With using --transparent I can't see any differences compared to older mkgmap versions. Henning _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

I have tested single layer map and also OSM layer+contour (transparent) layer, and I don't see any difference in MapSource. Contour lines are cut with the same poly than OSM data. Only difference is that overview img is slightly larger with r4056 vs r4051 in my test map (Canary Islands), but I guess it's due to commit 4054. El 14/01/18 a las 12:54, Gerd Petermann escribió:
Hi Henning,
I would expect differences when you combine a normal map with transparent tiles containing contour lines and those tiles overlap the normal tiles.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Sonntag, 14. Januar 2018 12:52:04 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
With using --transparent I can't see any differences compared to older mkgmap versions.
Henning

Hi all, thanks for testing. Size changes can be caused by block-size change, but also a non-rectangular shape requires a few more bytes. You can use GpsMapEdit to check this. I'll continue experimenting with non-rectangular 0x4a an d0x4b shapes during the next days. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam@orangecorreo.es> Gesendet: Sonntag, 14. Januar 2018 17:57:42 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map I have tested single layer map and also OSM layer+contour (transparent) layer, and I don't see any difference in MapSource. Contour lines are cut with the same poly than OSM data. Only difference is that overview img is slightly larger with r4056 vs r4051 in my test map (Canary Islands), but I guess it's due to commit 4054. El 14/01/18 a las 12:54, Gerd Petermann escribió:
Hi Henning,
I would expect differences when you combine a normal map with transparent tiles containing contour lines and those tiles overlap the normal tiles.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Sonntag, 14. Januar 2018 12:52:04 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
With using --transparent I can't see any differences compared to older mkgmap versions.
Henning
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

MapEdit shows a rectangular map coverage area polygon from r4056, see attached screenshot. May be I'm doing something wrong. El 14/01/18 a las 18:23, Gerd Petermann escribió:
Hi all,
thanks for testing. Size changes can be caused by block-size change, but also a non-rectangular shape requires a few more bytes. You can use GpsMapEdit to check this. I'll continue experimenting with non-rectangular 0x4a an d0x4b shapes during the next days.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam@orangecorreo.es> Gesendet: Sonntag, 14. Januar 2018 17:57:42 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
I have tested single layer map and also OSM layer+contour (transparent) layer, and I don't see any difference in MapSource. Contour lines are cut with the same poly than OSM data. Only difference is that overview img is slightly larger with r4056 vs r4051 in my test map (Canary Islands), but I guess it's due to commit 4054.
El 14/01/18 a las 12:54, Gerd Petermann escribió:
Hi Henning,
I would expect differences when you combine a normal map with transparent tiles containing contour lines and those tiles overlap the normal tiles.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Sonntag, 14. Januar 2018 12:52:04 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
With using --transparent I can't see any differences compared to older mkgmap versions.
Henning

Hi Carlos, if your map contains multiple tiles that form a rectangular shape than the 0x4b polygons are combined again into one rectangle by ShapeMerger. Your map of spain looked different (empty area in part of portugal), so in that map you should see a different 0x4b polygon. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam@orangecorreo.es> Gesendet: Sonntag, 14. Januar 2018 18:45:09 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map MapEdit shows a rectangular map coverage area polygon from r4056, see attached screenshot. May be I'm doing something wrong. El 14/01/18 a las 18:23, Gerd Petermann escribió:
Hi all,
thanks for testing. Size changes can be caused by block-size change, but also a non-rectangular shape requires a few more bytes. You can use GpsMapEdit to check this. I'll continue experimenting with non-rectangular 0x4a an d0x4b shapes during the next days.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam@orangecorreo.es> Gesendet: Sonntag, 14. Januar 2018 17:57:42 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
I have tested single layer map and also OSM layer+contour (transparent) layer, and I don't see any difference in MapSource. Contour lines are cut with the same poly than OSM data. Only difference is that overview img is slightly larger with r4056 vs r4051 in my test map (Canary Islands), but I guess it's due to commit 4054.
El 14/01/18 a las 12:54, Gerd Petermann escribió:
Hi Henning,
I would expect differences when you combine a normal map with transparent tiles containing contour lines and those tiles overlap the normal tiles.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Sonntag, 14. Januar 2018 12:52:04 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
With using --transparent I can't see any differences compared to older mkgmap versions.
Henning

Canary Islands contains a single tile, that's why I saw no effect:-[ Spain map now has non-rectangular overview covering only map tiles. No mouse hover, as reported by Henning. El 14/01/18 a las 19:12, Gerd Petermann escribió:
Hi Carlos,
if your map contains multiple tiles that form a rectangular shape than the 0x4b polygons are combined again into one rectangle by ShapeMerger. Your map of spain looked different (empty area in part of portugal), so in that map you should see a different 0x4b polygon.
Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam@orangecorreo.es> Gesendet: Sonntag, 14. Januar 2018 18:45:09 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
MapEdit shows a rectangular map coverage area polygon from r4056, see attached screenshot. May be I'm doing something wrong.
El 14/01/18 a las 18:23, Gerd Petermann escribió:
Hi all,
thanks for testing. Size changes can be caused by block-size change, but also a non-rectangular shape requires a few more bytes. You can use GpsMapEdit to check this. I'll continue experimenting with non-rectangular 0x4a an d0x4b shapes during the next days.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam@orangecorreo.es> Gesendet: Sonntag, 14. Januar 2018 17:57:42 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
I have tested single layer map and also OSM layer+contour (transparent) layer, and I don't see any difference in MapSource. Contour lines are cut with the same poly than OSM data. Only difference is that overview img is slightly larger with r4056 vs r4051 in my test map (Canary Islands), but I guess it's due to commit 4054.
El 14/01/18 a las 12:54, Gerd Petermann escribió:
Hi Henning,
I would expect differences when you combine a normal map with transparent tiles containing contour lines and those tiles overlap the normal tiles.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Sonntag, 14. Januar 2018 12:52:04 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] r4046: new algo for background (0x4b) in overview map
With using --transparent I can't see any differences compared to older mkgmap versions.
Henning
participants (4)
-
Carlos Dávila
-
Gerd Petermann
-
Gerd Petermann
-
Henning Scholland