I work in GIS and to create a shade layer of a building, I need to "translate" the geometry/building or permanenently move it.
But I just need some help with my formula based on this video.
A = tangent of the sunlight's angle
B = Building height
C = Shadow length
So, to know how much the geometry/building will translate/move from its original X and Y coordinates
$$ A = \frac BC $$ $$ C = \frac BA $$
Is this correct? This comment from GIS SE says it's cos(sunlight angle) * building height.
For now, I used round((height/math.tan(45)),3) to translate/move the geometry. This is the result.

