Ticket #1803 (closed enhancement: fixed)

Opened 6 years ago

Last modified 4 years ago

KML: Documents with multiple geometry types are not supported

Reported by: crschmidt Owned by: Didge
Priority: normal Milestone: 1.6.1
Component: OGR_SRS Version: unspecified
Severity: normal Keywords: kml
Cc: warmerdam, mloskot

Description

FeatureServer? generates KML with multiple geometry types in the same layer. Currently, GDAL fails to read these. It would be nice if they could all be provided in one layer, or, if that's not possible, to create seperate layers for each geometry type.

File attached is example file which can be used to test this behavior, if it is developed.

Attachments

2features.kml Download (1.5 KB) - added by crschmidt 6 years ago.
multiple geometry types
multi.patch Download (0.8 KB) - added by crschmidt 6 years ago.

Change History

Changed 6 years ago by crschmidt

multiple geometry types

Changed 6 years ago by warmerdam

  • cc warmerdam, mloskot added
  • keywords kml added
  • owner changed from warmerdam to Didge

Changed 6 years ago by crschmidt

Changed 6 years ago by crschmidt

Patch attached causes the behavior I had hoped for, at least at the base level.

Changed 6 years ago by rouault

#1853 is a duplicate of this one

Changed 4 years ago by rouault

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 1.6.1

In trunk (r16908) and branches/1.6 (r16909) : "KML: Add support for reading MultiGeometry? and layers with mixed geometry type. Avoid quadratic complexity when reading KML files. Advertize 25D geometry type when relevant"

Test improved in r16910

Note: See TracTickets for help on using tickets.