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

Home » Public Forums » archive » Shapefile Opening 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
Re: Shapefile Opening Error [message #76654 is a reply to message #76531] Sat, 18 June 2011 06:00 Go to previous message
devin.white is currently offline  devin.white
Messages: 50
Registered: March 2007
Member
I think IDL's shapefile library expects there to be a valid DBF
attribute entry for every entity in the shapefile. If you don't need
to convey anything useful in the DBF, just create an attribute called
"ID" and dump a sequentially increasing integer in there for each
entity (e.g., first entity gets 0, second gets 1, etc.). You'll have
to use IDLffShape's ::addAttribute and ::setAttributes methods to do
this.


On Jun 17, 5:00 am, Patrick Leinenkugel <lei...@googlemail.com> wrote:
> Hi,
>
> I created a new polygone shapefile with IDL and everything works fine.
> I can open it with ESRI ArcGIS and work with it. However, very often
> at some stage, when I want to open the shapefile again the following
> error message appears:
>
> 'Error opening feature class
> Number of shapes does not match the number of table records
> Number of shapes does not match the number of table records'
>
> (The third line is no writing mistake, it appears twice)
>
> Can someone help me? Is it me or is it ArcGIS, doing something wrong:)
> Cheers,
> Patrick
[Message index]
 
Read Message
Read Message
Previous Topic: Re: wavelet using wv_dwt
Next Topic: Re: Looking for more elegant plot scaling...

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

Current Time: Sat Nov 29 13:35:47 PST 2025

Total time taken to generate the page: 2.40135 seconds