Don't want to pay esri (40k/year) ?
sure.
We are going to download los angeles county 3.3 million building foot print . The web service layer api endpoint is here:
https://public.gis.lacounty.gov/public/rest/services/LACounty_Dynamic/LARIAC_Buildings_2020/MapServer/0?f=html

Step 1.

Step 2.

Step 3.

Step 4.

Step 5.

Step 6.

Step 7.

Step 8.

Step 9.

Step 10.

Step 11.

Step 12.

Step 13.
save selected building inside city boundary

Step 14.
only building inside city boundary

Step 15.
Save 3.3 million web service layer to hard drive

Step 16.
3.3 million eat 7GB Ram, if you have 8GB RAM, it will crash.

Step 17.
3.3 million eat 7GB Ram, if you have 8GB RAM, it will crash.

Step 18.
Final result, 3.3 million building saved on your hard disk.

Step 19.
Final result, 3.3 million building saved on your hard disk.

Step 20.