Ticket #1897 (assigned defect)

Opened 9 months ago

Last modified 3 months ago

KML driver output appears broken

Reported by: darkblueb Assigned to: condit (accepted)
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: major Keywords: kml
Cc: condit, mloskot

Description

KML output from ogr2ogr does not open in GoogleEarth?

KML SoC driver, nor KML driver 1.4.2

remove the <Multipolygon> tag, file can be opened,

though the polys are filled rather than outlines

Note that the SoC KML driver internally uses a v2.0 spec that is no longer on the web

related ticket #1766

GoogleEarth? v4.2.0180.1134 (beta), 20Aug07, Mac OSX

Change History

10/11/07 13:59:17 changed by rouault

To be more precise, <Multipolygon> is not in v2.1 spec.

(follow-up: ↓ 3 ) 10/13/07 10:24:14 changed by warmerdam

  • cc set to condit.
  • severity changed from blocker to major.

Chris,

Do you have any thoughts on this?

Does it make sense to upgrade generation to KML 2.1 if 2.0 seems not well supported?

(in reply to: ↑ 2 ) 10/13/07 20:11:04 changed by condit

  • status changed from new to assigned.
  • owner changed from warmerdam to condit.

I actually think this is a display bug with Google Earth because it does parse / display everything else in KML 2.0 correctly. But it is part of a larger issue - and we should switch the KML output to at least 2.1 if not 2.2. I'm sure that 2.2 will go in as an OGC spec, but the question is when. So perhaps for now I'll just update the driver to output 2.1...

Replying to warmerdam:

Chris, Do you have any thoughts on this? Does it make sense to upgrade generation to KML 2.1 if 2.0 seems not well supported?

11/20/07 13:39:22 changed by mloskot

  • cc changed from condit to condit, mloskot.

04/01/08 16:48:34 changed by condit

I've updated SVN to support KML 2.2 and would like to test this defect again. Could you attach the original problematic file?