FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
danny
dannypolygonParser
eCFR geospatial data extraction utility
Public
Like
polygonParser
Home
Code
5
backend
1
frontend
2
shared
2
README.md
main.ts
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
…
Viewing readonly version of main branch: v9
View latest version
README.md

eCFR §202.1401 Polygon Converter

This app parses government-related location data from eCFR §202.1401 and converts it to polygons for download as GeoJSON or Shapefile. It features a modern web UI with map preview and supports both URL scraping and pasted tabular data.

Features

  • URL Scraping: Paste eCFR URLs to automatically extract coordinate data
  • Direct Input: Paste raw tabular coordinate data directly
  • Interactive Map: Preview polygons on a Leaflet map with zoom and pan
  • Multiple Export Formats: Download as GeoJSON or Shapefile
  • Data Inspection: Collapsible GeoJSON text view for inspection
  • Modern UI: Clean, responsive interface with TailwindCSS

Usage

  1. Input Data: Either paste an eCFR URL or raw coordinate data
  2. Parse: Click "Parse Data" to extract polygons
  3. Preview: View polygons on the interactive map
  4. Download: Export as GeoJSON or Shapefile format

Supported Input Formats

eCFR URLs

  • Example: https://www.ecfr.gov/api/renderer/v1/content/enhanced/2025-09-10/title-28?chapter=I&part=202&subpart=N&section=202.1401

Raw Coordinate Data

  • Area ID followed by coordinate pairs
  • Tab-separated format with area ID and coordinate pairs
  • Supports various coordinate formats (lat,lon or lon,lat)

Technical Stack

  • Backend: Hono.js API framework
  • Frontend: React with TypeScript
  • Mapping: Leaflet.js
  • Styling: TailwindCSS
  • Storage: Val Town SQLite for caching
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.