Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 434 → Rev 433

/FollowMe/trunk/kml_header.h
1,12 → 1,9
// 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 prog_char KML_DOCUMENT_HEADER[] =
const int8_t KML_DOCUMENT_HEADER[] =
{
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
"<kml xmlns=\"http://earth.google.com/kml/2.2\">\r\n"
22,11 → 19,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// footer of an KML- file.
//
//
//________________________________________________________________________________________________________________________________________
const prog_char KML_DOCUMENT_FOOTER[] =
const int8_t KML_DOCUMENT_FOOTER[] =
{
"</Document>\r\n"
"</kml>\r\n"
33,11 → 30,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// Header of an placemark
//
//
//________________________________________________________________________________________________________________________________________
const prog_char KML_PLACEMARK_HEADER[] =
const int8_t KML_PLACEMARK_HEADER[] =
{
"<Placemark>\r\n"
"<name>Flight</name>\r\n"
45,11 → 42,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// Footer of an placemark
//
//
//________________________________________________________________________________________________________________________________________
const prog_char KML_PLACEMARK_FOOTER[] =
const int8_t KML_PLACEMARK_FOOTER[] =
{
"</Placemark>\r\n"
};
56,11 → 53,11
 
 
//________________________________________________________________________________________________________________________________________
//
//
// Header of an linestring
//
//
//________________________________________________________________________________________________________________________________________
const prog_char KML_LINESTRING_HEADER[] =
const int8_t KML_LINESTRING_HEADER[] =
{
"<LineString>\r\n"
"<tessellate>1</tessellate>\r\n"
69,11 → 66,11
};
 
//________________________________________________________________________________________________________________________________________
//
//
// Footer of an linestring
//
//
//________________________________________________________________________________________________________________________________________
const prog_char KML_LINESTRING_FOOTER[] =
const int8_t KML_LINESTRING_FOOTER[] =
{
"\r\n</coordinates>"
"\r\n</LineString>\r\n"