Skip to content

Instantly share code, notes, and snippets.

@marcelino-m
Created December 2, 2016 21:13
Show Gist options
  • Save marcelino-m/4fedb3ccf0c7a4e1429f980a5573821a to your computer and use it in GitHub Desktop.
Save marcelino-m/4fedb3ccf0c7a4e1429f980a5573821a to your computer and use it in GitHub Desktop.
Transformacion de coordenadas sirgas 2000 a coordenadas tte
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