How to Convert Map Coordinates to Layout Coordinates in a rotated Dataframe?

المشرف العام

Administrator
طاقم الإدارة
I am trying to convert Map X and Y coordinates to corresponding Layout coordinates in a rotated dataframe.

The code found in this post works fine, but only for unrotated dataframes.

I've also found a modification of the above code in this post on Reddit, but that doesn't seem to work either. I believe the code was making use of a rotation matrix as discussed in this post, but without success, in my opinion.

The results I get are somewhat close when the dataframe is not rotated very much, but they exaggerate the greater the rotation.

Has anyone had definitive success with converting X and Y coordinates to Layout coordinates?

I'm looking for a python solution within ArcGIS. I'm using 10.3.1 Standard License.



أكثر...
 
أعلى