Hello! I am not sure how many of you are aware of Microsoft's program to use machine learning to map building footprints nationwide
https://github.com/Microsoft/USBuildingFootprints
ESRI has an ArcGIS Online site to view this data (https://www.arcgis.com/home/item.html?id=f40326b0dea54330ae39584012807126) but I'd like to convert this JSON data to a shapefile for our own purposes.
I used Python in ArcGIS Pro 2.3, because documentation stated that you need to provide feature type if this is GeoJSON (as opposed to just JSON)
arcpy.JSONToFeatures_conversion(r"H:\GIS\NewYork.geoJSON", r"H:\GIS\NewYork2.shp", 'POLYGON')
it runs almost to the end and then I get this:
"arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
Unexpected end of file while looking for closing single or double quote; state : inPropertyName; buffer : ,"geome
Failed to execute (JSONToFeatures)."
Wondering if anyone has come across this before... seems like this should be a popular dataset. The file is a bear to try and open in a TextEditor to edit! (NY State is over 1GB!)
Thanks!
Solved! Go to Solution.
I figure it out.... The first download got cut off and it was not the complete JSON file. When I ran the JSON To Features Tool in ArcGIS Pro 2.3 (from the command line so I could specify the feature type), it worked! Only took 22 minutes for all of New York State!
I figure it out.... The first download got cut off and it was not the complete JSON file. When I ran the JSON To Features Tool in ArcGIS Pro 2.3 (from the command line so I could specify the feature type), it worked! Only took 22 minutes for all of New York State!
Hi Greg, I just discovered the site and github. When I click download GeoJSON I the json as below but I'm not sure how to specify state or even how to download it, it just opens in a browser window with no option to download?