logo separator

[mkgmap-dev] [PATCH] --ignore-builtin-relations

From WanMil wmgcnfg at web.de on Thu Aug 25 20:09:21 BST 2011

Marko,

I do not like that very much because relations are now a very common 
element of OSM and you need to know in detail what you are doing if you 
set this option. From my point of view it makes sense only if the 
polygons file of the style file is empty. So why do we need the option? 
What about adding a simple check if the polygons style file is empty?

Anyhow I would change the name of the tag to --ignore-relations. That's 
what the patch is doing (as far as I understand): do nothing with relations.

WanMil

> On Sat, Apr 16, 2011 at 12:27:30PM +0300, Marko Mäkelä wrote:
>> There is an option to disable the processing of turn restriction
>> relations (--ignore-turn-restrictions), but no option to disable the
>> processing of multipolygon relations. The attached patch introduces
>> --ignore-builtin-relations, which disables the built-in processing of
>> all relations (currently, type={boundary,multipolygon,restiction}).
>>
>> This patch reduces the processing time of my simple map layers from
>> 2.5 minutes to 2 minutes.
>
> Here is a corrected, tested version of the patch. Meanwhile, it takes
> 2.5 minutes to process --style=routes-bus on finland.osm.pbf with this
> patch applied.
>
> OK to commit?
>
> Marko
>
>
> _______________________________________________
> 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