My question is quite simple but I am a new user in FME. Well, I am going through this process in FME workbench to find percentage of land cover classes excluding water bodies.
General process:
1- Using selected land cover Shapefile and only consider Grassland (class 30) and cropland (class 40) classes
2- Using selected tiles to extract the percent of targeted vegetation (grassland+cropland) referred to the whole classes except water(class 80)
3- Select tiles having at least 1% or 0.5% of the targeted vegetation. For info, 1% corresponds to 10 000 ha
Below, you can find my fme workflow that it does not work for percentage calculation.
I thank you in advance for your guide and feedback.
Best answer by nielsgerrits
I took a look at the worksapce, a couple of things
Firstly Area calculations work best when working in a projected coordinate system rather one in LatLong. You should reproject to a different coordinate system before making and Area calculations.
Second is that if you want to compare per tile you will also need to add the 'Name' attribute to the group-by in the Dissolvers and the Aggregators otherwise your calculation will not be per tile as teh dissolver will dissolve it all back together again.
Addressing these issues should help
The tiles are overlapping, but if you use the Clipper the area's will be assigned to the first tile, not all of them.
As the sentinel data is not overlapping and dissolving is a heavy task, I would leave the Dissolvers out as they are not needed.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
I took a look at the worksapce, a couple of things
Firstly Area calculations work best when working in a projected coordinate system rather one in LatLong. You should reproject to a different coordinate system before making and Area calculations.
Second is that if you want to compare per tile you will also need to add the 'Name' attribute to the group-by in the Dissolvers and the Aggregators otherwise your calculation will not be per tile as teh dissolver will dissolve it all back together again.
I took a look at the worksapce, a couple of things
Firstly Area calculations work best when working in a projected coordinate system rather one in LatLong. You should reproject to a different coordinate system before making and Area calculations.
Second is that if you want to compare per tile you will also need to add the 'Name' attribute to the group-by in the Dissolvers and the Aggregators otherwise your calculation will not be per tile as teh dissolver will dissolve it all back together again.
Addressing these issues should help
The tiles are overlapping, but if you use the Clipper the area's will be assigned to the first tile, not all of them.
As the sentinel data is not overlapping and dissolving is a heavy task, I would leave the Dissolvers out as they are not needed.
I took a look at the worksapce, a couple of things
Firstly Area calculations work best when working in a projected coordinate system rather one in LatLong. You should reproject to a different coordinate system before making and Area calculations.
Second is that if you want to compare per tile you will also need to add the 'Name' attribute to the group-by in the Dissolvers and the Aggregators otherwise your calculation will not be per tile as teh dissolver will dissolve it all back together again.
Addressing these issues should help
Thank you so much for your reply.
I made corrections based on your feedback and it is much more fonctional now but still I am having issues with percentage calculations.