Have you looked at the NullAttributeMapper?
Have you looked at the NullAttributeMapper?
Yes I did. But it does not work. Do you know which adjustments I've to set?
Yes I did. But it does not work. Do you know which adjustments I've to set?
Did you read the documentation?
It would be helpful if you could give us a concrete example of what doesn't work the way you expect it to.
Have you looked at the NullAttributeMapper?
It seems I've to use the option "New Value". Do you know what I can fill in? Maybe "@CurrentAttribute()"?
It seems I've to use the option "New Value". Do you know what I can fill in? Maybe "@CurrentAttribute()"?
What would you like there to be in place of NULL values?
Do you've an idea how to fill the attribute values of the overlapping polygons?
I've added a screenshot, please take a look in the attachment.
What would you like there to be in place of NULL values?
Sorry I did not see your answer. I'd like to have the values of the overlapping polygons from the other attributes.
If you need to change all the null values to any specific value, I believe that the NullAttributeMapper transformer is the way to go.
I'm unclear what the "overlapping polygons" means. Could you please elaborate the requirement?
I’ve 7 input data with the same extension. It means that the values are different. Later I want to do queries for point coordinates (x, y). For this I need 7 values and not just 1 and 6 times “Not Null”.
Maybe I can create 7 single output files and set them in relation. But I don’t know how to do this.
I hope my description is understandable. If not I’ll try it again.
Thank you very much.
I’ve 7 input data with the same extension. It means that the values are different. Later I want to do queries for point coordinates (x, y). For this I need 7 values and not just 1 and 6 times “Not Null”.
Maybe I can create 7 single output files and set them in relation. But I don’t know how to do this.
I hope my description is understandable. If not I’ll try it again.
Thank you very much. :)
If you just need to the get cell values on the location (x, y) of a specific point from the rasters, you can use the PointOnRasterValueExtractor.
However, I cannot understand why you got null values from raster cells. Every raster cell always has a value, never contains the null. How did you get the nulls?
If you just need to the get cell values on the location (x, y) of a specific point from the rasters, you can use the PointOnRasterValueExtractor.
However, I cannot understand why you got null values from raster cells. Every raster cell always has a value, never contains the null. How did you get the nulls?
I've transformed the raster data to vector data with the transformer "RasterToPolygonCoercer". The reason why I get the nulls is that I've several input data and 1 output data. I don't have nulls when I decide to make the same number as output like the input.
I’ve 7 input data with the same extension. It means that the values are different. Later I want to do queries for point coordinates (x, y). For this I need 7 values and not just 1 and 6 times “Not Null”.
Maybe I can create 7 single output files and set them in relation. But I don’t know how to do this.
I hope my description is understandable. If not I’ll try it again.
Thank you very much. :)
I suspect you didn't merge attributes of the seven same shape polygons created by the RasterToPolygonCoercer transformer into a single feature.
Can you show us the screenshot of your Main canvas?
One more question. The RasterToPolygonCoercer creates exactly same shape polygon from the seven source rasters?
OK, if I understood the requirement correctly, the AreaOnAreaOverlayer (Accumulation Mode: Merge Incoming Attributes) is what you are looking for to merge cell values on the same area. If you created points with the RasterCellCoercer, the Matcher (SingleMatched output port) can be used instead.
In both cases, before merging, the name of attribute that stores the cell value should be renamed appropriately to differentiate the source raster.
OK, if I understood the requirement correctly, the AreaOnAreaOverlayer (Accumulation Mode: Merge Incoming Attributes) is what you are looking for to merge cell values on the same area. If you created points with the RasterCellCoercer, the Matcher (SingleMatched output port) can be used instead.
In both cases, before merging, the name of attribute that stores the cell value should be renamed appropriately to differentiate the source raster.
It works with the "AreaOnAreaOverlayer", thank you so much
@takashi! :)