Skip to main content
Question

How can I read everything from File GDB except one feature type ?


Forum|alt.badge.img+1

I am reading some feature types from File GDB as "Single merged Feature Type". One of these feature types while reading is giving me an error saying "Read feature (or portion thereof if SPLIT_AT_ARCS is YES) from the feature class 'xxxyyy' that contains only zero length segments...." How can I read all feature types but ignore this one which is causing error or maybe any Idea how to solve the error problem ? p.s. In different Databases there can be different feature types thats why I am always reading everything but trying to exclude one which name is always the same. Any Idea ?

7 replies

daraghatsafe
Forum|alt.badge.img

Hi @gisgis​ does this error cause the workspace to fail when reading in the data? Is there more to the error message?


Forum|alt.badge.img+1
  • Author
  • June 11, 2022
daraghatsafe wrote:

Hi @gisgis​ does this error cause the workspace to fail when reading in the data? Is there more to the error message?

this is all I am getting as an error message and yes it causes translation fail


coreyross
Contributor
Forum|alt.badge.img+1
  • Contributor
  • July 25, 2024

A couple years late to this but I am having the same issue and can’t figure out how to resolve it. Same script previously worked on an install with ArcMap 10.* 
Now moved to a machine with ArcGIS Pro, is that the issue? How to solve this?


jkr_wrk
Influencer
Forum|alt.badge.img+28
  • July 25, 2024

Is your error message exacly the same? Which GDB reader did you use [Esri Geodatabase (File Geodb) or Esri Geodatabase (File Geodb Open API)]? Are other GDB files working?

Is the data in your GDB writen with ArcGIS Pro 2.x or 3.x? Or untouched, so still ArcMap?


coreyross
Contributor
Forum|alt.badge.img+1
  • Contributor
  • July 25, 2024

Data in the GDB is untouched, was written by ArcMap. I used [Esri Geodatabase (File Geodb) for the reader. All the data I am reading is in various GDBs. I switched the read order to test out if other GDBs worked and none seem to. Whatever one is read first gives the warning and then translation fail.

 

I should test the Esri Geodatabase (File Geodb Open API)], good thinking!


jkr_wrk
Influencer
Forum|alt.badge.img+28
  • July 25, 2024

Maybe look at this setting:

or here:

 


gwn
Participant
Forum|alt.badge.img+1
  • Participant
  • April 14, 2025

Hello, I had the same issue and found out that the features that could not be read had aberrant geometries (Shape_Area = -0.0005758 or 0). Those features were the result of a clip in FME, so probably a geometric correction after clipping is mandatory to avoid such artefacts.

Solved it by performing geometry corrections in ArcGIS (Data Mangement / Integrate).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings