logo separator

[mkgmap-dev] area size in r4160

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Apr 15 07:20:37 BST 2018

Hi all,

I've created a binary with this patch:

@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]


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


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


> 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

More information about the mkgmap-dev mailing list