logo separator

[mkgmap-dev] cliffs and other one sided objects

From 7770 7770 at foskan.eu on Thu Dec 31 22:37:38 GMT 2020

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_TYPE: Cliff, edge, landslade or similar hazard
UseOrientation=Y
Xpm="32 4 2 1"
"* c #303030"
"  c none"
"    *          *          *     "
"   ***        ***        ***    "
"  *****      *****      *****   "
"********************************"
;12345678901234567890123456789012
String=Cliff, edge
String3=0x04,Cliff, edge
String6=0x07,Stup
String7=0x15,Urwisko
String10=0x0f,Stupe
ExtendedLabels=Y
FontStyle=NoLabel (invisible)
CustomColor=No
[end]

Shows very nicely, at least on a GPSMAP 66st.

Regards
Karl

On torsdag 31 december 2020 kl. 18:00:33 CET arndt at speichenkarte.de wrote:
> Hi all
> 
> BaseCamp and device displays the lines different from around. I create
> different types for BC and Oregon.
> 
> Greetz
> Arndt
> Am 31.12.20, 17:53 schrieb michael lohr <micha.lohr at web.de>:
> 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 have triangles one one side that point inward/to the upper side. To
> achieve that the line in the TYP file should have the triangles pointing
> up.
> 
> 
> 
> 
> Am 31.12.2020 um 16:54 schrieb 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 lower side.
> https://wiki.openstreetmap.org/wiki/Tag%3Anatural%3Dcliff
> 
> Now, is there some proper way to draw an TYP image to make sure that it
> indicates the up and the down side of the cliff when drawn on a garmin unit
> and follows the edge?
> 
> 
> regards
> Karl
> 
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> 
> _______________________________________________ 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