Mapa: geometría de departamentos (activa el choropleth del escenario)#19
Merged
Merged
Conversation
Genera peru_departamentos.geojson (25 deptos, 286 KB) desde los KMZ de sectores estadisticos (KMZ SAC 2025-2026, disueltos por departamento y simplificados a ~800m). Script: escenario_el_nino_2026_2027/construir_geojson.py (los KMZ pesan 37MB y NO van al repo; si el GeoJSON liviano). Activa el mapa de siniestralidad por departamento en la pagina Escenario El Nino (la geografia degradaba a barras+tabla por falta de geometria) y tambien habilita el choropleth de gen_mapa_coropleta que estaba inactivo. Match de nombres verificado: los 24 deptos del escenario cuadran con NOMBDEP del geojson (sobra Callao, sin agricultura). Render con AppTest: 0 excepciones, choropleth presente. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Genera
static_data/peru_departamentos.geojson(25 deptos, 286 KB) desde los KMZ de sectores estadísticos (KMZ SAC 2025-2026), disueltos por departamento y simplificados a ~800m. Script:escenario_el_nino_2026_2027/construir_geojson.py(los KMZ pesan 37MB y no van al repo; sí el GeoJSON liviano).Efecto: activa el mapa de siniestralidad por departamento en la página Escenario El Niño (la geografía degradaba a barras+tabla por falta de geometría), y de paso habilita el choropleth de
gen_mapa_coropletaque estaba inactivo.Match de nombres verificado: los 24 deptos del escenario cuadran con
NOMBDEP(sobra Callao, sin agricultura). Render conAppTest: 0 excepciones, choropleth presente. 65 tests verdes.Siguiente: mapa por sector estadístico (per-departamento, para mantenerlo liviano).
🤖 Generated with Claude Code