Skip to main content
Question

How do I set the Feature Type as a published parameter in the FeatureReader with a Microstation DGN file


Forum|alt.badge.img+1

Hi

This is a problem which has bugged me for years. I cannot work out how to set the feature type as a published parameter in a FeatureReader transformer that is reading in a Microstation DGN file. I have a number of different combinations of the following settings and none seem to work. All I get is one record coming out of the Initiator Port and the DGN file data does not come out of any of the ports.

Can anyone help me with this?

I am on FME Desktop 2019.1.

Thanks!

3 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+34

I see you have the "Specified" for output ports. Have you tried Generic (single output port).

 

 

It works for me at least using the Geodatbase reader (didn't try with microstation).

 

 

If using specified I would suggest using a proper (existing) file to first create the "specified" ports.

 

 

Do you get any messages in the log?

Forum|alt.badge.img+1
  • Author
  • April 29, 2020
virtualcitymatt wrote:

I see you have the "Specified" for output ports. Have you tried Generic (single output port).

 

 

It works for me at least using the Geodatbase reader (didn't try with microstation).

 

 

If using specified I would suggest using a proper (existing) file to first create the "specified" ports.

 

 

Do you get any messages in the log?

Thanks @virtualcitymatt I realised that if I put the FEATURETYPE value in talking marks (") then the records do come out of the 'Generic' port. I didn't want to put the existing file in first to create the 'specified' ports because this won't allow for situations where I don't know the FEATURETYPE value in advance...


virtualcitymatt
Celebrity
Forum|alt.badge.img+34
aquamarine wrote:

Thanks @virtualcitymatt I realised that if I put the FEATURETYPE value in talking marks (") then the records do come out of the 'Generic' port. I didn't want to put the existing file in first to create the 'specified' ports because this won't allow for situations where I don't know the FEATURETYPE value in advance...

Oh interesting - so you have it working now then? after adding the (") marks? Thats a good tip.


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