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


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


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: 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="" xmlns:gx="" xmlns:kml="" xmlns: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.