Skip to content

0 airspace definition from KMZ/KML file #161

@iagoccampos

Description

@iagoccampos

Hi. I'm trying to convert a KMZ file to OpenAir, but I'm getting the following error:

Opened KMZ file: periquito.kmz
Extracted KML file: doc.kml
Reading KML file: doc.kml
Read 0 airspace definition(s) from 1 file(s).
ERROR: no usable data found in the input files specified.

I also tried with KML, exported from Google Earth, but I got the same result.

Here the content of the KML:

<?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>FPDF - Polígono Periquito _ Abril 2020.kmz</name>
	<Style id="sh_ylw-pushpin4">
		<IconStyle>
			<scale>1.3</scale>
			<Icon>
				<href>https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<LineStyle>
			<color>ff00ffff</color>
			<width>2</width>
		</LineStyle>
		<PolyStyle>
			<fill>0</fill>
		</PolyStyle>
	</Style>
	<Style id="sn_ylw-pushpin5">
		<IconStyle>
			<scale>1.1</scale>
			<Icon>
				<href>https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<LineStyle>
			<color>ff00ffff</color>
			<width>2</width>
		</LineStyle>
		<PolyStyle>
			<fill>0</fill>
		</PolyStyle>
	</Style>
	<StyleMap id="msn_ylw-pushpin4">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_ylw-pushpin5</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_ylw-pushpin4</styleUrl>
		</Pair>
	</StyleMap>
	<Placemark id="0E7E74F3682D3D408FC2">
		<name>Polígono Periquito _ Agosto 05 2019</name>
		<styleUrl>#msn_ylw-pushpin4</styleUrl>
		<Polygon>
			<tessellate>1</tessellate>
			<outerBoundaryIs>
				<LinearRing>
					<coordinates>
						-48.01934468411552,-15.96639390111093,0 -48.00079060809834,-15.98255821182861,0 -48.06010915501377,-16.04400672587261,0 -48.09262437703172,-16.02434397475724,0 -48.07423640743645,-15.95472303745267,0 -48.13791689960137,-15.95610684895288,0 -48.13197857798446,-16.03263686461199,0 -48.07720888802517,-16.0579266656326,0 -48.17334028188205,-16.15716778098539,0 -48.16542266055748,-16.15635689821436,0 -47.98915323221161,-15.98295534473295,0 -47.99599603544508,-15.94808946730208,0 -48.01934468411552,-15.96639390111093,0 
					</coordinates>
				</LinearRing>
			</outerBoundaryIs>
		</Polygon>
	</Placemark>
</Document>
</kml>

I tried with many files but all of them gets the same result. Am I missing something?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions