Closed josempozo closed 3 years ago
1-Regarding the abs() on y values: it is because the x,y nodes coordinates came from a GIS where the origin 0,0 is the bottom-left corner, while in any image/matrix/grid the origin 0,0 is the top-left corner. 2-I will have a look on this double filter..
Then, the logic of this change of reference corresponds to include a minus sign to the y coordinates, instead of the abs(). If the y coordinates are always negative, the effect is the same. But the logic would be more clear. I can change this now if you don't disagree.
Jose
Missatge de zoometh notifications@github.com del dia dj., 19 de nov. 2020 a les 8:35:
1-Regarding the abs() on y values: it is because the x,y nodes coordinates came from a GIS where the origin 0,0 is the bottom-left corner, while in any image/matrix/grid the origin 0,0 is the top-left corner. 2-I will have a look on this double filter..
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoometh/iconr/pull/5#issuecomment-730187920, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARKCR2IA4YVMNH5QFSRPIGLSQTDEJANCNFSM4TZ3WAHQ .
Code syntax simplification More efficient calling label_shadow only once for all nodes.
Two questions: