Skip to main content
Solved

Shapefile Reader source data modification

  • April 3, 2018
  • 5 replies
  • 72 views

Forum|alt.badge.img

Hello,

I wanna create a shapefile reader wich prompts me everytime for a source file destination beacause i am planning to apply my workspace on multiple files. I made the sourcefile as a user parameter, but when I change the file I get always the following message :

Unexpected Input: During translation, some feature were read that did not match a reader feature type in the workspace. This can happen if the reader dataset if changed, or a reader feature type removed or renamed.

Best answer by takashi

Hi @lianaolianov, the warning message indicates that the reader feature type name didn't match some feature types within the source dataset you have set. If all feature types didn't match, the reader feature type outputs nothing. I guess you have encountered this situation.

If your requirement is to read every feature belonging to any feature type, try changing the Shapefile reader feature type to a single merged feature type. Just check the 'Merge Feature Type' checkbox.

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.

5 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • April 3, 2018

Hello @lianaolianov,

There is a similar question here.

Please, check if this is necessary in your case.

Thanks,

Danilo


Forum|alt.badge.img

Hello @lianaolianov,

There is a similar question here.

Please, check if this is necessary in your case.

Thanks,

Danilo

Thank you for your answer

 

however, the problem is that, afetr getting this message, the translation doesn't run at all. I have to set anew all the reader's parameters

 

 


takashi
Celebrity
  • Best Answer
  • April 4, 2018

Hi @lianaolianov, the warning message indicates that the reader feature type name didn't match some feature types within the source dataset you have set. If all feature types didn't match, the reader feature type outputs nothing. I guess you have encountered this situation.

If your requirement is to read every feature belonging to any feature type, try changing the Shapefile reader feature type to a single merged feature type. Just check the 'Merge Feature Type' checkbox.


Forum|alt.badge.img

Hi @lianaolianov, the warning message indicates that the reader feature type name didn't match some feature types within the source dataset you have set. If all feature types didn't match, the reader feature type outputs nothing. I guess you have encountered this situation.

If your requirement is to read every feature belonging to any feature type, try changing the Shapefile reader feature type to a single merged feature type. Just check the 'Merge Feature Type' checkbox.

This solved my problem

 

Thank you very much

 

 


giosp
Contributor
Forum|alt.badge.img+7
  • Contributor
  • July 11, 2019

Hi @lianaolianov, the warning message indicates that the reader feature type name didn't match some feature types within the source dataset you have set. If all feature types didn't match, the reader feature type outputs nothing. I guess you have encountered this situation.

If your requirement is to read every feature belonging to any feature type, try changing the Shapefile reader feature type to a single merged feature type. Just check the 'Merge Feature Type' checkbox.

Solved my problem too... But why don't make it automatically when I change the path of the sho reader? ...