[mkgmap-dev] area_size() function to be used in points file
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Apr 18 22:13:26 BST 2018
Hi Joris, the patch was for the use in the lines file, and I think I've committed it unchanged: http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4159 I have no idea why the generated POI for way 29044917 has different attributes, the patch was for way members of multipolygon relations. I don't even understand how the POI can have the mkgmap:cache_area_size tag. The tag is added by the code that handles multipolygons and by the style function area_size, which only works with ways. My current understanding is that the POI is generated before the evaluation of the style, so I don't see a way that the tag is assigned by mkgmap. I assume that you used the same input files and options for the above results? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Joris Bo <jorisbo at hotmail.com> Gesendet: Mittwoch, 18. April 2018 22:39:40 An: Development list for mkgmap Betreff: [mkgmap-dev] area_size() function to be used in points file Hello Gerd A while a go (30-9-2017) you made a patch to make the usage of the area_size() function available in the points-file through the mkgmap:cache_area_size value. I used it to only display names and symbols on bigger area’s to avoid cluttering. In the latest releases up to 4165 you mentioned fixes with ‘area_size()’ being not yet branched and some others which are branched. I lost the overview a little bit. I tested the special build of 30-9-2017 which does make the mkgmap:cache_area_size value available in the points file. (Example 1) and compared it to the mkgmap build 4165 (Example 2) which does not. Does this mean this feature is not branched or can I achieve a similar result else way? Thanx in advance Kind regards Joris mkgmap 30-9-2017 Example 1 Node generated from 29044917 [building=yes, jbprocessedpoints=true, leisure=sports_centre, mkgmap:admin_level2=NOR, mkgmap:admin_level4=Oslo, mkgmap:admin_level7=Oslo, mkgmap:admin_level9=Nordstrand, mkgmap:area2poi=true, mkgmap:cache_area_size=2658.2913818359375, mkgmap:country=NOR, name=Ekeberghallen] all Way 29044917 [building=yes, jbprocessedlines=true, leisure=sports_centre, mkgmap:admin_level2=NOR, mkgmap:admin_level4=Oslo, mkgmap:admin_level7=Oslo, mkgmap:admin_level9=Nordstrand, mkgmap:cache_area_size=2658.2913818359375, name=Ekeberghallen] all Way 29044917 [building=yes, jbprocessedlines=true, jbprocessedpolygons=true, leisure=sports_centre, mkgmap:admin_level2=NOR, mkgmap:admin_level4=Oslo, mkgmap:admin_level7=Oslo, mkgmap:admin_level9=Nordstrand, mkgmap:cache_area_size=2658.2913818359375, mkgmap:city=Nordstrand, mkgmap:country=NOR, mkgmap:region=Oslo, name=Ekeberghallen] all mkgmap-4165 Example 2 Node generated from 29044917 [building=yes, jbprocessedpoints=true, leisure=sports_centre, mkgmap:admin_level2=NOR, mkgmap:admin_level4=Oslo, mkgmap:admin_level7=Oslo, mkgmap:admin_level9=Nordstrand, mkgmap:area2poi=true, mkgmap:country=NOR, name=Ekeberghallen] all Way 29044917 [building=yes, jbprocessedlines=true, leisure=sports_centre, mkgmap:admin_level2=NOR, mkgmap:admin_level4=Oslo, mkgmap:admin_level7=Oslo, mkgmap:admin_level9=Nordstrand, mkgmap:cache_area_size=2658.2913818359375, name=Ekeberghallen] all Way 29044917 [building=yes, jbprocessedlines=true, jbprocessedpolygons=true, leisure=sports_centre, mkgmap:admin_level2=NOR, mkgmap:admin_level4=Oslo, mkgmap:admin_level7=Oslo, mkgmap:admin_level9=Nordstrand, mkgmap:cache_area_size=2658.2913818359375, mkgmap:city=Nordstrand, mkgmap:country=NOR, mkgmap:region=Oslo, name=Ekeberghallen] all
- Previous message: [mkgmap-dev] area_size() function to be used in points file
- Next message: [mkgmap-dev] area_size() function to be used in points file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list