Re: [mkgmap-dev] FYI Population specified on admin boundaries

2021-02-16 Thread Gerd Petermann
Hi Joris,

doesn't that mean that the population of the whole country is used for the 
capital?

Gerd


Von: mkgmap-dev  im Auftrag von Joris 
Bo 
Gesendet: Mittwoch, 17. Februar 2021 08:12
An: Development list for mkgmap
Betreff: [mkgmap-dev] FYI Population specified on admin boundaries

Hi,

The French osm community decided to remove the population tag from cities and 
towns and add them the municipality admin-border instead.
Because of this tagging place=city can not be displayed at certain zoomlevels 
based on the population anymore.

I added this to the relation file to have large cities nicely popup early on 
lower zoomelvels again

type = boundary & boundary = administrative & population = *
{ apply role=admin_centre
  {
set population = '${population}';
  }
}

(or bettter:  you assign it here to a new tag “population_from_boundaries” and 
check both in the points style to avoid accidential overwrites, which I 
actually did)



Kind regards,

Joris Bo
jori...@hotmail.com

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] FYI Population specified on admin boundaries

2021-02-16 Thread Joris Bo
Hi,

The French osm community decided to remove the population tag from cities and 
towns and add them the municipality admin-border instead.
Because of this tagging place=city can not be displayed at certain zoomlevels 
based on the population anymore.

I added this to the relation file to have large cities nicely popup early on 
lower zoomelvels again

type = boundary & boundary = administrative & population = *
{ apply role=admin_centre
  {
set population = '${population}';
  }
}

(or bettter:  you assign it here to a new tag "population_from_boundaries" and 
check both in the points style to avoid accidential overwrites, which I 
actually did)



Kind regards,

Joris Bo
jori...@hotmail.com

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] Documentation improvements for sea processing,

2021-02-16 Thread Mike Baggaley
Hi Gerd,

Please find attached a patch to improve the documentation of sea processing
plus minor changes to --add-pois-to-lines.

I note that extend-sea-sectors says  "Adds a point so coastline reaches the
nearest tile boundary. This implies no-sea-sectors". But no-sea-sectors
disables the generation of sea sectors when the coastline fails to reach the
tile's boundary, so I would have thought that extend-sea-sectors is an
alternative action and would imply that no-sea-sectors is off.

Cheers,
Mike


seadoc.patch
Description: Binary data
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] is_in with own Tags?

2021-02-16 Thread jan meisters
Hi Gerd,

so easy - that works!
Thanks for helping me out
Jan

> Am 16.02.2021 um 17:44 schrieb Gerd Petermann 
> :
> 
> Hi Jan,
> 
> is_in(leisure,park,...) & is_in(sport,swimming,...)
> should work.
> 
> Gerd
> 
> 
> Von: mkgmap-dev  im Auftrag von jan 
> meisters 
> Gesendet: Dienstag, 16. Februar 2021 17:31
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] is_in with own Tags?
> 
> Hi Joris,
> 
> thanks for stating - I guessed something like that.
> 
> What I want is to is_in for a tag-combination, e.g. leisure=park & 
> sport=swimming.
> I have a poi-rule for park first and further want to exclude 
> swimmings inside matching polygons.
> 
> Do I have another option to define the combination so that it can be seen by 
> is_in?
> 
> Thanks
> Jan
> 
>> Am 16.02.2021 um 14:48 schrieb Joris Bo :
>> 
>> Hi Jan
>> 
>> As far as i understood this function really checks the polygons around the 
>> poi to check if the poi-coordinates are located within the polygon specified.
>> It can not check variables because they don't have an outline.
>> 
>> 
>> 
>> Met vriendelijke groeten,
>> 
>> Joris Bo
>> jori...@hotmail.com
>> 
>> -Oorspronkelijk bericht-
>> Van: mkgmap-dev  Namens jan meisters
>> Verzonden: dinsdag 16 februari 2021 14:12
>> Aan: Development list for mkgmap 
>> Onderwerp: [mkgmap-dev] is_in with own Tags?
>> 
>> Hi all,
>> 
>> I try to use is_in to fetch pois inside own invented tags, e.g.:
>> 
>>  leisure=park {add processed=yes} [0x2c06 resolution 24 continue 
>> with_actions]
>>  leisure=swimming_pool & is_in(processed,yes,in_or_on)=true {delete 
>> leisure}
>> 
>> This fails, however „is_in(leisure,park,in_or_on)=true“ works in the example.
>> Could someone explain where I´m wrong?
>> 
>> Thanks
>> Jan
>> ___
>> mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>> ___
>> mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] is_in with own Tags?

2021-02-16 Thread Gerd Petermann
Hi Jan,

