Created
December 2, 2016 21:13
-
-
Save marcelino-m/4fedb3ccf0c7a4e1429f980a5573821a to your computer and use it in GitHub Desktop.
Transformacion de coordenadas sirgas 2000 a coordenadas tte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math as m | |
E = 374615.956 | |
N = 6227561.662 | |
R = m.pi * (13 +18.0/60.0 + 19.35/3600.0) / 180 | |
d = 3000; | |
def sirgas2tte(e, n) : | |
tmpE = e - E; | |
tmpN = n - N; | |
return (tmpE * m.cos(R) - tmpN * m.sin(R), tmpE * m.sin(R) + tmpN * m.cos(R)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment