newattribute = b if z > 50 and z < 100
newattribute = c if z > 100 and z < 120
newattribute = d if z > 120 and z < 175
So this feature will get the attribute:newattribute = dI can not seem to find an example with the schemamapper (or any other solution which is NOT Python-coding).The issue is that I have alot of changing interval-rules, in a database - so they can not be hardcoded in the workspace - but have to be read from a csv / Excel-file so the Schemamapper would be great if it could handle larger than and smaller than etc.
Best answer by annabelleatsafe
Hi @Sigbjørn Herstad (and any others who stumble on this posting)!
We're revisiting the SchemaMapper over here, to see how we might be able to shave down it's long tooth. In digging into this transformer, it's evident there are a lot of questions about what exactly a new-n-improved SchemaMapper looks like. We're beginning to look at supporting simple functions and conditionals but still need to investigate/verify the following:
Which functions and conditionals would be used? What would be helpful?
Would these statements be specified in the external lookup table, the configuration fields, or apply to the incoming feature values themselves?
What kind of UI help would the author expect for writing these statements?
Any and all feedback welcomed on these above points, if you would be game to share! I would greatly appreciate it!
Hi @Sigbjørn Herstad (and any others who stumble on this posting)!
We're revisiting the SchemaMapper over here, to see how we might be able to shave down it's long tooth. In digging into this transformer, it's evident there are a lot of questions about what exactly a new-n-improved SchemaMapper looks like. We're beginning to look at supporting simple functions and conditionals but still need to investigate/verify the following:
Which functions and conditionals would be used? What would be helpful?
Would these statements be specified in the external lookup table, the configuration fields, or apply to the incoming feature values themselves?
What kind of UI help would the author expect for writing these statements?
Any and all feedback welcomed on these above points, if you would be game to share! I would greatly appreciate it!
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.