How rdtrprojo123-glitch/sintaru_studio2 works
SinTaru is a browser-based spatial-planning information system. The main user journey is to browse zoning information, open the interactive GIS or ITR page, inspect a location or parcel, and use the KKPR calculator to assess a proposed activity. The repository also contains planning data, spatial rules, and shared domain types. The README identifies the product only briefly; source excerpts establish the application wiring, while some component internals remain unsampled.
Main entry points: App.tsx Application shell · spatialRules.ts Spatial rule engine · InteractiveGisSimulator.tsx GIS simulator · MkHorizontalScroll.tsx Zone browser
Components 14
Application and discovery
- Application shell
src/App.tsx - Zone browser
src/components/MkHorizontalScroll.tsx - Zone details
src/components/ZoneDetailModal.tsx - Audio effects
src/utils/audio.ts - Browser entry point
src/main.tsx
Spatial exploration
- ITR map page
src/components/CekItrPage.tsx - GIS map modal
src/components/GisMapModal.tsx - GIS simulator
src/components/InteractiveGisSimulator.tsx
Planning assessment
- Spatial rule engine
src/utils/spatialRules.ts - KKPR calculator
src/components/KkprCalculatorModal.tsx
Spatial domain
- District spatial data
src/data/boneBolangoKecamatan.ts - Zoning catalog
src/data/zoningData.ts - Spatial data types
src/types/spatial.ts
Other components
- Site visitor
Connections 19
- Site visitor → Application shell: uses
- Browser entry point → Application shell: renders
src/main.tsx - Application shell → Zone browser: renders
src/App.tsx - Application shell → ITR map page: renders
src/App.tsx - Application shell → GIS map modal: opens
src/App.tsx - Application shell → KKPR calculator: opens
src/App.tsx - Application shell → Zone details: opens
src/App.tsx - Zone browser → Zoning catalog: reads
src/components/MkHorizontalScroll.tsx - Zone browser → Zone details: selects zone
src/components/MkHorizontalScroll.tsx - GIS map modal → GIS simulator: renders
src/components/GisMapModal.tsx - ITR map page → District spatial data: reads
src/components/CekItrPage.tsx - ITR map page → Spatial rule engine: uses rules
src/components/CekItrPage.tsx - GIS simulator → Zoning catalog: reads
src/components/InteractiveGisSimulator.tsx - GIS simulator → Spatial rule engine: uses rules
src/components/InteractiveGisSimulator.tsx - GIS simulator → Spatial data types: uses types
src/components/InteractiveGisSimulator.tsx - KKPR calculator → Spatial rule engine: calculates with
src/components/KkprCalculatorModal.tsx - KKPR calculator → Zoning catalog: reads
src/components/KkprCalculatorModal.tsx - Spatial rule engine → District spatial data: reads
src/utils/spatialRules.ts - Spatial rule engine → Spatial data types: uses types
src/utils/spatialRules.ts