Streetview scrape

Posted by in Data, Design, GIS
Streetview scrape

I wrote this script to download google streetview images locally for a list of addresses in a text file, one address per line. It’s an easy (at the least preliminary) way to get images of structures, houses, etc.. We needed this for an inventory of certain structures in a planning effort, but this can be […]

Zip all shapefiles in directory individually

Posted by in ArcMap, Data, GIS
Zip all shapefiles in directory individually

This script zips individual shapefiles within a defined directory. The zipfiles are named identical to the shapefile itself. This is useful for platforms like CartoDB and MapBox, especially if you are in an Esri workflow. If you are usging a geodatabase, it can be converted to shapefiles, then those shapefiles can be passed through this […]

Batch export mxds in a folder

Posted by in ArcMap, GIS
Batch export mxds in a folder

Below is python to export all mxd’s in a given directory. I use this very often in my current workflow. This is used when data driven pages is either not appropriate or does not adhere to workflow standards. We need individual mxd’s for each map and each version of each map, individual maps can’t be […]

Extract Excel attributes to CSV

Posted by in Data, Design, GIS
Extract Excel attributes to CSV

This is a python solution to pull specific cells from a bunch of excel files into one CSV file. The source excel files have a consistent format – that is, a given cell in every excel file contains the same information. I wrote this script becauseĀ I needed one compiled table with spatial information for geocoding […]