Opened 14 years ago

Closed 14 years ago

#2844 closed defect (worksforme)

OGR cannot read KML 2.2

Reported by: timmie Owned by: condit
Priority: normal Milestone:
Component: OGR_SF Version: 1.5.0
Severity: normal Keywords: KML
Cc: warmerdam, chaitanya

Description

Hello, I wanted to read a simple file saved from Google Earth 5.

It is in doctype KML 2.2.

But OGR doe not recognise it. When I replace the doctype definition (first 2 line) by the KML 2.1 doctpye definition the file is recognised and loaded well in QGIS.

Change History (3)

comment:1 by warmerdam, 14 years ago

Cc: warmerdam chaitanya added
Keywords: KML added
Owner: changed from warmerdam to condit

Chris,

Do you have time to take this? I'd imagine the change is fairly straight forward. If not, I can have Chaitanya look into it.

comment:2 by condit, 14 years ago

Status: newassigned

This issue was addressed in: http://trac.osgeo.org/gdal/ticket/2481 To test, I saved a KML document from Google Earth 5.0.11337.1968 (beta) on win32. Here's the resulting KML element: <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"> ogrinfo in fwtools 2.2.8 opened the file correctly and the latest code in the SVN trunk opens the file correctly. Perhaps an older version of OGR is being used by QGIS?

If updating to the latest OGR does not fix the problem, please attach your test file...

comment:3 by condit, 14 years ago

Resolution: worksforme
Status: assignedclosed

Please reopen if there are more details regarding this problem...

Note: See TracTickets for help on using tickets.