How to alert the value of a geometry property.
I have a workflow that which captures a geometry input and I would like to simply alert the value of one of it's properties.
When I put in an alert I simply get the expression for the output instead of the value. I've also tried $centroid1.centroid.latitude and $centroid1.centroid.latitude.value but i still get the same "string" effect instead of the value of the property.

-----

-----

-
Hello Carlos,
When you enter plain text, the workflow is assuming that you are wanting to display the text. In order to access that value, you will need to specify that you are creating an expression by using the '=' operator at the beginning of your statement.
For Example:
="Centroid Location: (" + $centroid1.centroid.x + ", " + $centroid1.centroid.y + ")"
Thanks, Stefan
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire