Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/danizd/geoviable/llms.txt

Use this file to discover all available pages before exploring further.

Once your parcel polygon is on the map — either drawn manually or loaded from a file — you can run GeoViable’s spatial analysis to find out which environmental protection regimes affect it. The analysis sends your polygon to the FastAPI+PostGIS backend, which intersects it against seven official environmental datasets for Galicia and returns per-layer results including intersection geometries, feature names, overlap areas, and an overall risk score. Results are visualised immediately as coloured overlays on the map and as a summary table in the sidebar.

Prerequisites

  • A valid polygon must be present on the map (drawn or uploaded).
  • No separate account or login is required for the analysis step.

Running the analysis

1

Confirm your polygon is loaded

Check that your parcel boundary is visible on the map and that the area display in the sidebar shows a non-zero value. If the polygon is missing, draw one or upload a file first.
2

Click 'Cargar capas'

Click the 🗺️ Cargar capas en el polígono button in the sidebar’s generation section. The button shows a spinner and the label changes to “Cargando capas…” while the request is in flight.
3

GeoViable sends the analysis request

The frontend calls POST /api/v1/analyze with your GeoJSON polygon as the request body:
POST /api/v1/analyze
Content-Type: application/json

{
  "type": "Feature",
  "geometry": { ... },
  "properties": {}
}
The backend intersects the polygon against all seven environmental layers in PostGIS and returns a JSON response containing per-layer results and the overall risk score.
4

Review the map overlays

When the response arrives, each affected layer’s intersection geometry is painted on the map as a semi-transparent coloured overlay (fill opacity 0.35, dashed border). Hover over any overlay to see a tooltip displaying the layer display name and the entity name (e.g. watercourse name, protected area name) where available.
5

Read the sidebar summary

Below the action buttons, a summary table appears in the sidebar showing for each of the seven layers:
  • Layer display name
  • Affected: or No
  • Number of features that intersect your polygon
  • Overlap percentage (intersection area as a fraction of your parcel area)
The overall risk score banner is shown at the top of the results section.

Environmental layers checked

GeoViable evaluates your parcel against 7 official environmental protection layers:
#Display nameDescription
1Red Natura 2000ZEPA (Special Protection Areas for Birds) and LIC/ZEC (Sites/Zones of Community Importance)
2Zonas inundables (SNCZI)Flood risk zones: 100-year return period (T100) and 500-year return period (T500) from SNCZI
3Dominio Público HidráulicoPublic hydraulic domain — riverbeds, banks, and associated protection zones
4Vías pecuariasLivestock droveways and their legally protected margins
5Espacios Naturales ProtegidosProtected natural spaces under regional and national legislation
6Masas de agua superficialesSurface water bodies (rivers, lakes, reservoirs, coastal waters)
7Masas de agua subterráneasGroundwater bodies under the Water Framework Directive

Risk score

GeoViable computes a single indicative risk score from the combined analysis results:
ConditionRisk level
0 layers affectedninguno
1–2 layers affected, all overlaps < 10%bajo
1–2 layers affected, any overlap ≥ 10%medio
3 or more layers affected, or Red Natura 2000 / ENP overlap ≥ 50%alto
Full overlap with Dominio Público Hidráulico or T100 flood zonemuy alto
The risk score produced by GeoViable is indicative only. It is intended to help identify potential environmental constraints early in the planning process, not to replace a formal environmental impact study, a hydraulic domain certification, or any other official assessment required by Spanish or Galician legislation. Always consult the competent authority before proceeding with any land-use application.

Map overlay behaviour

Each affected layer is rendered in a distinct colour so overlapping protections remain visually distinguishable:
LayerOverlay colour
Red Natura 2000Orange (#F97316)
Zonas inundablesMagenta (#A21CAF)
Dominio Público HidráulicoViolet (#7C3AED)
Vías pecuariasAmber gold (#CA8A04)
Espacios Naturales ProtegidosPink (#ff82b6)
Masas de agua superficialesTeal (#0D9488)
Masas de agua subterráneasIndigo (#6D28D9)
Hovering over any overlay shows a tooltip with the layer name and, when available, the name or code of the specific entity (e.g. the name of a protected area, the identifier of a groundwater mass). Overlays persist on the map until you run a new analysis or remove the polygon.
The analysis request has a 30-second server timeout. If your polygon covers a very large or geometrically complex area, the PostGIS intersection queries may exceed this limit and you will see the error “La generación del informe ha excedido el tiempo máximo.” If this happens, try reducing the polygon area or simplifying its boundary before retrying.

Build docs developers (and LLMs) love