Subversion Repositories NaviCtrl

Rev

Rev 41 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24 StephanB 1
//________________________________________________________________________________________________________________________________________
2
// 
3
// Definition of KML header and footer elements for documents, placemarks and linestrings
4
//                              
5
//________________________________________________________________________________________________________________________________________
6
 
7
 
8
const s8 KML_DOCUMENT_HEADER[] =
9
{
10
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
11
"<kml xmlns=\"http://earth.google.com/kml/2.2\">\r\n"
12
"<Document>\r\n"
41 ingob 13
"<name>Mikrokopter GPS logging</name>\r\n"
14
"\r\n"
15
"<Style id=\"MK_gps-style\">\r\n"
16
"<LineStyle>\r\n"
17
"<color>ff0000ff</color>\r\n"
18
"<width>2</width>\r\n"
19
"</LineStyle>\r\n"
20
"</Style>\r\n"
24 StephanB 21
};
22
 
23
 
24
 
25
 
26
//________________________________________________________________________________________________________________________________________
27
// 
28
// footer of an KML- file.
29
//                              
30
//________________________________________________________________________________________________________________________________________
31
 
32
 
33
const s8 KML_DOCUMENT_FOOTER[] =
34
{
41 ingob 35
"</Document>\r\n"
24 StephanB 36
"</kml>\r\n"
37
};
38
 
39
 
40
 
41
//________________________________________________________________________________________________________________________________________
42
// 
43
// Header of an placemark
44
//                              
45
//________________________________________________________________________________________________________________________________________
46
 
47
const s8 KML_PLACEMARK_HEADER[] =
41 ingob 48
{
49
"<Placemark>\r\n"
50
"<name>Flight</name>\r\n"
51
"<styleUrl>#MK_gps-style</styleUrl>\r\n"
52
};
24 StephanB 53
 
54
//________________________________________________________________________________________________________________________________________
55
// 
56
// Footer of an placemark
57
//                              
58
//________________________________________________________________________________________________________________________________________
59
 
41 ingob 60
const s8 KML_PLACEMARK_FOOTER[] =
61
{
62
"</Placemark>\r\n"
63
};
24 StephanB 64
 
65
 
66
//________________________________________________________________________________________________________________________________________
67
// 
68
// Footer of an placemark
69
//                              
70
//________________________________________________________________________________________________________________________________________
71
 
41 ingob 72
const s8 KML_LINESTRING_HEADER[] =
73
{
74
"<LineString>\r\n"
75
"<tessellate>1</tessellate>\r\n"
76
"<altitudeMode>relativeToGround</altitudeMode>\r\n"  // also possible "absolute"
77
"<coordinates>\r\n"
24 StephanB 78
};
79
 
80
//________________________________________________________________________________________________________________________________________
81
// 
82
// Footer of an linestring
83
//                              
84
//________________________________________________________________________________________________________________________________________
85
 
41 ingob 86
const s8 KML_LINESTRING_FOOTER[] =
87
{
88
"\r\n</coordinates>"
89
"\r\n</LineString>\r\n"
24 StephanB 90
};
91