AnsweredAssumed Answered

Using Pro to Import Microsoft Nationwide Building Footprint Data (JSON)

Question asked by wgrc on Jul 31, 2019
Latest reply on Aug 2, 2019 by wgrc

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!

Outcomes