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

Home » Public Forums » archive » Re: reading shapefiles & IDL objects
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: reading shapefiles & IDL objects [message #78776 is a reply to message #78769] Tue, 20 December 2011 19:56 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
desertdryad writes:

>
> Now, I know for certain that the shapefile exists whose name gets
> passed as 'filename' and I've specified the path at the command line.
> Yet, I get this error:
>
> ENVI> testme = readshape('C:\\etotest\pivot6.shp')
>
> MYSHAPE OBJREF = <NullObject>
> % Stop encountered: READSHAPE 7 C:\Cyndys\Default
> \readshape.pro
>
>
> What on Earth am I doing wrong, here? Please advise.

It looks to me like there is an extra slash in the
filename. Shouldn't the file name be this:

filename = 'C:\etotest\pivot6.shp'

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
Read Message
Previous Topic: Re: Mac Market Share in Science
Next Topic: Re: One Reason Python is not taking over for IDL

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

Current Time: Sat Oct 11 04:03:38 PDT 2025

Total time taken to generate the page: 1.44034 seconds