added function to get all latitudes and longitudes for each feture in a shapefile