Commit 0cf52e72 by vida092

grupo

parent 608b48a0
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta http-equiv="Cache-control" content="no-cache"> <meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache-control" content="no-store"> <meta http-equiv="Cache-control" content="no-store">
<title>NICHO EPI-SPECIES</title> <title>EPI-SPECIES</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
<div id="result"></div> <div id="result"></div>
<div class="row pd-top20 container_15p" > <div class="row pd-top20 pd-down20 container_15p" >
<div id="tuto_region" class="col-md-6 col-sm-12 col-xs-12"> <div id="tuto_region" class="col-md-6 col-sm-12 col-xs-12">
<!--<div class="col-md-12 col-sm-12 col-xs-12">--> <!--<div class="col-md-12 col-sm-12 col-xs-12">-->
...@@ -308,27 +308,32 @@ ...@@ -308,27 +308,32 @@
</div> </div>
</div> </div>
<div id="tuto_disease" class="col-md-6 col-sm-12 col-xs-12"> <div>
<div id="taxon_tree_root" class="col-md-6 col-sm-12 col-xs-12">
<label class = "text-sm">Raiz taxonómica</label>
<select id="taxon_tree_root_value" class="form-control">
<option value="familia">Familia</option>
<option value="genero">Genero</option>
<option value="nombrecientifico">Especie</option>
</select>
</div>
</div>
<div id="tuto_disease" class="col-md-12 col-sm-12 col-xs-12">
<div class="form-group" > <div class="form-group" >
<label class = "text-sm" id="disease">Enfermedad:</label> <label class = "text-sm" id="disease">Enfermedad:</label>
<select id = "disease_selected" class="form-control"> <select id = "disease_selected" class="form-control">
<option value = "dis_default" selected disabled> Seleccione Enfermedad</option> <option value = "dis_default" selected disabled> Seleccione Enfermedad</option>
<option value ="todas">Sin enfermedad</option> <option value ="todas">Sin enfermedad</option>
<!--<option value="Enfermedad de Chagas">Enfermedad de Chagas</option>
<option value="Fiebre de Zika"> Fiebre de Zika</option>
<option value="Fiebre de Dengue">Fiebre de Dengue</option>
<option value="Fiebre Chikunguña"> Fiebre Chikinguña</option>
<option value="Hantavirosis"> Hantavirosis</option>
<option value="Fiebre del Nilo"> Fiebre del Nilo</option>
<option value="Enfermedad de Lyme"> Enfermedad de Lyme </option>
<option value="Fiebre del Nilo"> Fiebre del Nilo</option>
<option value="Leptospirosis"> Leptospirosis</option>
<option value="Leishmaniasis"> Leishmaniasis</option>-->
</select> </select>
</div> </div>
</div> </div>
</div> </div>
...@@ -786,7 +791,7 @@ ...@@ -786,7 +791,7 @@
<button id="btn_map_type" type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" value="deviation" >Standard deviation <span class="caret"></span></button> <button id="btn_map_type" type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" value="range" >Equal range <span class="caret"></span></button>
<ul class="dropdown-menu dropdown_idioma"> <ul class="dropdown-menu dropdown_idioma">
<li><a class="map_type" label="Equal range" value="range">Equal range </a></li> <li><a class="map_type" label="Equal range" value="range">Equal range </a></li>
......
...@@ -328,7 +328,7 @@ var histogram_module = (function (verbose) { ...@@ -328,7 +328,7 @@ var histogram_module = (function (verbose) {
body.selected_decile = deciles body.selected_decile = deciles
console.log(body.selected_decile) console.log(body.selected_decile)
console.log(body) console.log(body)
console.log("ahora se llama ala función load decile table") console.log("ahora se llama a la función load decile table")
// _display_module_nicho.loadDecilDataTable(d.decil, d.name, false, [], []); // _display_module_nicho.loadDecilDataTable(d.decil, d.name, false, [], []);
......
...@@ -333,6 +333,7 @@ var language_module = (function (verbose) { ...@@ -333,6 +333,7 @@ var language_module = (function (verbose) {
$("#lb_panel_variables").text($.i18n.prop('lb_panel_variables')); $("#lb_panel_variables").text($.i18n.prop('lb_panel_variables'));
$("#a_taxon_fuente").text($.i18n.prop('a_taxon')); $("#a_taxon_fuente").text($.i18n.prop('a_taxon'));
$("#a_raster_fuente").text($.i18n.prop('a_raster')); $("#a_raster_fuente").text($.i18n.prop('a_raster'));
$("#a_socio_fuente").text($.i18n.prop('a_socio'));
$("#a_topo_fuente").text($.i18n.prop('a_topo')); $("#a_topo_fuente").text($.i18n.prop('a_topo'));
$("#a_taxon_sumidero").text($.i18n.prop('a_taxon')); $("#a_taxon_sumidero").text($.i18n.prop('a_taxon'));
......
...@@ -972,6 +972,7 @@ var map_module = (function (url_geoserver, workspace, verbose, url_zacatuche) { ...@@ -972,6 +972,7 @@ var map_module = (function (url_geoserver, workspace, verbose, url_zacatuche) {
// console.log(cells_map) // console.log(cells_map)
// console.log(score_map) // console.log(score_map)
for (var i = 0; i < grid_map.features.length; i++) { for (var i = 0; i < grid_map.features.length; i++) {
...@@ -1016,6 +1017,9 @@ var map_module = (function (url_geoserver, workspace, verbose, url_zacatuche) { ...@@ -1016,6 +1017,9 @@ var map_module = (function (url_geoserver, workspace, verbose, url_zacatuche) {
function colorizeTargetFeatures(grid_map = _grid_map_target, tileLayer = _tileLayerSpecies) { function colorizeTargetFeatures(grid_map = _grid_map_target, tileLayer = _tileLayerSpecies) {
_VERBOSE ? console.log("colorizeTargetFeatures") : _VERBOSE; _VERBOSE ? console.log("colorizeTargetFeatures") : _VERBOSE;
console.log(grid_map);
console.log(tileLayer)
console.log("<------------Colores--------------->")
var gridid_occ = [] var gridid_occ = []
......
...@@ -281,17 +281,17 @@ var module_nicho = (function () { ...@@ -281,17 +281,17 @@ var module_nicho = (function () {
}); });
$("#agent_selected").change(function (e) { // $("#agent_selected").change(function (e) {
console.log("Cambiando a " + ($("#agent_selected").val())); // console.log("Cambiando a " + ($("#agent_selected").val()));
_AGENT_SELECTED = ($("#agent_selected").val()); // _AGENT_SELECTED = ($("#agent_selected").val());
_AGENT_TEXT_SELECTED = $("#agent_selected option:selected").text(); // _AGENT_TEXT_SELECTED = $("#agent_selected option:selected").text();
//_map_module_nicho.changeRegionView(_AGENT_SELECTED); // //_map_module_nicho.changeRegionView(_AGENT_SELECTED);
_regenMessage(); // _regenMessage();
}); // });
...@@ -303,15 +303,15 @@ var module_nicho = (function () { ...@@ -303,15 +303,15 @@ var module_nicho = (function () {
}); });
$("#disease_selected").change(function (e) { // $("#disease_selected").change(function (e) {
_VERBOSE ? console.log("Cambia enfermedad") : _VERBOSE; // _VERBOSE ? console.log("Cambia enfermedad") : _VERBOSE;
// No es necesario regenerar resultados // // No es necesario regenerar resultados
_regenMessage(); // _regenMessage();
}); // });
// checkbox que se activa cuando se desea realizar el proceso de validación. (Proceso de validación todavia no implementado) // checkbox que se activa cuando se desea realizar el proceso de validación. (Proceso de validación todavia no implementado)
...@@ -1405,7 +1405,7 @@ var module_nicho = (function () { ...@@ -1405,7 +1405,7 @@ var module_nicho = (function () {
var ids_comp_variables = ['fuente', 'target']; var ids_comp_variables = ['fuente', 'target'];
_componente_fuente = _variable_module_nicho.createSelectorComponent("variables", ids_comp_variables[0], "lb_panel_variables"); _componente_fuente = _variable_module_nicho.createSelectorComponent("variables", ids_comp_variables[0], "lb_panel_variables",true);
// _componente_target = _variable_module_nicho.createSelectorComponent("var_target", ids_comp_variables[1], "", false, true, true, 4); // _componente_target = _variable_module_nicho.createSelectorComponent("var_target", ids_comp_variables[1], "", false, true, true, 4);
_componente_target = _variable_module_nicho.createSelectorComponent("var_target", ids_comp_variables[1], "", false, true, true); _componente_target = _variable_module_nicho.createSelectorComponent("var_target", ids_comp_variables[1], "", false, true, true);
......
...@@ -427,6 +427,8 @@ var res_display_module = (function (verbose, url_zacatuche) { ...@@ -427,6 +427,8 @@ var res_display_module = (function (verbose, url_zacatuche) {
var language_selected = e.target.getAttribute("value"); var language_selected = e.target.getAttribute("value");
var language_label_selected = e.target.getAttribute("label"); var language_label_selected = e.target.getAttribute("label");
console.log("-*/-*/-*/-*/-*/-*/-*/")
console.log(language_label_selected)
_VERBOSE ? console.log("value: " + language_selected) : _VERBOSE; _VERBOSE ? console.log("value: " + language_selected) : _VERBOSE;
_VERBOSE ? console.log("label: " + language_label_selected) : _VERBOSE; _VERBOSE ? console.log("label: " + language_label_selected) : _VERBOSE;
...@@ -1203,6 +1205,8 @@ var res_display_module = (function (verbose, url_zacatuche) { ...@@ -1203,6 +1205,8 @@ var res_display_module = (function (verbose, url_zacatuche) {
processSingleResponse(data_response, data_request, validation_data); processSingleResponse(data_response, data_request, validation_data);
console.log(_REQUESTS_DONE)
_REQUESTS_DONE.push(respuesta); _REQUESTS_DONE.push(respuesta);
console.log("****************-------********") console.log("****************-------********")
console.log(_REQUESTS_DONE) console.log(_REQUESTS_DONE)
...@@ -1758,6 +1762,7 @@ var res_display_module = (function (verbose, url_zacatuche) { ...@@ -1758,6 +1762,7 @@ var res_display_module = (function (verbose, url_zacatuche) {
} }
else{ else{
console.log("se hace la petición a la segunda tabla") console.log("se hace la petición a la segunda tabla")
//fetch("jsons/pintarmapa.json")
fetch("https://covid19.c3.unam.mx/gateway/api/analysis/cells/", { fetch("https://covid19.c3.unam.mx/gateway/api/analysis/cells/", {
method: "POST", method: "POST",
body: JSON.stringify(body), body: JSON.stringify(body),
...@@ -1767,6 +1772,8 @@ var res_display_module = (function (verbose, url_zacatuche) { ...@@ -1767,6 +1772,8 @@ var res_display_module = (function (verbose, url_zacatuche) {
}) })
.then(resp => resp.json()) .then(resp => resp.json())
.then(resp => { .then(resp => {
console.log(resp)
resp.decil_cells=[{cell: 196, decile: 5},{cell: 1051, decile: 5},{cell: 1118, decile: 5},{cell: 1988, decile: 5},{cell: 251, decile: 5},{cell: 1492, decile: 5},{cell: 887, decile: 5},{cell: 1342, decile: 5},{cell: 209, decile: 5},{cell: 700, decile: 5},{cell: 532, decile: 5}]
// $("#map_next").css('visibility', 'visible'); // $("#map_next").css('visibility', 'visible');
// $("#map_next").show("slow"); // $("#map_next").show("slow");
...@@ -1778,7 +1785,8 @@ var res_display_module = (function (verbose, url_zacatuche) { ...@@ -1778,7 +1785,8 @@ var res_display_module = (function (verbose, url_zacatuche) {
var percentage_avg = resp.percentage_avg; var percentage_avg = resp.percentage_avg;
var decil_cells = resp.data_score_cell; //var decil_cells = resp.data_score_cell;
var decil_cells = resp.decil_cells;
console.log(percentage_avg) console.log(percentage_avg)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
lb_titulo = Ecological niche lb_titulo = Epi-Species
nicho_link = Go to community nicho_link = Go to community
btn_idioma = Language btn_idioma = Language
a_espanol = Spanish a_espanol = Spanish
...@@ -17,10 +17,11 @@ lb_ecos = Load eco-regions ...@@ -17,10 +17,11 @@ lb_ecos = Load eco-regions
lb_seccion_tools = 2. By selection tool lb_seccion_tools = 2. By selection tool
lb_tools_ayuda = Use the tools that appear at the side of the map lb_tools_ayuda = Use the tools that appear at the side of the map
lb_panel_variables = Variable group lb_panel_variables = Variable group
a_taxon = Taxon a_taxon = SNIB-Conabio
a_clima = Climatic a_clima = Climatic
a_topo = Others a_topo = Others
a_raster = Raster a_raster = Climatic
a_socio = Sociodemographic and economic
lb_occ = Species occurrences lb_occ = Species occurrences
lb_occ_celda = Cells with species occurrences lb_occ_celda = Cells with species occurrences
btn_variable = Choose Taxon btn_variable = Choose Taxon
...@@ -149,7 +150,7 @@ lb_status_chkfecha_des = Discard undated records ...@@ -149,7 +150,7 @@ lb_status_chkfecha_des = Discard undated records
lb_rango_fecha = Consider records between: {0} - {1} lb_rango_fecha = Consider records between: {0} - {1}
lb_status_mapprob_act = Generate probability map lb_status_mapprob_act = Generate probability map
lb_status_mapprob_des = Generate map by score value lb_status_mapprob_des = Generate map by score value
lb_sub_titulo = Ecological Data Exploration Platform of the C3 and CONABIO lb_sub_titulo = University Platform for Spatial Eco-epidemiology
lb_title_index = Welcome to the Ecological Data Exploration Platform lb_title_index = Welcome to the Ecological Data Exploration Platform
lb_info_net = Keep the 'shift' key pressed to select more than one node lb_info_net = Keep the 'shift' key pressed to select more than one node
lb_sin_filtros = Select a group of variables from each component lb_sin_filtros = Select a group of variables from each component
......
lb_titulo = Nicho Epidemiológico lb_titulo = Epi-Species
lb_sub_titulo = Plataforma de exploración de datos epidemiológicos lb_sub_titulo = Plataforma Universitaria de Eco-epidemiología Espacial
nicho_link = Redes Epidemiológicas nicho_link = Redes Epidemiológicas
btn_idioma = Idioma btn_idioma = Idioma
a_espanol = Español a_espanol = Español
...@@ -17,11 +17,11 @@ lb_seccion_tools = 2. Por herramientas de selección ...@@ -17,11 +17,11 @@ lb_seccion_tools = 2. Por herramientas de selección
lb_tools_ayuda = Utiliza las herramientas que aparecen al costado del mapa lb_tools_ayuda = Utiliza las herramientas que aparecen al costado del mapa
lb_panel_variables = Grupo de variables lb_panel_variables = Grupo de variables
lb_params_variables = Parámetros lb_params_variables = Parámetros
a_taxon = Grupos de interés a_taxon = SNIB-Conabio
a_clima = Climáticas a_clima = Climáticas
a_topo = Topográficas a_topo = Topográficas
a_raster = Raster a_raster = Clima
a_socio = Socioeconómicas a_socio = Sociodemográficas y económicas
lb_occ = Ocurrencias grupo lb_occ = Ocurrencias grupo
lb_occ_celda = Área con ocurrencias del grupo (ni) lb_occ_celda = Área con ocurrencias del grupo (ni)
btn_variable = Escoge Grupo btn_variable = Escoge Grupo
......
...@@ -306,7 +306,7 @@ label_esp_p52 = Raster Variables ...@@ -306,7 +306,7 @@ label_esp_p52 = Raster Variables
label_esp_p53 = Choose the following raster variables, they were processed to be used as covariates in your analysis. label_esp_p53 = Choose the following raster variables, they were processed to be used as covariates in your analysis.
hd_resumen = Summary hd_resumen = Summary
tlt_resumen = Summary tlt_resumen = Summary
tuto_res = Results tuto_res = Results
label_esp_res_p1 = Resultados de Nicho Ecol\u00f3gico label_esp_res_p1 = Resultados de Nicho Ecol\u00f3gico
label_esp_res_p2 = A continuaci\u00f3n se da una explicaci\u00f3n de los resultados obtenidos en el analisis de nicho ecol\u00f3gico. label_esp_res_p2 = A continuaci\u00f3n se da una explicaci\u00f3n de los resultados obtenidos en el analisis de nicho ecol\u00f3gico.
label_esp_res_p3 = titulo mapa label_esp_res_p3 = titulo mapa
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.

3.05 KB | W: | H:

5.53 KB | W: | H:

plugins/jstree/dist/themes/default/32px.png
plugins/jstree/dist/themes/default/32px.png
plugins/jstree/dist/themes/default/32px.png
plugins/jstree/dist/themes/default/32px.png
  • 2-up
  • Swipe
  • Onion skin

1.84 KB | W: | H:

2.16 KB | W: | H:

plugins/jstree/dist/themes/default/40px.png
plugins/jstree/dist/themes/default/40px.png
plugins/jstree/dist/themes/default/40px.png
plugins/jstree/dist/themes/default/40px.png
  • 2-up
  • Swipe
  • Onion skin

1.68 KB | W: | H:

1.43 KB | W: | H:

plugins/jstree/dist/themes/default/throbber.gif
plugins/jstree/dist/themes/default/throbber.gif
plugins/jstree/dist/themes/default/throbber.gif
plugins/jstree/dist/themes/default/throbber.gif
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment