kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
Include altitudemode in KML
By specifying the altitudemode tag, the kml displays the correct altitude on Google Earth.pull/158/head
rodzic
a97b4e9e76
commit
84ed0823a0
|
@ -1082,7 +1082,7 @@ void addSondeStatusKML(char *ptr, int i)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf(ptr + strlen(ptr), "<Placemark id=\"%s\"><name>%s</name><Point><coordinates>%.6f,%.6f,%.0f</coordinates></Point><description>%3.3f MHz, Type: %s, h=%.0fm</description></Placemark>",
|
sprintf(ptr + strlen(ptr), "<Placemark id=\"%s\"><name>%s</name><Point><altitudeMode>absolute</altitudeMode><coordinates>%.6f,%.6f,%.0f</coordinates></Point><description>%3.3f MHz, Type: %s, h=%.0fm</description></Placemark>",
|
||||||
s->id, s->id,
|
s->id, s->id,
|
||||||
s->lon, s->lat, s->alt,
|
s->lon, s->lat, s->alt,
|
||||||
s->freq, sondeTypeStr[s->type], s->alt);
|
s->freq, sondeTypeStr[s->type], s->alt);
|
||||||
|
|
Ładowanie…
Reference in New Issue