How ankit65k/geo-shift-spy works
Geo Shift Spy is described in the README as a traffic-congestion advisory dashboard, but the sampled implementation and frontend workflow center on satellite-image change detection and environmental analysis. The visible user flow is image comparison from the web page through an API client to the Node server; the server also advertises segmentation and disaster-assessment endpoints. Geospatial export and map configuration are exposed separately by the Python service. Several backend and UI modules are indexed but unsampled, so their internal connections are omitted rather than inferred.
Main entry points: Index.tsx Analysis page · server.js HTTP analysis routes · api.ts Comparison API client · deeplabv3plus.py Land-cover segmentation
Components 17
Web dashboard
- Analysis page
src/pages/Index.tsx - Image upload
src/components/ImageUpload.tsx - Comparison results
src/components/ComparisonResults.tsx - Loading state
src/components/LoadingState.tsx - Comparison API client
src/services/api.ts
Node analysis backend
- HTTP analysis routes
backend/server.js
ML and geospatial services
- ML service application
ml_backend/app.py - Land-cover segmentation
ml_backend/models/deeplabv3plus.py - Model utilities
ml_backend/utils/model_utils.py - Geospatial API
ml_backend/routers/geospatial.py - Geospatial processing
ml_backend/services/geospatial_processor.py - Disaster analysis
ml_backend/services/disaster_analyzer.py - Multiclass analysis
ml_backend/services/multiclass_analyzer.py
Analysis and reporting
- Environmental analyst
backend/environmental-analyst.js - Intelligent analysis
src/services/intelligentAnalysisService.js - Traffic advisory concept
Other components
- Dashboard user
Connections 12
- Dashboard user → Analysis page: uses
README.md - Analysis page → Image upload: presents
src/pages/Index.tsx - Analysis page → Loading state: shows
src/pages/Index.tsx - Analysis page → Comparison API client: calls comparison
src/pages/Index.tsx - Analysis page → Comparison results: renders results
src/pages/Index.tsx - Comparison API client → HTTP analysis routes: requests analysis
- HTTP analysis routes → Environmental analyst: uses analysis
backend/server.js - HTTP analysis routes → Land-cover segmentation: offers segmentation
- HTTP analysis routes → Disaster analysis: offers assessment
- Land-cover segmentation → Model utilities: uses utilities
ml_backend/models/deeplabv3plus.py - Geospatial API → Geospatial processing: converts and clusters
ml_backend/routers/geospatial.py - Dashboard user → Traffic advisory concept: seeks advisory
README.md