- Timestamp:
- Jun 25, 2019, 5:07:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nautical.py
r2636 r2637 36 36 37 37 # Definitions [Name, lat, lon] 38 NotablePostitions = { \ 38 NotablePoints = { \ 39 'ArroyoRosario': ['Arroyo Rosario', np.array([-34.4331, -57.3504])], \ 40 'BsAs': ['Buenos Aires', np.array([-34.6097, -58.4494])], \ 41 'CaboPolonio': ['Cabo Polonio', np.array([-34.4083, -53.7782])], \ 42 'Colonia': ['Colonia del Sacramento', np.array([-34.4724, -57.8556])], \ 43 'MartinChico': ['Martin Chico', np.array([-34.1681, -58.2118])], \ 44 'Montevideo': ['Montevideo', np.array([-34.9216, -56.1574])], \ 45 'PuntaAtalaya': ['Punta Atalaya', np.array([-35.01868, -57.5181])], \ 46 'PuntaEste': ['Punta del Este', np.array([-34.9830, -54.9533])], \ 47 'PuntaIndio': ['Punt Indio', np.array([-35.4179, -57.0959])], \ 39 48 'PuntaMedanos': ['Punta Medanos', np.array([-36.8494, -56.6395])], \ 40 49 'PuntaRaza': ['Punta Raza', np.array([-36.2929, -56.7474])], \ 41 50 'RioSalado': ['Rio Salado', np.array([-35.7423, -57.3635])], \ 42 'PuntaIndio': ['Punt Indio', np.array([-35.4179, -57.0959])], \43 'PuntaAtalaya': ['Punta Atalaya', np.array([-35.01868, -57.5181])], \44 51 'Tigre': ['Tigre', np.array([-34.4486, -58.4989])], \ 45 'MartinChico': ['Martin Chico', np.array([-34.1681, -58.2118])], \ 46 'Colonia': ['Colonia del Sacramento', np.array([-34.4724, -57.8556])], \ 47 'ArroyoRosario': ['Arroyo Rosario', np.array([-34.4331, -57.3504])], \ 48 'Montevideo': ['Montevideo', np.array([-34.9216, -56.1574])], \ 49 'PuntaEste': ['Punta del Este', np.array([-34.9830, -54.9533])], \ 50 'CaboPolonio': ['Cabo Polonio', np.array([-34.4083, -53.7782])]} 52 } 51 53 52 54 # FROM: http://www.photographers1.com/Sailing/NauticalTerms&Nomenclature.html … … 1213 1215 # Atlantic_PuntaRaza 1214 1216 prevn = 'PuntaMedanos' 1215 pv = NotablePo stitions[prevn]1217 pv = NotablePoints[prevn] 1216 1218 ip = pv[1] 1217 1219 for isec in range(1,Nsecs-1): 1218 1220 iisec = isec - 1 1219 1221 aname = secs0[isec] 1220 pv = NotablePo stitions[aname]1222 pv = NotablePoints[aname] 1221 1223 ep = pv[1] 1222 1224 dps = geo.dist_points(ip,ep) … … 1233 1235 iisec = isec - 1 1234 1236 aname = secs0[isec] 1235 pv = NotablePo stitions[aname]1237 pv = NotablePoints[aname] 1236 1238 ep = pv[1] 1237 1239 dps = geo.dist_points(ip,ep)
Note: See TracChangeset
for help on using the changeset viewer.