Ticket #1858 (reopened defect)

Opened 10 months ago

Last modified 8 months ago

KML Driver - Folder <description> disappears

Reported by: darkblueB Assigned to: mloskot
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: kml
Cc: condit

Description

convert a trivial kml containing a folder with a <name> and <description>, to another format, ESRI Shape for example, then convert back to kml. Notice how the Placemark <name> comes out in a <decription>, and the Folder <description> disappears.

Attachments

Folder_Pt.kml (408 bytes) - added by darkblueB on 09/22/07 18:45:14.

Change History

09/22/07 18:45:14 changed by darkblueB

  • attachment Folder_Pt.kml added.

09/28/07 15:29:45 changed by rouault

To the extent of my knowledge, I think this bug should be closed. There is no way to fit the Folder description in the OGR SF model.

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

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

11/20/07 17:51:29 changed by mloskot

  • status changed from assigned to closed.
  • cc set to condit.
  • resolution set to wontfix.

Even is correct.

Just for records, here is output from current KML driver for the attached sample:

  • list available and recognized layers
    ogrinfo -ro d:\dev\gdal\bugs\1858\Folder_Pt.kml
    
    INFO: Open of `d:\dev\gdal\bugs\1858\Folder_Pt.kml'
          using driver `KML' successful.
    1: Folder.kml (Point)
    
  • dump recognized layer
ogrinfo -ro d:\dev\gdal\bugs\1858\Folder_Pt.kml Folder.kml

INFO: Open of `d:\dev\gdal\bugs\1858\Folder_Pt.kml'
      using driver `KML' successful.

Layer name: Folder.kml
Geometry: Point
Feature Count: 1
Extent: (-122.377588, 37.830266) - (-122.377588, 37.830266)
Layer SRS WKT:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.01745329251994328,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]
Name: String (0.0)
Description: String (0.0)
OGRFeature(Folder.kml):0
  Name (String) = Folder object 1 (Placemark)
  Description (String) =
  POINT (-122.377588 37.830266000000002 0)

I'm closing this ticket as it won't be fixed.

BTW, I've taken the liberty to add Chris to CC as perhaps he things differently and he would like to find a way to handle attributes for containers somehow.

11/20/07 18:03:23 changed by darkblueB

  • status changed from closed to reopened.
  • resolution deleted.

this needs to be documented as expected behavior then.. Just closing it and ignoring isn't good quality.

So, lets decide on where the thorough description of what is supported is, and then document this, and close the bug. Yes? If its a wiki style page, we dont have to do all the work in one day...