16 changed files with 327 additions and 10 deletions
@ -0,0 +1,47 @@ |
|||||||
|
Incorrectly formed XML test file |
||||||
|
<?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>Polygon.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> |
||||||
|
</Style> |
||||||
|
<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> |
||||||
|
</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> |
||||||
|
<Placemark> |
||||||
|
<name>Untitled Polygon</name> |
||||||
|
<styleUrl>#m_ylw-pushpin</styleUrl> |
||||||
|
<Polygon> |
||||||
|
<tessellate>1</tessellate> |
||||||
|
<outerBoundaryIs> |
||||||
|
<coordinates> |
||||||
|
-122.1059149362712,47.65965281788451,0 -122.1044593196253,47.66002598220988,0 -122.1047336695092,47.66034166158975,0 -122.1061470943783,47.6599810708829,0 -122.1059149362712,47.65965281788451,0 |
||||||
|
</coordinates> |
||||||
|
</outerBoundaryIs> |
||||||
|
</Polygon> |
||||||
|
</Placemark> |
||||||
|
</Document> |
||||||
|
</kml> |
@ -0,0 +1,49 @@ |
|||||||
|
Incorrectly formed XML test file |
||||||
|
<?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>Polygon.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> |
||||||
|
</Style> |
||||||
|
<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> |
||||||
|
</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> |
||||||
|
<Placemark> |
||||||
|
<name>Untitled Polygon</name> |
||||||
|
<styleUrl>#m_ylw-pushpin</styleUrl> |
||||||
|
<Polygon> |
||||||
|
<tessellate>1</tessellate> |
||||||
|
<outerBoundaryIs> |
||||||
|
<LinearRing> |
||||||
|
<coordinates> |
||||||
|
-122.1059149362712,47.65965281788451,0 -122.1044593196253,47.66002598220988,0 -122.1047336695092,47.66034166158975,0 -122.1061470943783,47.6599810708829,0 -122.1059149362712,47.65965281788451,0 |
||||||
|
</coordinates> |
||||||
|
</LinearRing> |
||||||
|
</outerBoundaryIs> |
||||||
|
</Polygon> |
||||||
|
</Placemark> |
||||||
|
</Document> |
||||||
|
</kml> |
@ -0,0 +1,48 @@ |
|||||||
|
<?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>Polygon.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> |
||||||
|
</Style> |
||||||
|
<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> |
||||||
|
</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> |
||||||
|
<Placemark> |
||||||
|
<name>Untitled Polygon</name> |
||||||
|
<styleUrl>#m_ylw-pushpin</styleUrl> |
||||||
|
<Polygon> |
||||||
|
<tessellate>1</tessellate> |
||||||
|
<outerBoundaryIs> |
||||||
|
<LinearRing> |
||||||
|
<coordinates> |
||||||
|
-122.1059149362712,47.65965281788451,0 -122.1044593196253,47.66002598220988,0 -122.1047336695092,47.66034166158975,0 -122.1061470943783,47.6599810708829,0 -122.1059149362712,47.65965281788451,0 |
||||||
|
</coordinates> |
||||||
|
</LinearRing> |
||||||
|
</outerBoundaryIs> |
||||||
|
</Polygon> |
||||||
|
</Placemark> |
||||||
|
</Document> |
||||||
|
</kml> |
@ -0,0 +1,38 @@ |
|||||||
|
<?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>Polygon.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> |
||||||
|
</Style> |
||||||
|
<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> |
||||||
|
</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> |
||||||
|
<Placemark> |
||||||
|
<name>Untitled Polygon</name> |
||||||
|
<styleUrl>#m_ylw-pushpin</styleUrl> |
||||||
|
</Placemark> |
||||||
|
</Document> |
||||||
|
</kml> |
Loading…
Reference in new issue