eeaa

How to get street node coordinates

Discussion created by eeaa on Jun 1, 2013
Latest reply on Jun 12, 2013 by MBuehler-esristaff
Hellohello,

Is there some way to set the pivot point of a corner lot shape to the corner street node coordinates?

Im defining every lot to have a subportion of a specific size (as a percentage of the original lot),
and for corner lots I'm doing this with the s() function. This would be (almost) perfect if the pivot would be located in the street node coordinates (because I want this subportion to touch the streets).

By manually changing the pivots cornerIndex with setPivot() I can find the correct cornerIndex so that the pivot matches the street node, but unfortunately for some lots this might be 3, for others 7 and so on.

I'm guessing the absolute street node coordinates cannot be obtained directly without possibly some python scripting? I´m also guessing the issue could be solved by manipulating the scope somehow so that the correct cornerIndex would always be the same (regardless of the lots relative position in the block or whichever reason makes the correct cornerIndex vary)?


-Jussi

Outcomes