Feature Class - Conditional style - rotation

Map Plus helps, usage, issues, bug report, downloads...

Feature Class - Conditional style - rotation

帖子Locky » 2019-09-30 8:53

Hello,
I would like to use a script to evaluate the value of a custom property and then calculate the required rotation for the feature class custom style. Is this possible?

I currently have a script working and producing the required value for the rotation, but I cannot work out a way to transfer this value the the rotation value in the custom properties.

Thank you in advance.
头像
Locky
★★
 
帖子: 3
注册: 2019-09-14 6:43

Re: Feature Class - Conditional style - rotation

帖子Zax » 2020-02-29 7:20

Sorry but the rotating style does not support dynamic evaluate values.

Here is an ugly solution if rough accuracy of rotation is acceptable:

For example:
You can add 6 conditional styles to a feature class, each includes a rotation style with the angle value of 0, 60, 120, 180, 240... and each's condition expression to be the one you used to calculated current rotation and compare it with the fixed values. like: "([ROT]+90) > 0 && ([ROT]+90) < 60"
Zax Zeng
Duwei Technology
头像
Zax
★★★★★
 
帖子: 1216
注册: 2011-07-27 0:54


回到 Map Plus - Forums

cron