How yousef-gaber11/gis-plan-approval-system-outside-system works
This repository is a browser-based GIS planning and shapefile validation application with an ASP.NET API for parsing uploaded ZIP shapefiles. Users load a municipality or survey-decision context, upload a plan, review validation/statistics and map layers, then inspect parcel details. The sampled code shows the main orchestration and several dependencies; some validation internals and the browser-to-API request wiring are only partially shown, so those relationships are not asserted as confirmed calls.
Main entry points: main.js App orchestration · templates.js Layer rendering · business.js Context lookup · esriLibrary.js Esri module loader
Components 16
GIS workflow
- App orchestration
js/main.js - Context lookup
js/business.js - Plan validation
js/business.js - Parcel inspection
js/business.js - Statistics report
js/templates.js
Map presentation
- Map view
js/main.js - Layer rendering
js/templates.js - Layer styles
js/layersConfig.js - Esri module loader
js/esriLibrary.js
GIS data and services
- Zone polygons
js/zonesData.js - Municipal GIS services
Shapefile API
- Shapefile upload
js/templates.js - Shapefile parser
GisApi/Controllers/ShapefileController.cs - API host
GisApi/Program.cs
Other components
- Planner
- Plan ZIP files
Connections 21
- Planner → App orchestration: uses
js/main.js - App orchestration → Map view: initializes
js/main.js - App orchestration → Context lookup: fetches context
js/main.js - Context lookup → Municipal GIS services: queries GIS
js/business.js - Context lookup → Zone polygons: uses polygons
js/business.js - Planner → Shapefile upload: uploads plan
- Shapefile upload → Shapefile parser: submits ZIP
- Plan ZIP files → Shapefile upload: supplies file
- API host → Shapefile parser: maps controllers
GisApi/Program.cs - App orchestration → Plan validation: processes layers
js/main.js - Plan validation → Municipal GIS services: queries context
js/business.js - Plan validation → Statistics report: calculates statistics
js/business.js - App orchestration → Statistics report: renders report
js/main.js - App orchestration → Layer rendering: draws layers
js/main.js - Layer rendering → Layer styles: uses styles
js/templates.js - Layer rendering → Esri module loader: gets modules
js/templates.js - App orchestration → Esri module loader: loads modules
js/main.js - App orchestration → Parcel inspection: requests parcel
js/main.js - Parcel inspection → Layer rendering: uses geometry tools
js/business.js - App orchestration → Layer rendering: highlights parcel
js/main.js - Context lookup → Layer rendering: creates zone layer
js/business.js