Re: [mkgmap-dev] How to create an empty overview map (for transparent maps)

2021-09-13 Thread Felix Hartmann
I think just remove the warning. I could not notice any problem due to it (
and if there would be problems, by now at least one user of my maps should
have complained)

On Mon, 13 Sept 2021 at 12:09, Gerd Petermann <
gpetermann_muenc...@hotmail.com> wrote:

> Hi,
>
> yes, I think that message makes no sense in this situation. I am not sure
> why I decided to log this as an error.
> See https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3679
>
> I've attached a patch to suppress the message if the input file is a
> ovm_*.img.
> I could also simply reduce severity to warning or remove it for good.
>
> Gerd
>
>
>
>
> 
> Von: mkgmap-dev  im Auftrag von
> Felix Hartmann 
> Gesendet: Mittwoch, 1. September 2021 12:18
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] How to create an empty overview map (for
> transparent  maps)
>
> If you create a separate map for buildings or contourlines only - usually
> there is no need for an overview map - or better no need for any content in
> the overview map - or am I missing something?
>
> Because those maps sometimes may have very large tiles, but very few
> levels (maybe only 24) - mkgmap creates an overview map at the next
> resolution - and will then often throw warnings such as:
>
> SEVERE (OverviewBuilder): Tile selection (0x4a) polygon for tile 8490
> cannot be written in level 0 resolution 21, using 20 instead
>
>
> There is still a need for an empty overview map - as without it you cannot
> show the map in Basecamp/Mapsource - or transfer it with MapInstall.
> I know the overview map is only empty 0x4a polygons - just wondered if
> there is a better solution...
>
> --overview-levels=
> is not given.
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] How to create an empty overview map (for transparent maps)

2021-09-13 Thread Gerd Petermann
Hi,

yes, I think that message makes no sense in this situation. I am not sure why I 
decided to log this as an error.
See https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3679

I've attached a patch to suppress the message if the input file is a ovm_*.img.
I could also simply reduce severity to warning or remove it for good.

Gerd





Von: mkgmap-dev  im Auftrag von Felix 
Hartmann 
Gesendet: Mittwoch, 1. September 2021 12:18
An: Development list for mkgmap
Betreff: [mkgmap-dev] How to create an empty overview map (for transparent  
maps)

If you create a separate map for buildings or contourlines only - usually there 
is no need for an overview map - or better no need for any content in the 
overview map - or am I missing something?

Because those maps sometimes may have very large tiles, but very few levels 
(maybe only 24) - mkgmap creates an overview map at the next resolution - and 
will then often throw warnings such as:

SEVERE (OverviewBuilder): Tile selection (0x4a) polygon for tile 8490 
cannot be written in level 0 resolution 21, using 20 instead


There is still a need for an empty overview map - as without it you cannot show 
the map in Basecamp/Mapsource - or transfer it with MapInstall.
I know the overview map is only empty 0x4a polygons - just wondered if there is 
a better solution...

--overview-levels=
is not given.

--
Felix Hartman - Openmtbmap.org & VeloMap.org



no-error-for-0x4a.patch
Description: no-error-for-0x4a.patch
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] How to create an empty overview map (for transparent maps)

2021-09-01 Thread Felix Hartmann
If you create a separate map for buildings or contourlines only - usually
there is no need for an overview map - or better no need for any content in
the overview map - or am I missing something?

Because those maps sometimes may have very large tiles, but very few levels
(maybe only 24) - mkgmap creates an overview map at the next resolution -
and will then often throw warnings such as:

SEVERE (OverviewBuilder): Tile selection (0x4a) polygon for tile 8490
cannot be written in level 0 resolution 21, using 20 instead


There is still a need for an empty overview map - as without it you cannot
show the map in Basecamp/Mapsource - or transfer it with MapInstall.
I know the overview map is only empty 0x4a polygons - just wondered if
there is a better solution...

--overview-levels=
is not given.

-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev