[mkgmap-dev] [PATCH] Find Places items from test-map:all-elements
From Marko Mäkelä marko.makela at iki.fi on Tue Jun 23 23:07:40 BST 2009
On Sat, Jun 20, 2009 at 11:23:16PM +0300, Marko Mäkelä wrote: > Some natural=* POI values were missing from the translation. On the Edge 705, > natural=wood will be displayed with an icon. That would be useful for marking > the names of forest areas in cities. > > The other two (natural=rock, natural=water) will be displayed as hollow > white circles by the Edge 705. The attribute natural=rock is not listed at > http://wiki.openstreetmap.org/wiki/Key:natural, but I thought that it > would be OK to mark large rocks (diameter over 1 m) as natural=rock. It turns out that unnamed natural=rock are called “kari” in the Finnish pop-up label, which means a rock that is submerged in water (dangerous for boats). I don't think that it is a grave mistake, though. I played with test-map:all-elements today. I set the environment variables BASE_LAT and BASE_LONG to my location, because the one close to London was too far for the “Find Places” menu to list any items. The result of my findings is in the attached patch. I also modified or added some translations in the points file. I'm not sure if this rule is syntactically correct, and I didn't test it: amenity=fuel & fuel:HGV_diesel=yes [ 0x2f16 resolution 19 ] This would be the third type of a fuel station, displayed with a truck icon. The patch also moves shop=bicycle to Other/Repair Services category, to differentiate it from shop=organic, which remains in Shops/Speciality Retail. Also hairdressers and beauty salons will be in the Other/Personal Service menu. Both are rendered as hollow white rectangles by the Edge 705. There are many “other“ shops, restaurants and lodgings. I believe that these codes are useful in connection with custom TYP files, which can override the label “Other“. The “other-all” entries seem less useful: the Edge 705 only displays them in the “All Categories” listing together with the combined contents of all submenus. The code 0x2f14 (social-service) would seem useful for things like amenity=prison, amenity=shelter or amenity=vending_machine, but unfortunately the Finnish translation is calling it “social welfare office”. Again, this could be addressed with a custom TYP file. Please apply the patch, at least to garmin_feature_list.csv. I wonder if mkgmap could include a TYP file in the style definition. Conceptually, the TYP file goes hand-in-hand with point and line translations. It could be a nicer (multi-lingual) solution to things like default_name. One more thing: while playing with test-map:all-elements, I noticed that there are numerous symbols that are probably meant for motorway exits. When I hovered or clicked on them, the pop-up window would show a different set of icons, such as a bed, fuel station, ellipsis (…). I did not try to find any pattern, as I am not that interested in amenities for motorists. Best regards, Marko -------------- next part -------------- A non-text attachment was scrubbed... Name: mkgmap.patch Type: text/x-diff Size: 15640 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090624/20dbe577/attachment.bin
- Previous message: [mkgmap-dev] [PATCH] some natural points
- Next message: [mkgmap-dev] [PATCH] Find Places items from test-map:all-elements
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list