Notes on using shapefiles