Replies: 5 comments 9 replies
-
Hi @ZoloKiala Thank you for your interest in Terria and for reporting this issue. Can you please provide more details about the error that you are having?
To learn more about Terria's WPS function parameters, please refer to the following resources: |
Beta Was this translation helpful? Give feedback.
-
@zoran995 Thank you for your reply. It has really helped me understand many things. However, the BoundingBoxInput can only draw a rectangle. It can't draw complex geometries or select existing polygons. I tried to use "ComplexInput" for complex polygons with 'application/vnd.terriajs.catalog-member+json', but I got the previous error: "The parameter polygon is not a supported type of parameter." The following is the process that calculates the area of a polygon (e.g., can be the area of a farm):
|
Beta Was this translation helpful? Give feedback.
-
@zoran995 Thank you once again. I really appreciate your assistance. My last concern is how to output an image to the workbench. For example, the user draws a polygon on top of a classified image that's already visible in the TerriaJS. Then PyWPS clips the raster to the polygon, analyzes class areas, and returns a pie chart. Below is an attempt on how this can be done:
|
Beta Was this translation helpful? Give feedback.
-
Hi @zoran995 Thank you for this. I didn't make any changes to terriajs source code. I just added an empty dict "properties". For creating a selector for different geometry types, according to the doc you had shared earlier, I used the code below: It worked. Thank you for everything. |
Beta Was this translation helpful? Give feedback.
-
@zoran995 Do you have any idea on how to make the figure interactive. Until now, it's served as a static figure. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello developers,
I have been trying to implement WPS in TerriaJS. When I execute a process, I get the following error: The parameter poly_in is not a supported type of parameter and then the screen goes blank. I don't know what I'm doing wrong. On the server side, everything is fine. Can anyone please assist?
Regards,
Zolo
Beta Was this translation helpful? Give feedback.
All reactions