{"id":37,"date":"2010-02-07T23:21:06","date_gmt":"2010-02-07T22:21:06","guid":{"rendered":"http:\/\/gps.hillclimb.de\/?page_id=37"},"modified":"2022-11-05T20:01:15","modified_gmt":"2022-11-05T19:01:15","slug":"beeinflussung-des-erscheinungsbildes-der-trackpunkte-in-der-ge-kml-datei-mittels-stilangaben","status":"publish","type":"page","link":"https:\/\/gps.hillclimb.de\/?page_id=37","title":{"rendered":"Track-Punkte in Google Earth: &#8222;IconStyle&#8220; und &#8222;LabelStyle&#8220;"},"content":{"rendered":"<p style=\"margin-top: -12px;margin-bottom: 26px;font-size:0.7em;\">Letzte \u00c4nderung am 25.03.2017<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">Neben dem Einstellen der Sichtbarkeit der Ortsmarken-Darstellung  <\/p>\n<p style=\"margin-top: 0px;margin-bottom: -12px;margin-left:10px;\">&#8211; hier: der <\/p>\n<p class=\"para-header\">Darstellung von Wegpunkt-Placemarks eines GPS-Tour-Verlaufs im Google Earth-Viewer-Fenster <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 4px;margin-left:10px;\">mittels Anwendung des kml-Eintrags &#34;&lt;visibility&gt;[0|1]&lt;\/visibility&gt;&#34; &#160;&#8211; <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">kann der Programmierer eines Logger-Umsetztools in der kml-Datei die Darstellung all dieser den Koordinaten-Punkten zugeordneten Ortsmarken im GoogleEarth-\/kml-Viewer \u00fcber Placemark-Style-Angaben festlegen. Das betrifft die Darstellung des <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 4px;margin-left:10px;\"><em>Ortsmarken-Bildes<\/em> <br \/>(Placemark-&#34;Icon&#34; &#8211; kml-Eintrag: &#34;&lt;IconStyle&gt;&#8230;&#34;), im einfachsten Fall kleine Quadrate oder Kreise, komfortabler z.&#160;B. am Pfad ausgerichtete Pfeilsymbole; aber auch auf (eigenen) Fotos beruhende &#8211; dann zweckm\u00e4\u00dfig etwas gr\u00f6\u00dfere &#8211; Bildchen sind m\u00f6glich,<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">und des jeweiligen<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 8px;margin-left:10px;\"><em>Ortsmarken-Textes<\/em> <br \/>(Placemark-&#34;Label&#34; &#8211; kml-Eintrag: &#34;&lt;LabelStyle&gt;&#8230;&#34;) neben den Ortsmarken-Symbolen.<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 8px;\">Prinzipiell kann er f\u00fcr jeden Punkt eine eigene Darstellung vorsehen. Als sinnvolle Anwendungen derartiger Unterscheidungen f\u00fcr einzelne Punkte bieten sich das Hervorheben besonderer Punkte, wie beispielsweise Anfang und Ende einer Tracklinie oder Punkte einzelner besonderer Gegebenheiten, an. F\u00fcr die gro\u00dfe Mehrzahl der Punkte wird aber eher eine \u00fcbereinstimmende Gestaltung inbetracht kommen.<\/p>\n<p style=\"margin-top: 10px;margin-bottom: -20px;\">Der Eintrag <\/p>\n<p class=\"para-header\">&#34;&lt;IconStyle&gt;&#8230;&lt;\/IconStyle&gt;&#34; <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">muss die Adresse\/den Link des gew\u00fcnschten Bildes enthalten, z. B. <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 4px;margin-left: 10px;\">&#34;&lt;Icon&gt;&lt;href=&#34;http:\/\/&#8230;&thinsp;.png&#34;\/&gt;&lt;\/href&gt;&lt;\/Icon&gt;&#34;, <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">ferner eine Gr\u00f6\u00dfenangabe f\u00fcr dieses Bild <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 4px;margin-left:10px;\">&#34;&lt;scale&gt;1.0&lt;\/scale&gt;&#34; <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">und ggf. eine individuelle Festlegung zu dessen Farbgestaltung, z. B. <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 8px;margin-left: 10px;\">&#34;&lt;color&gt;7fffaaff&lt;\/color&gt;&#34; <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 6px;\">Der dargestellte Text-Inhalt des Labels ist der von &#34;&lt;name&gt;[&#8230;]&lt;\/name&gt;&#34; des betreffenden Trackpunkt-&lt;placemark&gt;. Anzusehen ist das bei Google Earth in der <a href=\"https:\/\/developers.google.com\/kml\/documentation\/kmlreference?hl=de#style\" target=\"_blank\" rel=\"noopener\">Google-Earth-kml-Referenz, Stichwort &#34;Style&#34;<\/a>. ) <\/p>\n<p style=\"margin-top: 10px;margin-bottom: -20px;\">Innerhalb <\/p>\n<p class=\"para-header\">&#34;&lt;LabelStyle&gt;&#8230;&#34; <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">k\u00f6nnen eine Gr\u00f6\u00dfenfestlegung <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 4px;margin-left:10px;\">Eintragsbeispiel: &#34;&lt;scale&gt;0.8&lt;\/scale&gt;&#34;<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">und eine Festlegung der farblichen Auslegung des angezeigten Textes<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 4px;margin-left:10px;\">Eintragsbeispiel: &#34;&lt;color&gt;ffffaaff&lt;color&gt;&#34;<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 8px;\">erfolgen.<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 6px;\">Eigentliche Grundlage der Schriftformatierung des Ortsmarken-Textes ist dabei die in den GE-Viewer-Einstellungen (&#34;Tools &gt; Optionen &gt; 3D-Ansicht &gt; 3D-Schrift w\u00e4hlen&#34;) getroffene Wahl.<\/p>\n<p class=\"para-header\">&#34;&lt;StyleMap&gt;&#34; <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 6px;\"><a id=\"style_map\"><\/a>Viele Logger-Umsetzprogramme gehen bei den Festlegungen zur Trackpunktdarstellung sogar noch einen Schritt weiter. Statt der einfachen Eintr\u00e4ge f\u00fcr das Icon und das Label benutzen sie die wesentlich komfortablere &#34;&lt;StyleMap&gt;&#34;.<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 6px;\">Die damit gegebenen Gestaltungsm\u00f6glichkeiten werden aber nur von wenigen dieser Programme genutzt, z. B. im Umsetztool der  <a href=\"https:\/\/www.bt747.org\/\" target=\"_blank\" rel=\"noopener\">GPS Data Logger Software BT747<\/a> von Mario De Weerd f\u00fcr GPS-Logger mit MTK-GPS-Chipsatz.<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">Eine &#34;StyleMap&#34; fasst mehrere einfache Style-Definitionen zusammen &#8211; im Fall der Trackpunkte je zwei Formatfestlegungen sowohl f\u00fcr das Icon als auch das Label &#8211;, zwischen denen die Google Earth-Anzeige automatisch umschaltet, sobald sich der Mauszeiger dem Icon ausreichend n\u00e4hert oder wieder entfernt. <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">kml-seitige Voraussetzung f\u00fcr das Umschalten ist, dass die beiden Formatierungsangaben je einer der beiden &lt;key&gt;-Varianten f\u00fcr die<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;margin-left:10px;\">Normalansicht<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 4px;margin-left:10px;\">(kml-Eintrag &#8221;&lt;key&gt;normal&lt;\/key&gt;&#8221;)<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">und die<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;margin-left:10px;\">hervorgehobene Ansicht<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 6px;margin-left:10px;\">(kml-Eintrag &#34;&lt;key&gt;highlight&lt;\/key&gt;&#34;)<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 8px;\">zugeordnet sind &#8211; siehe <a href=\"https:\/\/developers.google.com\/kml\/documentation\/kmlreference?hl=de#stylemap\" target=\"_blank\" rel=\"noopener\">Google-Earth-kml-Referenz, Stichwort &#34;StyleMap&#34;<\/a> oder auch im <a href=\"https:\/\/developers.google.com\/kml\/documentation\/kml_tut#styles-for-highlighted-icons\" target=\"_blank\" rel=\"noopener\">Google Developers Tutuorial &#8211; Stichwort &#34;Highlighted Icons&#34;<\/a> (beide in Englisch).<br \/>\n.<\/p>\n<p style=\"margin-top: 0px;margin-bottom: 6px;\">In vielen Google Earth-Dateien sind StyleMaps oft sogar in gr\u00f6\u00dferer Anzahl enthalten, vorsorglich, auf Vorrat: Abh\u00e4ngig vom Ziel, das mit der jeweiligen Datei verfolgt wird, kommt dann ein ausgew\u00e4hlter Teil von ihnen zur Anwendung. <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 0px;\">Weiter mit <\/p>\n<p style=\"margin-top: 0px;margin-bottom: 6px;margin-left: 15px;\"><a href=\"https:\/\/gps.hillclimb.de\/?page_id=147\"><br \/>\nIcons von kml-Dateien \u2013 Verbessertes Erscheinungsbild<\/a><\/p>\n<hr style=\"margin-top: 24px;margin-bottom: 6px;text-align:left;margin-left:0;width:30%;\">\n<p style=\"margin-top: 0px;margin-bottom: 6px;\">Klaus Dannowski &#8211; <a href=\"https:\/\/gps.hillclimb.de\/?page_id=9788\">Klaus&#8216; GPS-Ecke<\/a> <br \/><small>22.O6.2OO9<\/small> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Letzte \u00c4nderung am 25.03.2017 Neben dem Einstellen der Sichtbarkeit der Ortsmarken-Darstellung &#8211; hier: der Darstellung von Wegpunkt-Placemarks eines GPS-Tour-Verlaufs im Google Earth-Viewer-Fenster mittels Anwendung des kml-Eintrags &#34;&lt;visibility&gt;[0|1]&lt;\/visibility&gt;&#34; &#160;&#8211; kann der Programmierer eines Logger-Umsetztools in der kml-Datei die Darstellung all dieser den Koordinaten-Punkten zugeordneten Ortsmarken im GoogleEarth-\/kml-Viewer \u00fcber Placemark-Style-Angaben festlegen. Das betrifft die Darstellung des Ortsmarken-Bildes [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":701,"menu_order":15,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-37","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=\/wp\/v2\/pages\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":10,"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=\/wp\/v2\/pages\/37\/revisions"}],"predecessor-version":[{"id":10683,"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=\/wp\/v2\/pages\/37\/revisions\/10683"}],"up":[{"embeddable":true,"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=\/wp\/v2\/pages\/701"}],"wp:attachment":[{"href":"https:\/\/gps.hillclimb.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}