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
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
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
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 […]
Map Typography – A Python Label Expression
Recently, I had to label parcels with APN & owner information. The parcel feature class has the APNs and the ownership table is joined based on the APNs. I’ve been commiting to using python in labeling expressions whenever possible and this was a good chance to use an advanced expression. One problem was that the […]