comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to Zip cross-platform from IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to Zip cross-platform from IDL? [message #83321 is a reply to message #83319] Fri, 22 February 2013 09:11 Go to previous messageGo to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
Hi Brian.

On Fri, 22 Feb 2013 05:40:16 -0800 (PST), Brian J. Daniel wrote:

> I have an extensive IDL/ENVI program that writes a KML file output. The code writes image chips to files, points the KML to those files, creates info-balloons with all sorts of diagnostic information for each chip. This all works well. However, when I distribute the results, the KML and all the supporting images need to go with it. This is cumbersome, but solvable! I just need to ZIP it up into a KMZ file.
>
> The catch: I need to be able to do this on Mac, Win and Linux. Linux and Mac can utilize the gzip functionality through the SPAWN command, but on Windows... I'm stumped. I can't assume I can install 7zip or WinZip and call those independently. Is there a way IDL can do this natively, or am I at the mercy of Windows standard calls?
>
> Thanks for your comments.
>
> -B

I think there should be a solution. First let me say, that the Windows
version of 7-Zip comes together with a command line version: 7z.exe.
The help file says, that it uses the same dll as the 7-Zip File
Manager itself. So it should do the job.

Alternatively you can try the (good old) "GNU utilities for Win32".
Download UnxUtils.zip from
http://sourceforge.net/projects/unxutils/files/. There is gzip and
gunzip support for Windows 32.

And last but not least there are the idl_tools from Randall Frank and
Ronn Kling. They make system routines for gzip, gunzip, zip and more
directly available to IDL by a dlm file. I just tested the socket
routines from this library. They work great. You can download the dlm
and dll files for windows from www.exelisvis.com. The authors say,
that the routines run on both, Windows and Unix. However I can not
say, where to find the sources for Unix. In Feb. 2010 they were
available from http://www.kilvarock.com/p1.htm. This site however,
today contains advertisements only. (Maybe, www.archive.org can help
you.)

HTH, Heinz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: setting widget " EVENT_PRO='myClass::myCallback' " ???? Is it possible?
Next Topic: How can I export a few million geocoded points from IDL to ArcMap?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:54:39 PDT 2025

Total time taken to generate the page: 1.04193 seconds