Skip to main content
Solved

Shapefile Reader source data modification


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.

View original
Did this help you find an answer to your question?

5 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • 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
danilo_fme wrote:

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
Influencer
  • 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
takashi wrote:

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+6
  • Contributor
  • July 11, 2019
takashi wrote:

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? ...


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