is_in(leisure,park,...) & is_in(sport,swimming,...)
should work.

Gerd


Von: mkgmap-dev  im Auftrag von jan 
meisters 
Gesendet: Dienstag, 16. Februar 2021 17:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] is_in with own Tags?

Hi Joris,

thanks for stating - I guessed something like that.

What I want is to is_in for a tag-combination, e.g. leisure=park & 
sport=swimming.
I have a poi-rule for park first and further want to exclude swimmings 
inside matching polygons.

Do I have another option to define the combination so that it can be seen by 
is_in?

Thanks
Jan

> Am 16.02.2021 um 14:48 schrieb Joris Bo :
>
> Hi Jan
>
> As far as i understood this function really checks the polygons around the 
> poi to check if the poi-coordinates are located within the polygon specified.
> It can not check variables because they don't have an outline.
>
>
>
> Met vriendelijke groeten,
>
> Joris Bo
> jori...@hotmail.com
>
> -Oorspronkelijk bericht-
> Van: mkgmap-dev  Namens jan meisters
> Verzonden: dinsdag 16 februari 2021 14:12
> Aan: Development list for mkgmap 
> Onderwerp: [mkgmap-dev] is_in with own Tags?
>
> Hi all,
>
> I try to use is_in to fetch pois inside own invented tags, e.g.:
>
>   leisure=park {add processed=yes} [0x2c06 resolution 24 continue 
> with_actions]
>   leisure=swimming_pool & is_in(processed,yes,in_or_on)=true {delete 
> leisure}
>
> This fails, however „is_in(leisure,park,in_or_on)=true“ works in the example.
> Could someone explain where I´m wrong?
>
> Thanks
> Jan
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] is_in with own Tags?

2021-02-16 Thread jan meisters
Hi Joris,

thanks for stating - I guessed something like that.

What I want is to is_in for a tag-combination, e.g. leisure=park & 
sport=swimming.
I have a poi-rule for park first and further want to exclude swimmings 
inside matching polygons.

Do I have another option to define the combination so that it can be seen by 
is_in?

Thanks
Jan

> Am 16.02.2021 um 14:48 schrieb Joris Bo :
> 
> Hi Jan
> 
> As far as i understood this function really checks the polygons around the 
> poi to check if the poi-coordinates are located within the polygon specified.
> It can not check variables because they don't have an outline.
> 
> 
> 
> Met vriendelijke groeten,
> 
> Joris Bo
> jori...@hotmail.com
> 
> -Oorspronkelijk bericht-
> Van: mkgmap-dev  Namens jan meisters
> Verzonden: dinsdag 16 februari 2021 14:12
> Aan: Development list for mkgmap 
> Onderwerp: [mkgmap-dev] is_in with own Tags?
> 
> Hi all,
> 
> I try to use is_in to fetch pois inside own invented tags, e.g.:
> 
>   leisure=park {add processed=yes} [0x2c06 resolution 24 continue 
> with_actions]
>   leisure=swimming_pool & is_in(processed,yes,in_or_on)=true {delete 
> leisure}
> 
> This fails, however „is_in(leisure,park,in_or_on)=true“ works in the example.
> Could someone explain where I´m wrong?
> 
> Thanks
> Jan
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] is_in with own Tags?

2021-02-16 Thread Joris Bo
Hi Jan

As far as i understood this function really checks the polygons around the poi 
to check if the poi-coordinates are located within the polygon specified.
It can not check variables because they don't have an outline.



Met vriendelijke groeten,

Joris Bo
jori...@hotmail.com

-Oorspronkelijk bericht-
Van: mkgmap-dev  Namens jan meisters
Verzonden: dinsdag 16 februari 2021 14:12
Aan: Development list for mkgmap 
Onderwerp: [mkgmap-dev] is_in with own Tags?

Hi all,

I try to use is_in to fetch pois inside own invented tags, e.g.:

leisure=park {add processed=yes} [0x2c06 resolution 24 continue 
with_actions]
leisure=swimming_pool & is_in(processed,yes,in_or_on)=true {delete 
leisure}

This fails, however „is_in(leisure,park,in_or_on)=true“ works in the example.
Could someone explain where I´m wrong?

Thanks
Jan
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] is_in with own Tags?

2021-02-16 Thread jan meisters
Hi all,

I try to use is_in to fetch pois inside own invented tags, e.g.:

leisure=park {add processed=yes} [0x2c06 resolution 24 continue 
with_actions]
leisure=swimming_pool & is_in(processed,yes,in_or_on)=true {delete 
leisure}

This fails, however „is_in(leisure,park,in_or_on)=true“ works in the example.
Could someone explain where I´m wrong?

Thanks
Jan
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev