# vortexprotocol1633/gis-helper architecture

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

- Interactive diagram: https://gitdiagram.com/vortexprotocol1633/gis-helper
- Repository: https://github.com/vortexprotocol1633/gis-helper

## Overview

GIS Helper is a browser-only coordinate converter and tactical mapping workspace. Users enter a place or coordinate, resolve it to a map position and coordinate formats, then mark deployments, spots, and zones. They can save and reload the shared session JSON or export reports and GIS-ready files. The README documents additional capabilities beyond the sampled excerpts; those are represented at the application level where their individual implementation paths cannot be verified. The source evidence is partial, so edges are limited to documented or excerpt-supported relationships.

Main entry points: [`index.html`](https://github.com/vortexprotocol1633/gis-helper/blob/main/index.html) (GIS Helper UI), [`script.js`](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js) (Interactive map)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_coordinates["Coordinate tools"]
  node_gis["GIS Helper UI<br/>[index.html]"]
  node_engine["Coordinate conversion<br/>[script.js]"]
  node_geocoding["Place lookup<br/>[script.js]"]
  node_map["Interactive map<br/>[script.js]"]
end

subgraph group_markings["Tactical markings"]
  node_deployments["Deployments<br/>[script.js]"]
  node_spots["Spot points<br/>[script.js]"]
  node_zones["Polygon zones<br/>[script.js]"]
  node_marking_types["Custom marking types<br/>[script.js]"]
  node_legend["Legend and lists<br/>[script.js]"]
end

subgraph group_session["Session data"]
  node_session_state["Session state<br/>[script.js]"]
  node_browser_storage[("Local storage")]
  node_json["JSON import and export<br/>[script.js]"]
end

subgraph group_outputs["Exports and reports"]
  node_geojson["GeoJSON export<br/>[script.js]"]
  node_png["Georeferenced PNG<br/>[script.js]"]
  node_pdf["PDF report<br/>[script.js]"]
  node_print["Print report<br/>[script.js]"]
end

node_user(("User"))
node_nominatim["Nominatim"]
node_location["Browser geolocation"]

node_user -->|"uses"| node_gis
node_gis -->|"converts input"| node_engine
node_gis -->|"looks up places"| node_geocoding
node_geocoding -->|"queries"| node_nominatim
node_gis -.->|"requests position"| node_location
node_gis -->|"shows position"| node_map
node_map -.->|"formats coordinates"| node_engine
node_gis -->|"creates and edits"| node_deployments
node_gis -->|"creates and edits"| node_spots
node_gis -->|"draws and edits"| node_zones
node_gis -->|"manages types"| node_marking_types
node_deployments -.->|"marks locations"| node_map
node_spots -.->|"marks locations"| node_map
node_zones -.->|"draws polygons"| node_map
node_gis -->|"displays markings"| node_legend
node_gis -.->|"updates session"| node_session_state
node_session_state -->|"saves and loads"| node_browser_storage
node_session_state -->|"serializes session"| node_json
node_user -->|"imports or exports"| node_json
node_user -->|"exports GIS layers"| node_geojson
node_session_state -.->|"provides features"| node_geojson
node_user -->|"exports plan"| node_png
node_user -->|"exports report"| node_pdf
node_user -->|"prints sheet"| node_print

click node_gis "https://github.com/vortexprotocol1633/gis-helper/blob/main/index.html"
click node_engine "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_geocoding "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_map "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_deployments "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_spots "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_zones "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_marking_types "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_legend "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_session_state "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_json "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_geojson "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_png "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_pdf "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"
click node_print "https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js"

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_gis,node_engine,node_geocoding,node_map,node_user,node_location toneBlue
class node_deployments,node_spots,node_zones,node_marking_types,node_legend toneAmber
class node_session_state,node_browser_storage,node_json toneMint
class node_geojson,node_png,node_pdf,node_print toneRose
class node_nominatim toneIndigo
```

## Components

### Coordinate tools

- [GIS Helper UI](https://github.com/vortexprotocol1633/gis-helper/blob/main/index.html): `index.html`
- [Coordinate conversion](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Place lookup](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Interactive map](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`

### Tactical markings

- [Deployments](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Spot points](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Polygon zones](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Custom marking types](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Legend and lists](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`

### Session data

- [Session state](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- **Local storage**
- [JSON import and export](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`

### Exports and reports

- [GeoJSON export](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Georeferenced PNG](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [PDF report](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`
- [Print report](https://github.com/vortexprotocol1633/gis-helper/blob/main/script.js): `script.js`

### Other components

- **User**
- **Nominatim**
- **Browser geolocation**

## Connections

- User → GIS Helper UI: uses (evidence: `README.md`)
- GIS Helper UI → Coordinate conversion: converts input (evidence: `README.md`)
- GIS Helper UI → Place lookup: looks up places (evidence: `script.js`)
- Place lookup → Nominatim: queries (evidence: `script.js`)
- GIS Helper UI → Browser geolocation: requests position (evidence: `README.md`)
- GIS Helper UI → Interactive map: shows position (evidence: `README.md`)
- Interactive map → Coordinate conversion: formats coordinates (evidence: `script.js`)
- GIS Helper UI → Deployments: creates and edits (evidence: `README.md`)
- GIS Helper UI → Spot points: creates and edits (evidence: `README.md`)
- GIS Helper UI → Polygon zones: draws and edits (evidence: `README.md`)
- GIS Helper UI → Custom marking types: manages types (evidence: `README.md`)
- Deployments → Interactive map: marks locations (evidence: `script.js`)
- Spot points → Interactive map: marks locations (evidence: `script.js`)
- Polygon zones → Interactive map: draws polygons (evidence: `script.js`)
- GIS Helper UI → Legend and lists: displays markings (evidence: `README.md`)
- GIS Helper UI → Session state: updates session
- Session state → Local storage: saves and loads (evidence: `README.md`)
- Session state → JSON import and export: serializes session (evidence: `README.md`)
- User → JSON import and export: imports or exports (evidence: `README.md`)
- User → GeoJSON export: exports GIS layers (evidence: `README.md`)
- Session state → GeoJSON export: provides features (evidence: `script.js`)
- User → Georeferenced PNG: exports plan (evidence: `README.md`)
- User → PDF report: exports report (evidence: `README.md`)
- User → Print report: prints sheet (evidence: `README.md`)
