Ticket #4003 (closed defect: fixed)
LIBKML driver ingests whole .zip file into memory even if it is not a valid KMZ
| Reported by: | rouault | Owned by: | rouault |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.8.1 |
| Component: | OGR_SF | Version: | 1.8.0 |
| Severity: | normal | Keywords: | libkml |
| Cc: |
Description
The LIBKML driver tries to recognize .zip files as kmz files. So it loads the whole zip file into memory before passing it to libkml. However all zip files are not valid kmz files, so ogrinfo can spend a lot of time for nothing. The fix is to scan the filenames of the zip file first to search for a .kml file inside it.
Change History
Note: See
TracTickets for help on using
tickets.
