# mapu1/ubicacion_optima_sig architecture

> Architecture diagram of the GitHub repository mapu1/ubicacion_optima_sig, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mapu1/ubicacion_optima_sig
- Repository: https://github.com/mapu1/ubicacion_optima_sig

## Overview

This repository is a small spatial-analysis proposal for identifying suitable sites for a new primary school. Its documented criteria are parcel area greater than 5,000 m², distance greater than 300 m from another school, distance greater than 200 m from any facility, and exclusively residential zoning. The SQL contents were not available to inspect, so the graph shows only the documented analysis and result; it does not assume specific input tables or query stages.

Main entry points: [`consulta.sql`](https://github.com/mapu1/ubicacion_optima_sig/blob/main/consulta.sql) (Site suitability analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_planner(("Site planner"))
node_analysis["Site suitability analysis<br/>[consulta.sql]"]
node_candidates["Suitable locations"]

node_planner -->|"runs"| node_analysis
node_analysis -->|"identifies"| node_candidates

click node_analysis "https://github.com/mapu1/ubicacion_optima_sig/blob/main/consulta.sql"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_planner,node_candidates toneIndigo
class node_analysis toneTeal
```

## Components

### Other components

- **Site planner**
- [Site suitability analysis](https://github.com/mapu1/ubicacion_optima_sig/blob/main/consulta.sql): `consulta.sql`
- **Suitable locations**

## Connections

- Site planner → Site suitability analysis: runs
- Site suitability analysis → Suitable locations: identifies
