-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative to GeoJSON? #76
Comments
Since you're using an ArcGIS product, maybe a shapefile will import better? If you have the GDAL command line tools, you could convert the GeoJSON file to a Shapefile with something like:
In general, most of these are quite large files, so opening the entire state in QGIS or similar may not be very workable. There are a variety of different ways you can do this, but I'd boil this down to two basic categories:
I've also seen some GeoJSON "splitting" utilities out there. I haven't used any, so don't know much about them, but they may be a way to simply break the single state file up into say 10 smaller files. |
I suspect QGIS is crashing because the file is too large. As @chris mentioned, you can split the geojson files into smaller chunks and work with it that way. Here's a python snippet that will look for individual polygon features and write line-delimited geojson (geojsonl) that QGIS can work with. This doesn't require additional modules over python's standard library. Hope that helps!
|
If anyone's looking for files that will load into QGIS (or similar software) quickly then I have a set I batch converted to GeoPackage (gpkg) with gdal - here they are: https://automaticknowledge.co.uk/us-building-footprints/ (note that they are not the very latest iteration of the files) This is what I used to batch convert the files didn't take too long do do the whole set, maybe a few hours, and now I can load single states into QGIS much more quickly
|
For anyone looking for files that load into QGIS (or other GIS software) much faster than the original geojson files, then we have produced an updated set of geopackage files for each state, available here: https://automaticknowledge.co.uk/resources/#USBuildings These were converted to gpkg from geojson and we also added in county codes and names so that users can filter by county if they need to. |
Thank you! |
I'm working with the Minnesota data file and having trouble loading it into ArcMap (10.7).
The JSON to Features conversion tool does not recognize .geojson files, only .json files.
I tried opening the file in a text document and re-saving it as .json and that did not work.
I tried bringing it into QGIS and it crashed :(
Any ideas or any way you could include a .json file in the downloaded folders, as well as the .geojson?
Thanks!
The text was updated successfully, but these errors were encountered: