Convert shapefile coordinates to a Python dictionary.