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

Home » Public Forums » archive » Google Static Maps in 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: Google Static Maps in IDL [message #80846 is a reply to message #80768] Thu, 12 July 2012 11:16 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 7/12/12 12:00 PM, Coyote wrote:
> On Thursday, July 12, 2012 5:59:52 AM UTC-6, Fab wrote:
>
>> Great stuff David!
>>
>> It works perfectly on my machine and on my university network:
>>
>> { x86_64 linux unix linux 7.1.1 Aug 21 2009 64 64}
>
> The problem appears now to be related to an environment variable on Macs. I am trying to store the image that comes back from Google in a temporary directory located with the GetEnv command like this:
>
> tempdir = GetEnv('IDL_TMPDIR', /ENVIRONMENT)
>
> This directory either doesn't exist, or can't be written into, on this particular Mac. Can someone with a Mac help me understand what this directory might be?
>
> Thanks,
>
> David
>

For me on my Mac with IDL 8.1 and 8.2, both

IDL> print, getenv('IDL_TMPDIR')
/var/folders/j2/hhx4tc4d6wn13qkl4mj_dksr0000gz/T/
IDL> print, filepath('', /tmp)
/var/folders/j2/hhx4tc4d6wn13qkl4mj_dksr0000gz/T/

yield the same thing and I can write to files in that directory.

-Mike



--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: compilation strangeness
Next Topic: Use of /APPEND keyword

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

Current Time: Tue Dec 02 11:47:54 PST 2025

Total time taken to generate the page: 0.64291 seconds