A JS script written to import GeoJSON Polygons and MultiPolygons (specifically from the Zillow neighborhood boundaries data set) and generate an INSERT statement to push them to MySQL. The script grabs:
- Name
- Polygon
- City
- State
- County
- Region ID (from Zillow, I guess)
Assuming neighborhoods.json is the data you want to import
- Run
node main.js
from the directory. No special libs, so nonpm install
needed. - The INSERT statement will get copied into the clipboard, copypasta it to MySQL