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

Home » Public Forums » archive » Creating KML error
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Creating KML error [message #91439] Wed, 15 July 2015 06:38 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi guys,

What am I doing wrong:

plot=plot([!values.f_nan],[!values.f_nan], xrange=[-50,-40], yrange=[70,80])
ax = plot.axes
ax[0].hide = 1
ax[1].hide = 1
ax[2].hide = 1
ax[3].hide = 1

poly=polygon([-47,-43,-43,-47,-47],[72.5,72.5,77.5,77.5,72.5 ],/data,color='black')
poly.save, 'square.kml'

% SAVE: Error writing file Expression must be a structure in this context:
SMAP.

Even when I try "plot.save, 'square.kml'" I get the same error...

help, !version, /str
** Structure !VERSION, 8 tags, length=104, data length=100:
ARCH STRING 'x86_64'
OS STRING 'linux'
OS_FAMILY STRING 'unix'
OS_NAME STRING 'linux'
RELEASE STRING '8.4'
BUILD_DATE STRING 'Sep 27 2014'
MEMORY_BITS INT 64
FILE_OFFSET_BITS
INT 64

Thank you in advance for your help,
nata
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Adding arrays
Next Topic: Writing .mat files in IDL

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

Current Time: Wed Oct 08 13:35:55 PDT 2025

Total time taken to generate the page: 0.00366 seconds