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 #78764] Wed, 21 December 2011 08:18 Go to previous message
Russell[1] is currently offline  Russell[1]
Messages: 101
Registered: August 2011
Senior Member
Are you sure that the file 'pivot6.shp' is a valid shape file?

IDLffShape will return a null pointer if the file is invalid....


Russell

On Dec 21, 11:06 am, desertdryad <dry...@gmail.com> wrote:
> On Dec 20, 8:56 pm, David Fanning <n...@dfanning.com> wrote:
>
>
>
>
>
>
>
>
>
>> 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'
>
> Yes; but it makes no difference!
[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: Fri Oct 10 11:29:52 PDT 2025

Total time taken to generate the page: 0.96505 seconds