Opened 7 years ago
Closed 7 years ago
#6409 closed enhancement (fixed)
libkml driver use document name as name of layer
Reported by: | rashadkm | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | libkml |
Cc: |
Description
This question has been raised on gdal-dev list. As Even said, current gdal libkml driver reports layername if the name tag is under <Folder> tag. If no folder tag is present, it simply takes the name of file. I had modified libkml driver source to take Document's name tag if no folder tag is present. If <Document> does not have a name it will fall back to old behavior and use filename as layer name.
Following EvenR's advice, I had added a testcase for this in gdal's autotest code.
Attachments (2)
Change History (3)
by , 7 years ago
Attachment: | libkml_doc_name.patch added |
---|
by , 7 years ago
Attachment: | emptylayers_without_folder.kml added |
---|
comment:1 by , 7 years ago
Component: | default → OGR_SF |
---|---|
Keywords: | libkml added |
Milestone: | → 2.1.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
autotest/ogr/data/emptylayers_without_folder.kml