Changeset 3556 for DPPP


Ignore:
Timestamp:
06/03/08 10:33:25 (11 years ago)
Author:
mkochan
Message:

Completed creation of KMZ files using the ZipFile? module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/csml2kml/python/csml2kml/csml2kml/KML.py

    r3555 r3556  
    105105            _save(buf) 
    106106            kmzFile = ZipFile(filename, 'w') 
    107             kmzFile.writestr('doc.kml', buf.read()) 
     107            kmzFile.writestr('doc.kml', buf.getvalue()) 
    108108            kmzFile.close() 
    109109            buf.close() 
Note: See TracChangeset for help on using the changeset viewer.