Does anyone know of any good sources for US data (counties, congressional districts, etc) in GeoJSON format? Has anyone converted public-domain shapefiles/sources to GeoJSON that they would be willing to share?
I found something closer to what I was looking for (US State and County boundaries) on github: https://github.com/johan/world.geo.json/tree/master/countries/USA
The features are very generalized/simplified, but they'll work for a national scale map. Country boundaries for the whole world are available in this repo too.
After trying to find similar GeoJSON versions of US State and County boundaries, I finally decided to roll my own from the United States Census Cartographic Boundary Files, converting them to GeoJSON and KML formats using the MyGeoData vector converter.
I've made the results of this conversion available at: http://eric.clst.org/Stuff/USGeoJSON. Feel free to use these if they will help.
I've translated most of the Census Cartography files to GeoJSON for your convenience:
You might take a look at SimpleGeo’s CC0 Places data set, and this related question: Converting SimpleGeo Places GeoJSON file to shapefile?
or just searching the geojson tag may turn up some results for you.
This could help you and its FREE.,
you can get US Zipcode Boundaries(qurey by city,state,or county) via this api API: https://www.mashape.com/vanitysoft/boundaries-io
the API shows US Boundaries(GeoJson) by zipcode,city, and state. you should use the API programatically to handle large results.
the image is query by state(DC)..gives you all zipcodes in DC.
If you're on linux, try converting .shp files downloaded directly from the census website to geoJSON data using the gdal command line tool. For Debian/Ubuntu that means installing the
gdal-bin package, and then running a command like this one:
ogr2ogr -f GeoJSON cb_2018_us_cbsa_20m.json cb_2018_us_cbsa_20m.shp
Try using Freebase API. For example the following article
Available in JSON: