Geofence Validator
Project Overview
Developed a comprehensive web-based utility to validate, repair, and analyze GeoJSON files for geospatial developers. Built on Next.js 15 and React 19, this application solves common interoperability issues by automatically detecting and fixing geometry errors (e.g., removing Z-coordinates, converting MultiPolygons). It features a robust comparison engine and a Polyline decoder compatible with OSRM, all processing data securely on the client-side to ensure privacy.
Outcomes & contributions
- Automated Data Quality: Engineered an intelligent validator that instantly identifies and fixes critical GeoJSON errors, such as invalid coordinate systems or incompatible "MultiPolygon" structures, streamlining database imports for developers.
- Spatial Comparison Engine: Created a visual "Diff Tool" for maps, allowing users to overlay two geofence files and automatically calculate/visualize the intersection area to detect overlaps.
- Advanced Routing Integration: Developed a "Polyline Converter" that decodes encoded strings directly from OSRM API URLs, helping logistics developers debug route geometries with precision levels of 5 or 6.
- Privacy-First Architecture: Designed the entire processing pipeline to run client-side (in-browser), ensuring that sensitive geospatial data is never uploaded to external servers.
Technology Stack
- Next.js 15
- React 19
- Turf.js
- Tailwind CSS (Modern UI)
- Vercel
- Polyline Encoding/Decoding
System Documentation
1 / 3
Available for geospatial projects & technical consulting