
Public
Like
polygonParser
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
https://danny--778bf4e4901e11f087000224a6c84d84.web.val.run
A professional geospatial data extraction engine designed for parsing government location data from eCFR §202.1401 and converting it to standardized polygon formats. Features a modern dark-mode technical interface with advanced visualization capabilities.
- Advanced URL Processing: Automated eCFR API endpoint data extraction
- Multi-Format Parser: Support for various coordinate data formats and structures
- Real-Time Visualization: Interactive dark-themed Leaflet maps with technical styling
- Professional Export: Standards-compliant GeoJSON and CSV output formats
- Data Provenance: Automatic source URL and timestamp tracking for all conversions
- Technical Interface: Dark mode UI with monospace fonts and terminal-inspired design
- Robust Processing: Advanced regex pattern matching and coordinate validation
- eCFR API endpoints with automatic content extraction
- Raw coordinate data with area ID prefixes
- Tab-delimited coordinate datasets
- Mixed format coordinate documents
- Unicode minus sign handling and normalization
- GeoJSON: RFC 7946 compliant geospatial data with embedded provenance metadata
- CSV: Simplified coordinate export with provenance headers for analysis tools
- Interactive Maps: Leaflet.js with dark CartoDB tiles
- Real-time Preview: Live polygon rendering and validation
- Input Validation → URL fetch or text parsing
- Provenance Recording → Source URL and timestamp capture
- Coordinate Extraction → Advanced regex pattern matching
- Polygon Construction → Vertex validation and closure
- GeoJSON Serialization → RFC 7946 compliance with metadata
- Spatial Rendering → Leaflet integration with technical styling
- Select Input Method: Choose between URL endpoint or raw data input
- Data Input: Paste eCFR URL or coordinate data into the interface
- Execute Parse: Process data through the extraction engine with automatic provenance tracking
- Review Provenance: Check source URL, retrieval timestamp, and processing details
- Spatial Preview: Review polygons on the interactive dark-themed map
- Export Data: Download in GeoJSON or CSV formats with embedded provenance metadata
- Backend: Hono.js API framework with TypeScript
- Frontend: React 18 with professional dark mode styling
- Mapping: Leaflet.js with CartoDB dark tiles
- Styling: Custom dark theme with technical monospace typography
- Processing: Advanced coordinate parsing with multiple fallback methods
The application features a professional technical aesthetic with:
- Dark gray color scheme (#111827, #1f2937, #374151)
- Emerald accent colors (#10b981, #065f46)
- Monospace typography for technical elements
- Terminal-inspired status indicators
- Grid-based layout with technical specifications panel