Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fordecyt_2019
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rodrigo Tapia-McClung
fordecyt_2019
Commits
1535f677
Commit
1535f677
authored
Apr 17, 2020
by
Rodrigo Tapia-McClung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include rest of flows.
parent
23d86a41
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
146 additions
and
5 deletions
+146
-5
od.geojson
public/centropais/data/od.geojson
+1
-0
viajes_ocupados_POIC_desde.geojson
public/centropais/data/viajes_ocupados_POIC_desde.geojson
+25
-0
viajes_ocupados_POIC_entre.geojson
public/centropais/data/viajes_ocupados_POIC_entre.geojson
+30
-0
viajes_ocupados_POIC_hacia.geojson
public/centropais/data/viajes_ocupados_POIC_hacia.geojson
+25
-0
viajes_ocupados_entre.geojson
public/centropais/data/viajes_ocupados_entre.geojson
+28
-0
centropais_basemap.js
public/js/centropais_basemap.js
+4
-0
centropais_functions.js
public/js/centropais_functions.js
+33
-5
No files found.
public/centropais/data/od.geojson
View file @
1535f677
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
{ "type": "Feature", "properties": { "id_mun": 11009, "cve_ent": 11, "nombre": "Comonfort", "lng": -100.791667, "lat": 20.716667 }, "geometry": { "type": "Point", "coordinates": [ -100.791667, 20.716667 ] } },
{ "type": "Feature", "properties": { "id_mun": 11009, "cve_ent": 11, "nombre": "Comonfort", "lng": -100.791667, "lat": 20.716667 }, "geometry": { "type": "Point", "coordinates": [ -100.791667, 20.716667 ] } },
{ "type": "Feature", "properties": { "id_mun": 11004, "cve_ent": 11, "nombre": "Apaseo el Alto", "lng": -100.621667, "lat": 20.455556 }, "geometry": { "type": "Point", "coordinates": [ -100.621667, 20.455556 ] } },
{ "type": "Feature", "properties": { "id_mun": 11004, "cve_ent": 11, "nombre": "Apaseo el Alto", "lng": -100.621667, "lat": 20.455556 }, "geometry": { "type": "Point", "coordinates": [ -100.621667, 20.455556 ] } },
{ "type": "Feature", "properties": { "id_mun": 11025, "cve_ent": 11, "nombre": "Purísima del Rincón", "lng": -101.879167, "lat": 21.030556 }, "geometry": { "type": "Point", "coordinates": [ -101.879167, 21.030556 ] } },
{ "type": "Feature", "properties": { "id_mun": 11025, "cve_ent": 11, "nombre": "Purísima del Rincón", "lng": -101.879167, "lat": 21.030556 }, "geometry": { "type": "Point", "coordinates": [ -101.879167, 21.030556 ] } },
{ "type": "Feature", "properties": { "id_mun": 16069, "cve_ent": 16, "nombre": "La Piedad", "lng": -102.017, "lat": 20.3333 }, "geometry": { "type": "Point", "coordinates": [ -102.017, 20.3333 ] } },
{ "type": "Feature", "properties": { "id_mun": 22014, "cve_ent": 22, "nombre": "Querétaro", "lng": -100.391, "lat": 20.591 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_mun": 22014, "cve_ent": 22, "nombre": "Querétaro", "lng": -100.391, "lat": 20.591 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_mun": 22016, "cve_ent": 22, "nombre": "San Juan del Río", "lng": -99.996389, "lat": 20.388889 }, "geometry": { "type": "Point", "coordinates": [ -99.996389, 20.388889 ] } },
{ "type": "Feature", "properties": { "id_mun": 22016, "cve_ent": 22, "nombre": "San Juan del Río", "lng": -99.996389, "lat": 20.388889 }, "geometry": { "type": "Point", "coordinates": [ -99.996389, 20.388889 ] } },
{ "type": "Feature", "properties": { "id_mun": 22006, "cve_ent": 22, "nombre": "Corregidora", "lng": -100.442, "lat": 20.531 }, "geometry": { "type": "Point", "coordinates": [ -100.442, 20.531 ] } },
{ "type": "Feature", "properties": { "id_mun": 22006, "cve_ent": 22, "nombre": "Corregidora", "lng": -100.442, "lat": 20.531 }, "geometry": { "type": "Point", "coordinates": [ -100.442, 20.531 ] } },
...
...
public/centropais/data/viajes_ocupados_POIC_desde.geojson
0 → 100644
View file @
1535f677
{
"type": "FeatureCollection",
"name": "viajes_ocupados_POIC_desde",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "ocupados": "Terciario", "viajes": 1412, "id_destino": 11037, "muni_destino": "Silao", "xd": -101.426667, "yd": 20.943611, "personas": 1412 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "ocupados": "Primario", "viajes": 1325, "id_destino": 22011, "muni_destino": "El Marqués", "xd": -100.275248, "yd": 20.687706, "personas": 1325 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 24028, "muni_origen": "San Luis Potosí", "xo": -100.975, "yo": 22.149722, "ocupados": "Secundario", "viajes": 1046, "id_destino": 24035, "muni_destino": "Soledad de Graciano Sánchez", "xd": -100.940833, "yd": 22.183056, "personas": 1046 }, "geometry": { "type": "Point", "coordinates": [ -100.975, 22.149722 ] } },
{ "type": "Feature", "properties": { "id_origen": 1001, "muni_origen": "Aguascalientes", "xo": -102.296111, "yo": 21.880833, "ocupados": "Terciario", "viajes": 886, "id_destino": 1011, "muni_destino": "San Francisco de los Romo", "xd": -102.270278, "yd": 22.0725, "personas": 886 }, "geometry": { "type": "Point", "coordinates": [ -102.296111, 21.880833 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "ocupados": "Terciario", "viajes": 827, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "personas": 827 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "ocupados": "Terciario", "viajes": 716, "id_destino": 11031, "muni_destino": "San Francisco del Rincón", "xd": -101.857778, "yd": 21.018333, "personas": 716 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 1001, "muni_origen": "Aguascalientes", "xo": -102.296111, "yo": 21.880833, "ocupados": "Terciario", "viajes": 676, "id_destino": 1005, "muni_destino": "Jesús María", "xd": -102.343333, "yd": 21.961111, "personas": 676 }, "geometry": { "type": "Point", "coordinates": [ -102.296111, 21.880833 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "ocupados": "Primario", "viajes": 449, "id_destino": 22016, "muni_destino": "San Juan del Río", "xd": -99.996389, "yd": 20.388889, "personas": 449 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "ocupados": "Primario", "viajes": 391, "id_destino": 22006, "muni_destino": "Corregidora", "xd": -100.442, "yd": 20.531, "personas": 391 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "ocupados": "Primario", "viajes": 277, "id_destino": 22008, "muni_destino": "Huimilpan", "xd": -100.283333, "yd": 20.366667, "personas": 277 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "ocupados": "Terciario", "viajes": 231, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "personas": 231 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "ocupados": "Terciario", "viajes": 220, "id_destino": 11025, "muni_destino": "Purísima del Rincón", "xd": -101.879167, "yd": 21.030556, "personas": 220 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "ocupados": "Primario", "viajes": 189, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "personas": 189 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "ocupados": "Primario", "viajes": 168, "id_destino": 11007, "muni_destino": "Celaya", "xd": -100.815, "yd": 20.528889, "personas": 168 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 1001, "muni_origen": "Aguascalientes", "xo": -102.296111, "yo": 21.880833, "ocupados": "Terciario", "viajes": 151, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 151 }, "geometry": { "type": "Point", "coordinates": [ -102.296111, 21.880833 ] } },
{ "type": "Feature", "properties": { "id_origen": 24028, "muni_origen": "San Luis Potosí", "xo": -100.975, "yo": 22.149722, "ocupados": "Secundario", "viajes": 147, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 147 }, "geometry": { "type": "Point", "coordinates": [ -100.975, 22.149722 ] } },
{ "type": "Feature", "properties": { "id_origen": 24028, "muni_origen": "San Luis Potosí", "xo": -100.975, "yo": 22.149722, "ocupados": "Secundario", "viajes": 114, "id_destino": 24024, "muni_destino": "Ríoverde", "xd": -99.99169, "yd": 21.93032, "personas": 114 }, "geometry": { "type": "Point", "coordinates": [ -100.975, 22.149722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "ocupados": "Terciario", "viajes": 104, "id_destino": 11007, "muni_destino": "Celaya", "xd": -100.815, "yd": 20.528889, "personas": 104 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } }
]
}
public/centropais/data/viajes_ocupados_POIC_entre.geojson
0 → 100644
View file @
1535f677
{
"type": "FeatureCollection",
"name": "viajes_ocupados_POIC_entre",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "viajes": 1158, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 1158 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11017, "muni_origen": "Irapuato", "xo": -101.3475, "yo": 20.674167, "viajes": 1107, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 1107 }, "geometry": { "type": "Point", "coordinates": [ -101.3475, 20.674167 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "viajes": 941, "id_destino": 11031, "muni_destino": "San Francisco del Rincón", "xd": -101.857778, "yd": 21.018333, "viajes:1": 941 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11017, "muni_origen": "Irapuato", "xo": -101.3475, "yo": 20.674167, "viajes": 660, "id_destino": 11027, "muni_destino": "Salamanca", "xd": -101.195717, "yd": 20.573931, "viajes:1": 660 }, "geometry": { "type": "Point", "coordinates": [ -101.3475, 20.674167 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "viajes": 624, "id_destino": 22016, "muni_destino": "San Juan del Río", "xd": -99.996389, "yd": 20.388889, "viajes:1": 624 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 22016, "muni_origen": "San Juan del Río", "xo": -99.996389, "yo": 20.388889, "viajes": 611, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "viajes:1": 611 }, "geometry": { "type": "Point", "coordinates": [ -99.996389, 20.388889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11031, "muni_origen": "San Francisco del Rincón", "xo": -101.857778, "yo": 21.018333, "viajes": 456, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 456 }, "geometry": { "type": "Point", "coordinates": [ -101.857778, 21.018333 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 440, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "viajes:1": 440 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11027, "muni_origen": "Salamanca", "xo": -101.195717, "yo": 20.573931, "viajes": 363, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "viajes:1": 363 }, "geometry": { "type": "Point", "coordinates": [ -101.195717, 20.573931 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "viajes": 352, "id_destino": 11007, "muni_destino": "Celaya", "xd": -100.815, "yd": 20.528889, "viajes:1": 352 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 340, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "viajes:1": 340 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 306, "id_destino": 11027, "muni_destino": "Salamanca", "xd": -101.195717, "yd": 20.573931, "viajes:1": 306 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "viajes": 291, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 291 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "viajes": 291, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "viajes:1": 291 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "viajes": 291, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 291 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "viajes": 291, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "viajes:1": 291 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11017, "muni_origen": "Irapuato", "xo": -101.3475, "yo": 20.674167, "viajes": 287, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 287 }, "geometry": { "type": "Point", "coordinates": [ -101.3475, 20.674167 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 266, "id_destino": 11003, "muni_destino": "San Miguel de Allende", "xd": -100.743889, "yd": 20.915278, "viajes:1": 266 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11015, "muni_origen": "Guanajuato", "xo": -101.256667, "yo": 21.017778, "viajes": 189, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 189 }, "geometry": { "type": "Point", "coordinates": [ -101.256667, 21.017778 ] } },
{ "type": "Feature", "properties": { "id_origen": 24028, "muni_origen": "San Luis Potosí", "xo": -100.975, "yo": 22.149722, "viajes": 179, "id_destino": 24024, "muni_destino": "Ríoverde", "xd": -99.99169, "yd": 21.93032, "viajes:1": 179 }, "geometry": { "type": "Point", "coordinates": [ -100.975, 22.149722 ] } },
{ "type": "Feature", "properties": { "id_origen": 1001, "muni_origen": "Aguascalientes", "xo": -102.296111, "yo": 21.880833, "viajes": 164, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 164 }, "geometry": { "type": "Point", "coordinates": [ -102.296111, 21.880833 ] } },
{ "type": "Feature", "properties": { "id_origen": 11027, "muni_origen": "Salamanca", "xo": -101.195717, "yo": 20.573931, "viajes": 163, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 163 }, "geometry": { "type": "Point", "coordinates": [ -101.195717, 20.573931 ] } },
{ "type": "Feature", "properties": { "id_origen": 24028, "muni_origen": "San Luis Potosí", "xo": -100.975, "yo": 22.149722, "viajes": 157, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "viajes:1": 157 }, "geometry": { "type": "Point", "coordinates": [ -100.975, 22.149722 ] } }
]
}
public/centropais/data/viajes_ocupados_POIC_hacia.geojson
0 → 100644
View file @
1535f677
{
"type": "FeatureCollection",
"name": "viajes_ocupados_POIC_hacia",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id_origen": 22006, "muni_origen": "Corregidora", "xo": -100.442, "yo": 20.531, "ocupados": "Primario", "viajes": 10612, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 10612 }, "geometry": { "type": "Point", "coordinates": [ -100.442, 20.531 ] } },
{ "type": "Feature", "properties": { "id_origen": 24035, "muni_origen": "Soledad de Graciano Sánchez", "xo": -100.940833, "yo": 22.183056, "ocupados": "Secundario", "viajes": 8886, "id_destino": 24028, "muni_destino": "San Luis Potosí", "xd": -100.975, "yd": 22.149722, "personas": 8886 }, "geometry": { "type": "Point", "coordinates": [ -100.940833, 22.183056 ] } },
{ "type": "Feature", "properties": { "id_origen": 1005, "muni_origen": "Jesús María", "xo": -102.343333, "yo": 21.961111, "ocupados": "Terciario", "viajes": 2836, "id_destino": 1001, "muni_destino": "Aguascalientes", "xd": -102.296111, "yd": 21.880833, "personas": 2836 }, "geometry": { "type": "Point", "coordinates": [ -102.343333, 21.961111 ] } },
{ "type": "Feature", "properties": { "id_origen": 22011, "muni_origen": "El Marqués", "xo": -100.275248, "yo": 20.687706, "ocupados": "Primario", "viajes": 2610, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 2610 }, "geometry": { "type": "Point", "coordinates": [ -100.275248, 20.687706 ] } },
{ "type": "Feature", "properties": { "id_origen": 22016, "muni_origen": "San Juan del Río", "xo": -99.996389, "yo": 20.388889, "ocupados": "Primario", "viajes": 499, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 499 }, "geometry": { "type": "Point", "coordinates": [ -99.996389, 20.388889 ] } },
{ "type": "Feature", "properties": { "id_origen": 1011, "muni_origen": "San Francisco de los Romo", "xo": -102.270278, "yo": 22.0725, "ocupados": "Terciario", "viajes": 494, "id_destino": 1001, "muni_destino": "Aguascalientes", "xd": -102.296111, "yd": 21.880833, "personas": 494 }, "geometry": { "type": "Point", "coordinates": [ -102.270278, 22.0725 ] } },
{ "type": "Feature", "properties": { "id_origen": 11037, "muni_origen": "Silao", "xo": -101.426667, "yo": 20.943611, "ocupados": "Terciario", "viajes": 480, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 480 }, "geometry": { "type": "Point", "coordinates": [ -101.426667, 20.943611 ] } },
{ "type": "Feature", "properties": { "id_origen": 11017, "muni_origen": "Irapuato", "xo": -101.3475, "yo": 20.674167, "ocupados": "Terciario", "viajes": 349, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 349 }, "geometry": { "type": "Point", "coordinates": [ -101.3475, 20.674167 ] } },
{ "type": "Feature", "properties": { "id_origen": 11031, "muni_origen": "San Francisco del Rincón", "xo": -101.857778, "yo": 21.018333, "ocupados": "Terciario", "viajes": 329, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 329 }, "geometry": { "type": "Point", "coordinates": [ -101.857778, 21.018333 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "ocupados": "Primario", "viajes": 283, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 283 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 22008, "muni_origen": "Huimilpan", "xo": -100.283333, "yo": 20.366667, "ocupados": "Primario", "viajes": 198, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 198 }, "geometry": { "type": "Point", "coordinates": [ -100.283333, 20.366667 ] } },
{ "type": "Feature", "properties": { "id_origen": 11004, "muni_origen": "Apaseo el Alto", "xo": -100.621667, "yo": 20.455556, "ocupados": "Primario", "viajes": 160, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 160 }, "geometry": { "type": "Point", "coordinates": [ -100.621667, 20.455556 ] } },
{ "type": "Feature", "properties": { "id_origen": 1001, "muni_origen": "Aguascalientes", "xo": -102.296111, "yo": 21.880833, "ocupados": "Terciario", "viajes": 151, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 151 }, "geometry": { "type": "Point", "coordinates": [ -102.296111, 21.880833 ] } },
{ "type": "Feature", "properties": { "id_origen": 24028, "muni_origen": "San Luis Potosí", "xo": -100.975, "yo": 22.149722, "ocupados": "Primario", "viajes": 147, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 147 }, "geometry": { "type": "Point", "coordinates": [ -100.975, 22.149722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11015, "muni_origen": "Guanajuato", "xo": -101.256667, "yo": 21.017778, "ocupados": "Terciario", "viajes": 127, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 127 }, "geometry": { "type": "Point", "coordinates": [ -101.256667, 21.017778 ] } },
{ "type": "Feature", "properties": { "id_origen": 11003, "muni_origen": "San Miguel de Allende", "xo": -100.743889, "yo": 20.915278, "ocupados": "Primario", "viajes": 119, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "personas": 119 }, "geometry": { "type": "Point", "coordinates": [ -100.743889, 20.915278 ] } },
{ "type": "Feature", "properties": { "id_origen": 11025, "muni_origen": "Purísima del Rincón", "xo": -101.879167, "yo": 21.030556, "ocupados": "Terciario", "viajes": 117, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 117 }, "geometry": { "type": "Point", "coordinates": [ -101.879167, 21.030556 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "ocupados": "Terciario", "viajes": 102, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "personas": 102 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } }
]
}
public/centropais/data/viajes_ocupados_entre.geojson
0 → 100644
View file @
1535f677
{
"type": "FeatureCollection",
"name": "viajes_ocupados_entre",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id_origen": 11017, "muni_origen": "Irapuato", "xo": -101.3475, "yo": 20.674167, "viajes": 7893, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 7893 }, "geometry": { "type": "Point", "coordinates": [ -101.3475, 20.674167 ] } },
{ "type": "Feature", "properties": { "id_origen": 11017, "muni_origen": "Irapuato", "xo": -101.3475, "yo": 20.674167, "viajes": 3079, "id_destino": 11027, "muni_destino": "Salamanca", "xd": -101.195717, "yd": 20.573931, "viajes:1": 3079 }, "geometry": { "type": "Point", "coordinates": [ -101.3475, 20.674167 ] } },
{ "type": "Feature", "properties": { "id_origen": 11031, "muni_origen": "San Francisco del Rincón", "xo": -101.857778, "yo": 21.018333, "viajes": 2549, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 2549 }, "geometry": { "type": "Point", "coordinates": [ -101.857778, 21.018333 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "viajes": 2523, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 2523 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "viajes": 2099, "id_destino": 11031, "muni_destino": "San Francisco del Rincón", "xd": -101.857778, "yd": 21.018333, "viajes:1": 2099 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 22016, "muni_origen": "San Juan del Río", "xo": -99.996389, "yo": 20.388889, "viajes": 2077, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "viajes:1": 2077 }, "geometry": { "type": "Point", "coordinates": [ -99.996389, 20.388889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 2061, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "viajes:1": 2061 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 1978, "id_destino": 11027, "muni_destino": "Salamanca", "xd": -101.195717, "yd": 20.573931, "viajes:1": 1978 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11027, "muni_origen": "Salamanca", "xo": -101.195717, "yo": 20.573931, "viajes": 1670, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "viajes:1": 1670 }, "geometry": { "type": "Point", "coordinates": [ -101.195717, 20.573931 ] } },
{ "type": "Feature", "properties": { "id_origen": 11027, "muni_origen": "Salamanca", "xo": -101.195717, "yo": 20.573931, "viajes": 1597, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 1597 }, "geometry": { "type": "Point", "coordinates": [ -101.195717, 20.573931 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 1475, "id_destino": 11003, "muni_destino": "San Miguel de Allende", "xd": -100.743889, "yd": 20.915278, "viajes:1": 1475 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "viajes": 1370, "id_destino": 22016, "muni_destino": "San Juan del Río", "xd": -99.996389, "yd": 20.388889, "viajes:1": 1370 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 11015, "muni_origen": "Guanajuato", "xo": -101.256667, "yo": 21.017778, "viajes": 1317, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 1317 }, "geometry": { "type": "Point", "coordinates": [ -101.256667, 21.017778 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "viajes": 1283, "id_destino": 11007, "muni_destino": "Celaya", "xd": -100.815, "yd": 20.528889, "viajes:1": 1283 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 11020, "muni_origen": "León", "xo": -101.680556, "yo": 21.119722, "viajes": 1073, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "viajes:1": 1073 }, "geometry": { "type": "Point", "coordinates": [ -101.680556, 21.119722 ] } },
{ "type": "Feature", "properties": { "id_origen": 22014, "muni_origen": "Querétaro", "xo": -100.391, "yo": 20.591, "viajes": 1067, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 1067 }, "geometry": { "type": "Point", "coordinates": [ -100.391, 20.591 ] } },
{ "type": "Feature", "properties": { "id_origen": 11017, "muni_origen": "Irapuato", "xo": -101.3475, "yo": 20.674167, "viajes": 807, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 807 }, "geometry": { "type": "Point", "coordinates": [ -101.3475, 20.674167 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 734, "id_destino": 11017, "muni_destino": "Irapuato", "xd": -101.3475, "yd": 20.674167, "viajes:1": 734 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } },
{ "type": "Feature", "properties": { "id_origen": 11003, "muni_origen": "San Miguel de Allende", "xo": -100.743889, "yo": 20.915278, "viajes": 622, "id_destino": 22014, "muni_destino": "Querétaro", "xd": -100.391, "yd": 20.591, "viajes:1": 622 }, "geometry": { "type": "Point", "coordinates": [ -100.743889, 20.915278 ] } },
{ "type": "Feature", "properties": { "id_origen": 16069, "muni_origen": "La Piedad", "xo": -102.017, "yo": 20.3333, "viajes": 608, "id_destino": 11015, "muni_destino": "Guanajuato", "xd": -101.256667, "yd": 21.017778, "viajes:1": 608 }, "geometry": { "type": "Point", "coordinates": [ -102.017, 20.3333 ] } },
{ "type": "Feature", "properties": { "id_origen": 11007, "muni_origen": "Celaya", "xo": -100.815, "yo": 20.528889, "viajes": 514, "id_destino": 11020, "muni_destino": "León", "xd": -101.680556, "yd": 21.119722, "viajes:1": 514 }, "geometry": { "type": "Point", "coordinates": [ -100.815, 20.528889 ] } }
]
}
public/js/centropais_basemap.js
View file @
1535f677
...
@@ -1097,6 +1097,10 @@ const makeBaseMap = () => {
...
@@ -1097,6 +1097,10 @@ const makeBaseMap = () => {
// and finally set reset control funcionality
// and finally set reset control funcionality
createFlowLayer
(
"data/viajes_ocupados_desde.geojson"
,
"ocupadosDesde"
,
true
)
createFlowLayer
(
"data/viajes_ocupados_desde.geojson"
,
"ocupadosDesde"
,
true
)
.
then
(
()
=>
createFlowLayer
(
"data/viajes_ocupados_hacia.geojson"
,
"ocupadosHacia"
)
)
.
then
(
()
=>
createFlowLayer
(
"data/viajes_ocupados_hacia.geojson"
,
"ocupadosHacia"
)
)
.
then
(
()
=>
createFlowLayer
(
"data/viajes_ocupados_entre.geojson"
,
"ocupadosEntre"
)
)
.
then
(
()
=>
createFlowLayer
(
"data/viajes_ocupados_POIC_desde.geojson"
,
"poicDesde"
)
)
.
then
(
()
=>
createFlowLayer
(
"data/viajes_ocupados_POIC_hacia.geojson"
,
"poicHacia"
)
)
.
then
(
()
=>
createFlowLayer
(
"data/viajes_ocupados_POIC_entre.geojson"
,
"poicEntre"
)
)
.
then
(
layers
=>
{
.
then
(
layers
=>
{
// reset to all flows displayed
// reset to all flows displayed
$
(
"#resetFlows"
).
on
(
"click"
,
()
=>
{
$
(
"#resetFlows"
).
on
(
"click"
,
()
=>
{
...
...
public/js/centropais_functions.js
View file @
1535f677
...
@@ -31,13 +31,13 @@ let timeParse,
...
@@ -31,13 +31,13 @@ let timeParse,
let
maxIndicators
=
{},
let
maxIndicators
=
{},
minIndicators
=
{},
minIndicators
=
{},
//indicators = ["area", "perimeter", "costa", "df"],
//indicators = ["area", "perimeter", "costa", "df"],
indicators
=
[
"ocupadosDesde"
,
"ocupadosHacia"
,
"
poicDesde"
,
"poicHacia"
,
"ocupadosEntre
"
,
"poicEntre"
],
indicators
=
[
"ocupadosDesde"
,
"ocupadosHacia"
,
"
ocupadosEntre"
,
"poicDesde"
,
"poicHacia
"
,
"poicEntre"
],
indicatorsNames
=
[
"Viajes de ocupados desde centros de mercado"
,
"Viajes de ocupados hacia centros de mercado"
,
indicatorsNames
=
[
"Viajes de ocupados desde centros de mercado"
,
"Viajes de ocupados hacia centros de mercado"
,
"Viajes de
personas en OIC desde centros de mercado"
,
"Viajes de personas en OIC hacia
centros de mercado"
,
"Viajes de
ocupados entre zonas"
,
"Viajes de personas en OIC desde
centros de mercado"
,
"Viajes de
ocupados entre zonas
"
,
"Viajes de personas en OIC entre zonas"
],
"Viajes de
personas en OIC hacia centros de mercado
"
,
"Viajes de personas en OIC entre zonas"
],
indicatorsShortNames
=
[
"Ocupados desde <br/> centros de mercado"
,
"Ocupados hacia <br/> centros de mercado"
,
indicatorsShortNames
=
[
"Ocupados desde <br/> centros de mercado"
,
"Ocupados hacia <br/> centros de mercado"
,
"OIC desde centros <br/> de mercado"
,
"OIC hacia
centros <br/> de mercado"
,
"Ocupados entre zonas"
,
"OIC desde
centros <br/> de mercado"
,
"Ocupados entre zonas
"
,
"OIC entre zonas"
],
"OIC hacia centros <br/> de mercado
"
,
"OIC entre zonas"
],
//indicatorsUnits = ["m\u00B2", "m", "", ""],
//indicatorsUnits = ["m\u00B2", "m", "", ""],
indicatorsxAxisFormat
=
[
".2s"
,
".2s"
,
".2f"
,
".2f"
],
indicatorsxAxisFormat
=
[
".2s"
,
".2s"
,
".2f"
,
".2f"
],
indicatorVars
=
{},
indicatorVars
=
{},
...
@@ -75,6 +75,34 @@ let intervals = {
...
@@ -75,6 +75,34 @@ let intervals = {
"colors"
:
[
"#ffbee8"
,
"#ff73df"
,
"#ff00c5"
,
"#ad027d"
,
"#80006b"
],
"colors"
:
[
"#ffbee8"
,
"#ff73df"
,
"#ff00c5"
,
"#ad027d"
,
"#80006b"
],
"thickness"
:
[
0.5
,
1.5
,
2
,
4
,
10
],
"thickness"
:
[
0.5
,
1.5
,
2
,
4
,
10
],
"animThickness"
:
[
0.5
,
1.5
,
4
,
10
,
15
]
"animThickness"
:
[
0.5
,
1.5
,
4
,
10
,
15
]
},
"ocupadosEntre"
:
{
"classes"
:
[
"Menos de 1,000"
,
"1,001 - 2,000"
,
"2,001 - 3,500"
,
"3,501 - 8,000"
],
"values"
:
[
1000
,
2000
,
3500
,
8000
],
"colors"
:
[
"#70a800"
,
"#ffaa00"
,
"#e64c00"
,
"#a80000"
],
"thickness"
:
[
0.5
,
1.5
,
2
,
4
],
"animThickness"
:
[
0.5
,
1.5
,
4
,
10
]
},
"poicDesde"
:
{
"classes"
:
[
"Menos de 150"
,
"151 - 500"
,
"501 - 1,000"
,
"1,001 - 1,500"
],
"values"
:
[
150
,
500
,
1000
,
1500
],
"colors"
:
[
"#00c5ff"
,
"#008fe6"
,
"#005ce6"
,
"#002673"
],
"thickness"
:
[
0.5
,
1.5
,
2
,
4
],
"animThickness"
:
[
0.5
,
1.5
,
4
,
10
]
},
"poicHacia"
:
{
"classes"
:
[
"Menos de 200"
,
"201 - 400"
,
"401 - 600"
,
"601 - 3,000"
,
"3,001 - 10,700"
],
"values"
:
[
200
,
400
,
600
,
3000
,
10700
],
"colors"
:
[
"#ffbee8"
,
"#ff73df"
,
"#ff00c5"
,
"#ad027d"
,
"#80006b"
],
"thickness"
:
[
0.5
,
1.5
,
2
,
4
,
10
],
"animThickness"
:
[
0.5
,
1.5
,
4
,
10
,
15
]
},
"poicEntre"
:
{
"classes"
:
[
"150 - 500"
,
"501 - 700"
,
"701 - 950"
,
"951 - 1,200"
],
"values"
:
[
500
,
700
,
950
,
1200
],
"colors"
:
[
"#70a800"
,
"#ffaa00"
,
"#e64c00"
,
"#a80000"
],
"thickness"
:
[
0.5
,
1.5
,
2
,
4
],
"animThickness"
:
[
0.5
,
1.5
,
4
,
10
]
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment