OPEN-SOURCE GEOSPATIAL INFRASTRUCTURE

Project Architecture & Implementation Plan

Self-Hosted • License-Independent • API-First • LLM-Integrated

1. Overview

This document describes a fully self-hosted geospatial infrastructure built on open-source software, deployed on a Lenovo ThinkCentre M90n server. The system eliminates dependency on Esri-hosted services, enables unrestricted public publishing, supports concurrent multi-user editing, and serves as a spatial backend for LLM grounding workflows.

The stack is intentionally lean, reproducible, and portable. All outputs — map tiles, APIs, web maps, and research publications — are exportable and deployable to external hosting platforms without licensing restrictions.

2. Hardware

2.1 Server

ModelLenovo ThinkCentre M90n-1 (Type 11AD)
ProcessorIntel Core i7-8665U vPro (4-core / 8-thread)
Memory16 GB DDR4-2666
Storage512 GB NVMe PCIe SSD
NetworkWired Gigabit Ethernet
Operating SystemUbuntu Server 24.04 LTS

2.2 Network

3. Software Stack

Data LayerPostgreSQL + PostGIS
Tile Servingpg_tileserv
API LayerFastAPI
Web ServerCaddy
FrontendMapLibre / Leaflet

4. Objectives

5. Capabilities

Data & GIS

Web & Publishing

LLM Integration

6. Architecture

PostGIS → FastAPI / pg_tileserv → Caddy → Browser (MapLibre / Leaflet)

7. Implementation Plan

8. Key Properties