Skip to main content

Hello everybody,

I´m trying to find a way, how user can define source file for SchemaMapper. It´s all about editing source file for SchemaMapper on user side and then he will run a workspace.

But, my main question - is there any way, how user can edit mapping file (with adding of new columns) and then incoming features will be automacally mapped? And is there any way, how can user choose a mapping file? I checked that at choosing mapping file, there is no possibility to set source mapping file as parameter. Do You have any idea, how to dynamically change SchemaMapper transformer?

Thank You so much!

Lubo

As well as dataset for a reader/writer, You can create a User Parameter linked to the source dataset or link the source dataset to an existing User Parameter, on the Navigator window.


As well as dataset for a reader/writer, You can create a User Parameter linked to the source dataset or link the source dataset to an existing User Parameter, on the Navigator window.

Hello @takashi, @david_r,

yes, thank You so much! Unfortunately, it is only one part of my problem. Yes, I can define schemamapper source file via User parameter. Anyway, please just imagine situation, when user modified source file for schemamapper (adding some columns for filtering, adding some columns for new attributes). Is there any way, how to dynamically change Filter conditions, New attribute condition etc. based on modified source file? I checked that e.g. Map attrs parameter in SchemaMapper transformer is not able to be linked to User parameter.

Thanks a lot!

Lubo


Hello @takashi, @david_r,

yes, thank You so much! Unfortunately, it is only one part of my problem. Yes, I can define schemamapper source file via User parameter. Anyway, please just imagine situation, when user modified source file for schemamapper (adding some columns for filtering, adding some columns for new attributes). Is there any way, how to dynamically change Filter conditions, New attribute condition etc. based on modified source file? I checked that e.g. Map attrs parameter in SchemaMapper transformer is not able to be linked to User parameter.

Thanks a lot!

Lubo

As far as I know, that is unfortunately not possible. I do not think you can parametrize much else than what is visible in the Navigator tree.


As far as I know, that is unfortunately not possible. I do not think you can parametrize much else than what is visible in the Navigator tree.

@david_r, thank you for confirmation!


Reply