logo separator

[mkgmap-dev] area size in r4160

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Apr 15 09:11:44 BST 2018

The problem was introduced with expr-func2.patch in r4158.

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser at hotmail.com>
Gesendet: Sonntag, 15. April 2018 09:31:22
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] area size in r4160

Thanks for noticing me Gerd.

>From which version it didnt work? My latest maps I've compiled with

mkgmap-r4136


________________________________
Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> namens Gerd Petermann <gpetermann_muenchen at hotmail.com>
Verzonden: zaterdag 14 april 2018 23:20:37
Aan: Development list for mkgmap
Onderwerp: Re: [mkgmap-dev] area size in r4160

Hi all,

I've created a binary with this patch:
http://files.mkgmap.org.uk/download/430/mkgmap.jar

@Steve and Minko:
I've now found this line in Minkos style which also doesn't work without the patch:
(landuse=forest | natural=wood) & area_size() > 500000 [0x50 resolution 14-19 continue]

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steve Ratcliffe <steve at parabola.me.uk>
Gesendet: Samstag, 14. April 2018 23:21:36
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] area size in r4160

Hi

The attached patch fixes this properly I believe.  Also includes
a test for your particular rule.

..Steve

> I have this rule in my style (polygons-file):
> area_size() < 25000 & (fixme = * | FIXME=* |Fixme=*) {name '${fixme}' |
> '${FIXME}' | '${Fixme}' } [0x53 resolution 24]
>
> It gives an error:
> Error in style: Error: (polygons:8): Expression cannot be indexed
>
> I think this has started in last dev version (or at least within a day
> or so)
>
> --
> Harri


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list