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

Home » Public Forums » archive » Re: Shapefile Woes
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: Shapefile Woes [message #77824 is a reply to message #77823] Thu, 06 October 2011 09:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> But, already this morning, I have crashed IDL 8.1
> at least half a dozen times just trying to read the
> files and view the shapes.
>
> Has anyone else noticed that IDL 8.1 is extremely
> fragile around shapefiles? There are lots of pointers
> in shapefiles. I wonder if this has something to do
> with the automatic heap clean up procedures?

It is not absolutely clear to me that this is
entirely IDL's fault.

I am using the very latest GSHHS v 2.2.0 (July 15, 2011)
version of the shapefiles.

http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html

I am trying to read and display the L1 polygon. I am
using the Coyote Library routine DrawShapes to draw
the file:

IDL> Map_Set, /Cylindrical
IDL> DrawShapes, shapefile, Color='sky blue'

If I use the very lowest resolution shape file in the
distribution (gsshs_l_L1.shp), then I can draw the
shapes correctly and IDL has no problems. If I use
any other resolution file (e.g., gsshs_i_L1.shp), then
the shapes get drawn in the window, but IDL seems to go
into an infinite loop after drawing the shapes. Several
minutes pass before IDL crashes.

Has anyone else experienced problems with these GSHHS
shapefiles?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Shapefile Woes
Next Topic: IDL 8.1 Map Projections

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

Current Time: Fri Oct 10 10:21:01 PDT 2025

Total time taken to generate the page: 0.16155 seconds