Changeset 5353e56 in observatorio
- Timestamp:
- Oct 20, 2014, 10:15:03 AM (10 years ago)
- Branches:
- master
- Children:
- 20e566b
- Parents:
- 2355f98 (diff), 59fecc6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
procesos/apps/geocadena/views.py
r041076e r59fecc6 674 674 # Condición que busca las coordenadas del punto inicial desde el cual realizar la conexión 675 675 if ue_ini[0] in ["J", "G", "V", "E", "P"]: 676 if getUE(ue_ini[:10]): 677 coord_ini = getCoordenadas(getUE(ue_ini[:10])) 676 rif_ini = ue_ini[:10] 677 planta_ini = None 678 if ue_ini.rfind("Planta =") > 0: 679 planta_ini = ue_ini[ue_ini.rfind("=") + 1:].strip() 680 if getUE(rif_ini, planta_ini): 681 coord_ini = getCoordenadas(getUE(rif_ini, planta_ini)) 678 682 elif ue_ini.rfind("origen:") > 0: 679 683 pais_origen = ue_ini[ue_ini.rfind(":") + 1:].strip() … … 684 688 # Condición que busca las coordenadas del punto final hasta el cual realizar la conexión 685 689 if ue_fin[0] in ["J", "G", "V", "E", "P"]: 686 if getUE(ue_fin[:10]): 687 coord_fin = getCoordenadas(getUE(ue_fin[:10])) 690 rif_fin = ue_fin[:10] 691 planta_fin = None 692 if ue_fin.rfind("Planta =") > 0: 693 planta_fin = ue_fin[ue_fin.rfind("=") + 1:].strip() 694 if getUE(rif_fin, planta_fin): 695 coord_fin = getCoordenadas(getUE(rif_fin, planta_fin)) 688 696 elif ue_fin.rfind("origen:") > 0: 689 697 pais_origen = ue_fin[ue_fin.rfind(":") + 1:].strip()
Note: See TracChangeset
for help on using the changeset viewer.