Skip to content

Converts GeoJSON to MySQL INSERT statements

Notifications You must be signed in to change notification settings

sp0n-7/zillow-neighborhood-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neighborhood importer

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)

Run it

Assuming neighborhoods.json is the data you want to import

  • Run node main.js from the directory. No special libs, so no npm install needed.
  • The INSERT statement will get copied into the clipboard, copypasta it to MySQL

About

Converts GeoJSON to MySQL INSERT statements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published