Skip to main content
Solved

No features being written when writing to geodatabase (Open API)

  • April 13, 2021
  • 2 replies
  • 273 views

chrbalm
Contributor
Forum|alt.badge.img+8

Hi,

I am having a mental block on this one (it may just be this time of night!).

I am trying to write a single polygon as it's own feature class within a geodatabase using the Geodatabase Open API writer. The Feature Class is being created, but no objects are being drawn within the feature class.

I have attached the log file.

Cheers.

Best answer by debbiatsafe

Hi @cbalmbra1​ 

The log file indicates the feature is being dropped due to the RevDate attribute value: 

|WARN  |FileGDB Writer: The `RevDate' attribute could not be written. The containing feature has been dropped

What data type is set for this attribute in the writer? Perhaps try changing it to another data type

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • April 13, 2021

Hi @cbalmbra1​ 

The log file indicates the feature is being dropped due to the RevDate attribute value: 

|WARN  |FileGDB Writer: The `RevDate' attribute could not be written. The containing feature has been dropped

What data type is set for this attribute in the writer? Perhaps try changing it to another data type


chrbalm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • April 14, 2021

Hi @cbalmbra1​ 

The log file indicates the feature is being dropped due to the RevDate attribute value: 

|WARN  |FileGDB Writer: The `RevDate' attribute could not be written. The containing feature has been dropped

What data type is set for this attribute in the writer? Perhaps try changing it to another data type

Fantastic. Just the ticket.

I have been asked to extract the date is a specific format "14/04/2021", which clearly now is the reason why it was rejecting the features. Thanks again :)