microsoft / USBuildingFootprints

Computer generated building footprints for the United States
Other
2.12k stars 264 forks source link

Produce one giant GeoJSON #33

Closed antifa-ev closed 3 years ago

antifa-ev commented 6 years ago

May you please also publish one giant GeoJSON (or any other format) for the whole US? Doing the merging on your own hardware is nearly impossible with a standard PC.

I have 32 GB of memory and was still unable to merge the geojsons with geojson-merge despite increasing the node heap limit to 30 GB.

nitrif commented 6 years ago

Hi @antifa-ev, each building polygon feature is placed in a separate line, so reading line by line from the state files and outputting to a single output file should use minimum memory. Just make sure to take into account few header and footer feature collection lines. If you need help with this, I would share a merge script.