Re: [mkgmap-dev] cliffs and other one sided objects

2020-12-31 Thread 7770
Hi. That worked really well, thanks for the answers! Right side of a line is as the up side in the TYP image. :-) I made the following: in lines style: (natural=cliff | natural=landslide | hazad=landslide) { name '${name}' } [0x10501 resolution 22] and in the TYP: [_line] type=0x10501 ;FOSKAN_TY

Re: [mkgmap-dev]  Re: cliffs and other one sided objects

2020-12-31 Thread ar...@speichenkarte.de
Hi allBaseCamp and device displays the lines different from around. I create different types for BC and Oregon.GreetzArndtAm 31.12.20, 17:53 schrieb michael lohr : I'm not sure I understand your question correctly, but I'll try: Mkgmap or the TYP file have no way of knowing which side of the

Re: [mkgmap-dev] cliffs and other one sided objects

2020-12-31 Thread michael lohr
I'm not sure I understand your question correctly, but I'll try: Mkgmap or the TYP file have no way of knowing which side of the cliff is up or down - you'll have to rely on the OSM data to be correct. To display it on the map, use asymmetrical lines. Commonly used for cliffs is are lines that ha

[mkgmap-dev] cliffs and other one sided objects

2020-12-31 Thread 7770
Hi. A question on one sided objects that are not only horisontal or vertical. In the Style manual (pdf), on page 13, there is an example: natural=cliff { name '${name} cliff' | 'cliff' } [0x10501 resolution 22] This is indeed a very nice example. Map data specifies that the rights side is the lo

[mkgmap-dev] Fix Sea Patch

2020-12-31 Thread Mike Baggaley
Hi Gerd, Mkgmap used to contain some code that attempted to correct incorrect sea and land data where polygons were ordered in the wrong direction. This was removed some time ago because it didn't work properly. I have put together the attached patch that works much better and have been using it f

[mkgmap-dev] Minor documentation patch

2020-12-31 Thread Mike Baggaley
Hi Gerd, please find attached a patch that makes some minor improvements to the documentation. Please review and commit if OK. Cheers, Mike minordoc.patch Description: Binary data ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.m

Re: [mkgmap-dev] Styles, typ and multiple languages

2020-12-31 Thread Mike Baggaley
For info, I have the following in my style file - you may find something similar useful: # set English variant as main name and Welsh variant as secondary in Wales name=* & name:en=* & name:cy!=* & name:en!=$name & mkgmap:admin_level4='Wales' {set name:cy='${name}'} name:cy=* & mkgmap:admin_leve

Re: [mkgmap-dev] Styles, typ and multiple languages

2020-12-31 Thread Ticker Berkin
Hi I prefer: --name-tag-list=name:en,int_name,name,place_name,loc_name for most maps, but where the country frequently has parallel naming in a European language, eg French for Morocco, I use: --name-tag-list=name:en,int_name,name:fr,name,place_name,loc_name Adjust above for your own lang