Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
BIN
data/test_data/kml/BACRNKMZ.kmz
Normal file
BIN
data/test_data/kml/BACRNKMZ.kmz
Normal file
Binary file not shown.
310
data/test_data/kml/generated.kml
Normal file
310
data/test_data/kml/generated.kml
Normal file
|
|
@ -0,0 +1,310 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kml xmlns="http://earth.google.com/kml/2.2">
|
||||
<Document>
|
||||
<Style id="placemark-red">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-red.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-blue">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-blue.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-purple">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-purple.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-yellow">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-yellow.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-pink">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-pink.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-brown">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-brown.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-green">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-green.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-orange">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-orange.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-deeppurple">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-deeppurple.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-lightblue">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-lightblue.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-cyan">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-cyan.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-teal">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-teal.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-lime">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-lime.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-deeporange">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-deeporange.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-gray">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-gray.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-bluegray">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-bluegray.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<name>Test category</name>
|
||||
<description>Test description</description>
|
||||
<visibility>1</visibility>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||
<mwm:lang code="default">Test category</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание</mwm:lang>
|
||||
<mwm:lang code="default">Test description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:imageUrl>https://localhost/123.png</mwm:imageUrl>
|
||||
<mwm:author id="12345">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:16:40Z</mwm:lastModified>
|
||||
<mwm:rating>8.9</mwm:rating>
|
||||
<mwm:reviewsNumber>567</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>ski</mwm:value>
|
||||
<mwm:value>snowboard</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>12345</mwm:value>
|
||||
<mwm:value>54321</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
<mwm:compilation id="1" type="Collection">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая коллекция</mwm:lang>
|
||||
<mwm:lang code="default">Test collection</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test collection annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test collection annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание коллекции</mwm:lang>
|
||||
<mwm:lang code="default">Test collection description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:visibility>1</mwm:visibility>
|
||||
<mwm:imageUrl>https://localhost/1234.png</mwm:imageUrl>
|
||||
<mwm:author id="54321">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:16:39Z</mwm:lastModified>
|
||||
<mwm:rating>5.9</mwm:rating>
|
||||
<mwm:reviewsNumber>333</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>ski</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>8</mwm:value>
|
||||
<mwm:value>9</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</mwm:compilation>
|
||||
<mwm:compilation id="4" type="Category">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||
<mwm:lang code="default">Test category</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test category annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test category annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание категории</mwm:lang>
|
||||
<mwm:lang code="default">Test category description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:imageUrl>https://localhost/134.png</mwm:imageUrl>
|
||||
<mwm:author id="11111">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:05:23Z</mwm:lastModified>
|
||||
<mwm:rating>3.3</mwm:rating>
|
||||
<mwm:reviewsNumber>222</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>bike</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>10</mwm:value>
|
||||
<mwm:value>11</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</mwm:compilation>
|
||||
</ExtendedData>
|
||||
<Placemark>
|
||||
<name>Мое любимое место</name>
|
||||
<description>Test bookmark description</description>
|
||||
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
||||
<styleUrl>#placemark-blue</styleUrl>
|
||||
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
||||
<mwm:lang code="default">Test bookmark</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание метки</mwm:lang>
|
||||
<mwm:lang code="default">Test bookmark description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:featureTypes>
|
||||
<mwm:value>historic-castle</mwm:value>
|
||||
<mwm:value>historic-memorial</mwm:value>
|
||||
</mwm:featureTypes>
|
||||
<mwm:customName>
|
||||
<mwm:lang code="en">My favorite place</mwm:lang>
|
||||
<mwm:lang code="default">Мое любимое место</mwm:lang>
|
||||
</mwm:customName>
|
||||
<mwm:scale>15</mwm:scale>
|
||||
<mwm:boundTracks>
|
||||
<mwm:value>0</mwm:value>
|
||||
</mwm:boundTracks>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:nearestToponym>12345</mwm:nearestToponym>
|
||||
<mwm:minZoom>10</mwm:minZoom>
|
||||
<mwm:properties>
|
||||
<mwm:value key="bm_property1">value1</mwm:value>
|
||||
<mwm:value key="bm_property2">value2</mwm:value>
|
||||
<mwm:value key="score">5</mwm:value>
|
||||
</mwm:properties>
|
||||
<mwm:compilations>1,2,3,4,5</mwm:compilations>
|
||||
</ExtendedData>
|
||||
</Placemark>
|
||||
<Placemark>
|
||||
<name>Test track</name>
|
||||
<description>Test track description</description>
|
||||
<Style><LineStyle>
|
||||
<color>FF0000FF</color>
|
||||
<width>6</width>
|
||||
</LineStyle></Style>
|
||||
<TimeStamp><when>1970-01-01T00:15:00Z</when></TimeStamp>
|
||||
<LineString><coordinates>45.9242,49.326859,1 45.2244,48.941288,2 45.1964,49.401948,3</coordinates></LineString>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
||||
<mwm:lang code="default">Test track</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание трека</mwm:lang>
|
||||
<mwm:lang code="default">Test track description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:localId>0</mwm:localId>
|
||||
<mwm:additionalStyle>
|
||||
<mwm:additionalLineStyle>
|
||||
<color>FF00FF00</color>
|
||||
<width>7</width>
|
||||
</mwm:additionalLineStyle>
|
||||
</mwm:additionalStyle>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:nearestToponyms>
|
||||
<mwm:value>12345</mwm:value>
|
||||
<mwm:value>54321</mwm:value>
|
||||
<mwm:value>98765</mwm:value>
|
||||
</mwm:nearestToponyms>
|
||||
<mwm:properties>
|
||||
<mwm:value key="tr_property1">value1</mwm:value>
|
||||
<mwm:value key="tr_property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</ExtendedData>
|
||||
</Placemark>
|
||||
</Document>
|
||||
</kml>
|
||||
326
data/test_data/kml/generated_mixed_tracks.kml
Normal file
326
data/test_data/kml/generated_mixed_tracks.kml
Normal file
|
|
@ -0,0 +1,326 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
|
||||
<Document>
|
||||
<Style id="placemark-red">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-red.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-blue">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-blue.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-purple">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-purple.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-yellow">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-yellow.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-pink">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-pink.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-brown">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-brown.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-green">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-green.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-orange">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-orange.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-deeppurple">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-deeppurple.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-lightblue">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-lightblue.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-cyan">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-cyan.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-teal">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-teal.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-lime">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-lime.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-deeporange">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-deeporange.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-gray">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-gray.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-bluegray">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-bluegray.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<name>Test category</name>
|
||||
<description>Test description</description>
|
||||
<visibility>1</visibility>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||
<mwm:lang code="default">Test category</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание</mwm:lang>
|
||||
<mwm:lang code="default">Test description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:imageUrl>https://localhost/123.png</mwm:imageUrl>
|
||||
<mwm:author id="12345">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:16:40Z</mwm:lastModified>
|
||||
<mwm:rating>8.9</mwm:rating>
|
||||
<mwm:reviewsNumber>567</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>ski</mwm:value>
|
||||
<mwm:value>snowboard</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>12345</mwm:value>
|
||||
<mwm:value>54321</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
<mwm:compilation id="1" type="Collection">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая коллекция</mwm:lang>
|
||||
<mwm:lang code="default">Test collection</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test collection annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test collection annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание коллекции</mwm:lang>
|
||||
<mwm:lang code="default">Test collection description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:visibility>1</mwm:visibility>
|
||||
<mwm:imageUrl>https://localhost/1234.png</mwm:imageUrl>
|
||||
<mwm:author id="54321">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:16:39Z</mwm:lastModified>
|
||||
<mwm:rating>5.9</mwm:rating>
|
||||
<mwm:reviewsNumber>333</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>ski</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>8</mwm:value>
|
||||
<mwm:value>9</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</mwm:compilation>
|
||||
<mwm:compilation id="4" type="Category">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||
<mwm:lang code="default">Test category</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test category annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test category annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание категории</mwm:lang>
|
||||
<mwm:lang code="default">Test category description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:imageUrl>https://localhost/134.png</mwm:imageUrl>
|
||||
<mwm:author id="11111">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:05:23Z</mwm:lastModified>
|
||||
<mwm:rating>3.3</mwm:rating>
|
||||
<mwm:reviewsNumber>222</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>bike</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>10</mwm:value>
|
||||
<mwm:value>11</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</mwm:compilation>
|
||||
</ExtendedData>
|
||||
<Placemark>
|
||||
<name>Мое любимое место</name>
|
||||
<description>Test bookmark description</description>
|
||||
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
||||
<styleUrl>#placemark-blue</styleUrl>
|
||||
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
||||
<mwm:lang code="default">Test bookmark</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание метки</mwm:lang>
|
||||
<mwm:lang code="default">Test bookmark description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:featureTypes>
|
||||
<mwm:value>historic-castle</mwm:value>
|
||||
<mwm:value>historic-memorial</mwm:value>
|
||||
</mwm:featureTypes>
|
||||
<mwm:customName>
|
||||
<mwm:lang code="en">My favorite place</mwm:lang>
|
||||
<mwm:lang code="default">Мое любимое место</mwm:lang>
|
||||
</mwm:customName>
|
||||
<mwm:scale>15</mwm:scale>
|
||||
<mwm:boundTracks>
|
||||
<mwm:value>0</mwm:value>
|
||||
</mwm:boundTracks>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:nearestToponym>12345</mwm:nearestToponym>
|
||||
<mwm:minZoom>10</mwm:minZoom>
|
||||
<mwm:properties>
|
||||
<mwm:value key="bm_property1">value1</mwm:value>
|
||||
<mwm:value key="bm_property2">value2</mwm:value>
|
||||
<mwm:value key="score">5</mwm:value>
|
||||
</mwm:properties>
|
||||
<mwm:compilations>1,2,3,4,5</mwm:compilations>
|
||||
</ExtendedData>
|
||||
</Placemark>
|
||||
<Placemark>
|
||||
<name>Test track</name>
|
||||
<description>Test track description</description>
|
||||
<Style><LineStyle>
|
||||
<color>FF0000FF</color>
|
||||
<width>6</width>
|
||||
</LineStyle></Style>
|
||||
<TimeStamp><when>1970-01-01T00:15:00Z</when></TimeStamp>
|
||||
<LineString><coordinates>45.9242,49.326859,1 45.2244,48.941288,2 45.1964,49.401948,3</coordinates></LineString>
|
||||
<gx:MultiTrack>
|
||||
<gx:Track>
|
||||
<when>1970-01-01T00:00:00Z</when>
|
||||
<when>1970-01-01T00:00:01Z</when>
|
||||
<when>1970-01-01T00:00:02Z</when>
|
||||
<gx:coord>45.9242 49.326859 1</gx:coord>
|
||||
<gx:coord>45.2244 48.941288 2</gx:coord>
|
||||
<gx:coord>45.1964 49.401948 3</gx:coord>
|
||||
</gx:Track>
|
||||
<gx:Track>
|
||||
<when>1970-01-01T00:00:00Z</when>
|
||||
<when>1970-01-01T00:00:01Z</when>
|
||||
<gx:coord>45.9242 49.326859 1</gx:coord>
|
||||
<gx:coord>45.2244 48.941288 2</gx:coord>
|
||||
</gx:Track>
|
||||
</gx:MultiTrack>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
||||
<mwm:lang code="default">Test track</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание трека</mwm:lang>
|
||||
<mwm:lang code="default">Test track description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:localId>0</mwm:localId>
|
||||
<mwm:additionalStyle>
|
||||
<mwm:additionalLineStyle>
|
||||
<color>FF00FF00</color>
|
||||
<width>7</width>
|
||||
</mwm:additionalLineStyle>
|
||||
</mwm:additionalStyle>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:nearestToponyms>
|
||||
<mwm:value>12345</mwm:value>
|
||||
<mwm:value>54321</mwm:value>
|
||||
<mwm:value>98765</mwm:value>
|
||||
</mwm:nearestToponyms>
|
||||
<mwm:properties>
|
||||
<mwm:value key="tr_property1">value1</mwm:value>
|
||||
<mwm:value key="tr_property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</ExtendedData>
|
||||
</Placemark>
|
||||
</Document>
|
||||
</kml>
|
||||
10
data/test_data/kml/kmz_index.kml
Normal file
10
data/test_data/kml/kmz_index.kml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kml xmlns="http://earth.google.com/kml/2.0">
|
||||
<Document>
|
||||
<name>CoMaps Bookmarks and Tracks</name>
|
||||
<NetworkLink><name>Some random route</name><Link><href>files/Some random route.kml</href></Link></NetworkLink>
|
||||
<NetworkLink><name>new</name><Link><href>files/new.kml</href></Link></NetworkLink>
|
||||
<NetworkLink><name>CoMaps_1</name><Link><href>files/CoMaps_1.kml</href></Link></NetworkLink>
|
||||
<NetworkLink><name>CoMaps_2</name><Link><href>files/CoMaps_2.kml</href></Link></NetworkLink>
|
||||
</Document>
|
||||
</kml>
|
||||
BIN
data/test_data/kml/test.kmz
Normal file
BIN
data/test_data/kml/test.kmz
Normal file
Binary file not shown.
53
data/test_data/kml/track-from-google-earth.kml
Normal file
53
data/test_data/kml/track-from-google-earth.kml
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<Document>
|
||||
<name>TrackTest.kmz</name>
|
||||
<Style id="s_ylw-pushpin_hl">
|
||||
<IconStyle>
|
||||
<scale>1.3</scale>
|
||||
<Icon>
|
||||
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
|
||||
</Icon>
|
||||
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
|
||||
</IconStyle>
|
||||
<LineStyle>
|
||||
<color>ff20ff39</color>
|
||||
<width>2</width>
|
||||
</LineStyle>
|
||||
</Style>
|
||||
<StyleMap id="m_ylw-pushpin">
|
||||
<Pair>
|
||||
<key>normal</key>
|
||||
<styleUrl>#s_ylw-pushpin</styleUrl>
|
||||
</Pair>
|
||||
<Pair>
|
||||
<key>highlight</key>
|
||||
<styleUrl>#s_ylw-pushpin_hl</styleUrl>
|
||||
</Pair>
|
||||
</StyleMap>
|
||||
<Style id="s_ylw-pushpin">
|
||||
<IconStyle>
|
||||
<scale>1.1</scale>
|
||||
<Icon>
|
||||
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
|
||||
</Icon>
|
||||
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
|
||||
</IconStyle>
|
||||
<LineStyle>
|
||||
<color>ff20ff39</color>
|
||||
<width>2</width>
|
||||
</LineStyle>
|
||||
</Style>
|
||||
<Placemark>
|
||||
<name>XY</name>
|
||||
<description>Description of XY</description>
|
||||
<styleUrl>#m_ylw-pushpin</styleUrl>
|
||||
<LineString>
|
||||
<tessellate>1</tessellate>
|
||||
<coordinates>
|
||||
27.65525509456809,53.97609669481151,0 27.72997455747025,53.9215437998892,0
|
||||
</coordinates>
|
||||
</LineString>
|
||||
</Placemark>
|
||||
</Document>
|
||||
</kml>
|
||||
1170
data/test_data/kml/track.kml
Normal file
1170
data/test_data/kml/track.kml
Normal file
File diff suppressed because it is too large
Load diff
10018
data/test_data/kml/track_from_OpenTracks.kml
Normal file
10018
data/test_data/kml/track_from_OpenTracks.kml
Normal file
File diff suppressed because it is too large
Load diff
19
data/test_data/kml/track_with_timestamps_mismatch.kml
Normal file
19
data/test_data/kml/track_with_timestamps_mismatch.kml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
|
||||
<Placemark id="PM005">
|
||||
<gx:Track>
|
||||
<when>2010-05-28T02:02:44Z</when>
|
||||
<when>2010-05-28T02:02:53Z</when>
|
||||
<when>2010-05-28T02:02:54Z</when>
|
||||
<when>2010-05-28T02:02:55Z</when>
|
||||
<when>2010-05-28T02:02:56Z</when>
|
||||
<gx:coord>-122.207881 37.371915 156.000000</gx:coord>
|
||||
<gx:coord>-122.205712 37.373288 152.000000</gx:coord>
|
||||
<gx:coord>-122.204678 37.373939 147.000000</gx:coord>
|
||||
<gx:coord>-122.203572 37.374630 142.199997</gx:coord>
|
||||
<gx:coord>-122.203451 37.374706 141.800003</gx:coord>
|
||||
<gx:coord>-122.203329 37.374780 141.199997</gx:coord>
|
||||
<gx:coord>-122.203207 37.374857 140.199997</gx:coord>
|
||||
</gx:Track>
|
||||
</Placemark>
|
||||
</kml>
|
||||
343
data/test_data/kml/track_with_timestams_different_orders.kml
Normal file
343
data/test_data/kml/track_with_timestams_different_orders.kml
Normal file
|
|
@ -0,0 +1,343 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
|
||||
<Document>
|
||||
<Style id="placemark-red">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-red.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-blue">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-blue.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-purple">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-purple.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-yellow">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-yellow.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-pink">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-pink.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-brown">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-brown.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-green">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-green.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-orange">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-orange.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-deeppurple">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-deeppurple.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-lightblue">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-lightblue.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-cyan">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-cyan.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-teal">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-teal.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-lime">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-lime.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-deeporange">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-deeporange.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-gray">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-gray.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<Style id="placemark-bluegray">
|
||||
<IconStyle>
|
||||
<Icon>
|
||||
<href>https://comaps.at/placemarks/placemark-bluegray.png</href>
|
||||
</Icon>
|
||||
</IconStyle>
|
||||
</Style>
|
||||
<name>Test category</name>
|
||||
<description>Test description</description>
|
||||
<visibility>1</visibility>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||
<mwm:lang code="default">Test category</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание</mwm:lang>
|
||||
<mwm:lang code="default">Test description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:imageUrl>https://localhost/123.png</mwm:imageUrl>
|
||||
<mwm:author id="12345">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:16:40Z</mwm:lastModified>
|
||||
<mwm:rating>8.9</mwm:rating>
|
||||
<mwm:reviewsNumber>567</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>ski</mwm:value>
|
||||
<mwm:value>snowboard</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>12345</mwm:value>
|
||||
<mwm:value>54321</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
<mwm:compilation id="1" type="Collection">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая коллекция</mwm:lang>
|
||||
<mwm:lang code="default">Test collection</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test collection annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test collection annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание коллекции</mwm:lang>
|
||||
<mwm:lang code="default">Test collection description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:visibility>1</mwm:visibility>
|
||||
<mwm:imageUrl>https://localhost/1234.png</mwm:imageUrl>
|
||||
<mwm:author id="54321">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:16:39Z</mwm:lastModified>
|
||||
<mwm:rating>5.9</mwm:rating>
|
||||
<mwm:reviewsNumber>333</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>ski</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>8</mwm:value>
|
||||
<mwm:value>9</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</mwm:compilation>
|
||||
<mwm:compilation id="4" type="Category">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||
<mwm:lang code="default">Test category</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:annotation>
|
||||
<mwm:lang code="en">Test category annotation</mwm:lang>
|
||||
<mwm:lang code="default">Test category annotation</mwm:lang>
|
||||
</mwm:annotation>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание категории</mwm:lang>
|
||||
<mwm:lang code="default">Test category description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:imageUrl>https://localhost/134.png</mwm:imageUrl>
|
||||
<mwm:author id="11111">Organic Maps</mwm:author>
|
||||
<mwm:lastModified>1970-01-01T00:05:23Z</mwm:lastModified>
|
||||
<mwm:rating>3.3</mwm:rating>
|
||||
<mwm:reviewsNumber>222</mwm:reviewsNumber>
|
||||
<mwm:accessRules>Public</mwm:accessRules>
|
||||
<mwm:tags>
|
||||
<mwm:value>mountains</mwm:value>
|
||||
<mwm:value>bike</mwm:value>
|
||||
</mwm:tags>
|
||||
<mwm:toponyms>
|
||||
<mwm:value>10</mwm:value>
|
||||
<mwm:value>11</mwm:value>
|
||||
</mwm:toponyms>
|
||||
<mwm:languageCodes>
|
||||
<mwm:value>en</mwm:value>
|
||||
<mwm:value>ja</mwm:value>
|
||||
<mwm:value>ru</mwm:value>
|
||||
</mwm:languageCodes>
|
||||
<mwm:properties>
|
||||
<mwm:value key="property1">value1</mwm:value>
|
||||
<mwm:value key="property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</mwm:compilation>
|
||||
</ExtendedData>
|
||||
<Placemark>
|
||||
<name>Мое любимое место</name>
|
||||
<description>Test bookmark description</description>
|
||||
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
||||
<styleUrl>#placemark-blue</styleUrl>
|
||||
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
||||
<mwm:lang code="default">Test bookmark</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание метки</mwm:lang>
|
||||
<mwm:lang code="default">Test bookmark description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:featureTypes>
|
||||
<mwm:value>historic-castle</mwm:value>
|
||||
<mwm:value>historic-memorial</mwm:value>
|
||||
</mwm:featureTypes>
|
||||
<mwm:customName>
|
||||
<mwm:lang code="en">My favorite place</mwm:lang>
|
||||
<mwm:lang code="default">Мое любимое место</mwm:lang>
|
||||
</mwm:customName>
|
||||
<mwm:scale>15</mwm:scale>
|
||||
<mwm:boundTracks>
|
||||
<mwm:value>0</mwm:value>
|
||||
</mwm:boundTracks>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:nearestToponym>12345</mwm:nearestToponym>
|
||||
<mwm:minZoom>10</mwm:minZoom>
|
||||
<mwm:properties>
|
||||
<mwm:value key="bm_property1">value1</mwm:value>
|
||||
<mwm:value key="bm_property2">value2</mwm:value>
|
||||
<mwm:value key="score">5</mwm:value>
|
||||
</mwm:properties>
|
||||
<mwm:compilations>1,2,3,4,5</mwm:compilations>
|
||||
</ExtendedData>
|
||||
</Placemark>
|
||||
<Placemark>
|
||||
<name>Test track</name>
|
||||
<description>Test track description</description>
|
||||
<Style><LineStyle>
|
||||
<color>FF0000FF</color>
|
||||
<width>6</width>
|
||||
</LineStyle></Style>
|
||||
<TimeStamp><when>1970-01-01T00:15:00Z</when></TimeStamp>
|
||||
<gx:MultiTrack>
|
||||
<gx:Track>
|
||||
<when>1970-01-01T00:00:00Z</when>
|
||||
<when>1970-01-01T00:00:01Z</when>
|
||||
<when>1970-01-01T00:00:02Z</when>
|
||||
<gx:coord>45.9242 49.326859 1</gx:coord>
|
||||
<gx:coord>45.2244 48.941288 2</gx:coord>
|
||||
<gx:coord>45.1964 49.401948 3</gx:coord>
|
||||
</gx:Track>
|
||||
<gx:Track>
|
||||
<when>1970-01-01T00:00:00Z</when>
|
||||
<gx:coord>45.9242 49.326859 1</gx:coord>
|
||||
<when>1970-01-01T00:00:01Z</when>
|
||||
<gx:coord>45.2244 48.941288 2</gx:coord>
|
||||
<when>1970-01-01T00:00:02Z</when>
|
||||
<gx:coord>45.1964 49.401948 3</gx:coord>
|
||||
</gx:Track>
|
||||
<gx:Track>
|
||||
<gx:coord>45.9242 49.326859 1</gx:coord>
|
||||
<gx:coord>45.2244 48.941288 2</gx:coord>
|
||||
<gx:coord>45.1964 49.401948 3</gx:coord>
|
||||
<when>1970-01-01T00:00:00Z</when>
|
||||
<when>1970-01-01T00:00:01Z</when>
|
||||
<when>1970-01-01T00:00:02Z</when>
|
||||
</gx:Track>
|
||||
<gx:Track>
|
||||
<gx:coord>45.9242 49.326859 1</gx:coord>
|
||||
<when>1970-01-01T00:00:00Z</when>
|
||||
<gx:coord>45.2244 48.941288 2</gx:coord>
|
||||
<when>1970-01-01T00:00:01Z</when>
|
||||
<gx:coord>45.1964 49.401948 3</gx:coord>
|
||||
<when>1970-01-01T00:00:02Z</when>
|
||||
</gx:Track>
|
||||
</gx:MultiTrack>
|
||||
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||
<mwm:name>
|
||||
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
||||
<mwm:lang code="default">Test track</mwm:lang>
|
||||
</mwm:name>
|
||||
<mwm:description>
|
||||
<mwm:lang code="ru">Тестовое описание трека</mwm:lang>
|
||||
<mwm:lang code="default">Test track description</mwm:lang>
|
||||
</mwm:description>
|
||||
<mwm:localId>0</mwm:localId>
|
||||
<mwm:additionalStyle>
|
||||
<mwm:additionalLineStyle>
|
||||
<color>FF00FF00</color>
|
||||
<width>7</width>
|
||||
</mwm:additionalLineStyle>
|
||||
</mwm:additionalStyle>
|
||||
<mwm:visibility>0</mwm:visibility>
|
||||
<mwm:nearestToponyms>
|
||||
<mwm:value>12345</mwm:value>
|
||||
<mwm:value>54321</mwm:value>
|
||||
<mwm:value>98765</mwm:value>
|
||||
</mwm:nearestToponyms>
|
||||
<mwm:properties>
|
||||
<mwm:value key="tr_property1">value1</mwm:value>
|
||||
<mwm:value key="tr_property2">value2</mwm:value>
|
||||
</mwm:properties>
|
||||
</ExtendedData>
|
||||
</Placemark>
|
||||
</Document>
|
||||
</kml>
|
||||
Loading…
Add table
Add a link
Reference in a new issue