logo separator

[mkgmap-dev] Commit: r2049: Reimplementation of the add-pois-to-area option

From WanMil wmgcnfg at web.de on Thu Oct 13 19:28:32 BST 2011

> Am 13.10.2011 11:19, schrieb Chris66:
>> Am 10.10.2011 20:37, schrieb svn commit:
>>
>>> Reimplementation of the add-pois-to-area option
>>>
>>> The major advantages are:
>>> * Only one POI per multipolygon
>>> * Add POIs before style processing so it is not necessary to have a rule in the polygons file if only a POI is wanted
>>> For more details look into the help text in the options file.
>> Didn't follow all the postings.
>>
>> Main question: Existing styles have to be adjusted, right?
>>
>> Or is it downward compatible to existing styles?
> If you haven't made any hacks in your Style-File to show more POI's,
> there shouldn't be a problem.
>
> Henning

Possible hacks that need to be or can be changed now are:
1. In the old implementation there was the requirement to have a rule in 
the polygons file for polygons for which a POI should be added. Some 
people added rules with transparent polygons so that the POI is visible 
but the polygon is not. This is no longer necessary. A rule in the 
points file is enough if you want to display the POI but not the polygon.

2. For the same reason you might have to change you points style now 
because for polygons that are not defined in the polygons style a POI is 
added anyhow if there is a rule in the points style. So you might add a 
rule like:
aeroway=terminal & mkgmap:area2poi!=true [0x2f04 resolution 22]
See also Minkos post for full details.

Have fun!
WanMil



More information about the mkgmap-dev mailing list