Jump to content
TUFLOW Forum

Recommended Posts

What does "ERROR 0408 - End of .dbf file encountered whilst reading record" actually mean and how can I fix it / avoid it happening everytime I edit my shape file?

Its driving me to distraction!

Claire

Share this post


Link to post
Share on other sites

Hi Claire,

The end of .dbf file encountered whilst reading record indicates that TUFLOW has tried to read a field from the shapefile database format, and there is no such field in the file (or the field contains incorrect data). For example, text data is stored in a numeric field. What software are you using for creating and modifying your shapefiles?

I assume the file is in the correct TUFLOW format (from a empty / template file).

Regards

Phillip

Share this post


Link to post
Share on other sites

Claire,

I have had similar problems when using QGIS. TUFLOW is frequently unable to read the dbf file. The model will be working fine, I will make a small GIS edit (moving a vertex for instance) and then TUFLOW will throw up the same error as you are having. Checking the dbf manually shows the data to be correctly formatted, however the only way I have found a way round this is by re-saving the file with a different name.

Matt

Share this post


Link to post
Share on other sites

Hi Matt,

Thanks for the feedback, we'll look into this. If using QGIS you can also save the file in MapInfo format, the .mif/.mid files are plain text and a much easier to see what might be causing an issue.

Regards

Phillip

Share this post


Link to post
Share on other sites

Hi Phillip,

Yes I'm using QGIS, as Matt says I've got around it by saving as a new shape file but after a while this stops working too (hence my dispair on Friday). I have resorted to saving the file out as a mif and without any alteration to the file the model runs fine.

Whilst investigating shape file errors it worth noting I've had Error 0423 and Error 0425 on shape files edited using QGIS.

Claire

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...