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 #77821] Thu, 06 October 2011 10:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Here are the numbers for IDL 8.1:
>
> loop: 9.566 seconds
> destroy object: 0 seconds
> destroy entities: 0.009 seconds
>
> I guess I could live with that! There must be a lession
> in here somewhere! :-)

Even now most of the time is spent drawing polygons
that are too small to be seen on this global scale.
So, I have added a MinNumVerts keyword to DrawShapes
so that you can set the minimum number of vertices
a polygon has to have to be drawn. With this in
place, this intermediate resolution GSHHS shapefile
renders almost instantaneously. :-)

Sorry to cause so much alarm. ;-)

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: Thu Oct 09 09:17:41 PDT 2025

Total time taken to generate the page: 0.87832 seconds