Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 433 → Rev 434

/FollowMe/trunk/kml_header.h
1,9 → 1,12
// all constant strings are within the flash to save space in the sram
#include <avr/pgmspace.h>
 
//________________________________________________________________________________________________________________________________________
//
//
// Definition of KML header and footer elements for documents, placemarks and linestrings
//
//
//________________________________________________________________________________________________________________________________________
const int8_t KML_DOCUMENT_HEADER[] =
const prog_char KML_DOCUMENT_HEADER[] =
{
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
"<kml xmlns=\"http://earth.google.com/kml/2.2\">\r\n"
19,11 → 22,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// footer of an KML- file.
//
//
//________________________________________________________________________________________________________________________________________
const int8_t KML_DOCUMENT_FOOTER[] =
const prog_char KML_DOCUMENT_FOOTER[] =
{
"</Document>\r\n"
"</kml>\r\n"
30,11 → 33,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// Header of an placemark
//
//
//________________________________________________________________________________________________________________________________________
const int8_t KML_PLACEMARK_HEADER[] =
const prog_char KML_PLACEMARK_HEADER[] =
{
"<Placemark>\r\n"
"<name>Flight</name>\r\n"
42,11 → 45,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// Footer of an placemark
//
//
//________________________________________________________________________________________________________________________________________
const int8_t KML_PLACEMARK_FOOTER[] =
const prog_char KML_PLACEMARK_FOOTER[] =
{
"</Placemark>\r\n"
};
53,11 → 56,11
 
 
//________________________________________________________________________________________________________________________________________
//
//
// Header of an linestring
//
//
//________________________________________________________________________________________________________________________________________
const int8_t KML_LINESTRING_HEADER[] =
const prog_char KML_LINESTRING_HEADER[] =
{
"<LineString>\r\n"
"<tessellate>1</tessellate>\r\n"
66,11 → 69,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// Footer of an linestring
//
//
//________________________________________________________________________________________________________________________________________
const int8_t KML_LINESTRING_FOOTER[] =
const prog_char KML_LINESTRING_FOOTER[] =
{
"\r\n</coordinates>"
"\r\n</LineString>\r\n"