- filters geodata stored in csv filetypes by their haversine distance from a given coordinate
- edit coords, radius, datafile in script and run
- make a route using GraphHopper
- export route to .gpx file format by hitting the
gpx
button below waypoint input, and selecting thetrack
checkbox - export points of interest data to .csv filetype
if using overpass-turbo data mining utility, export data as .gpx & convert to .csv with gpx_converter:
$ pip install gpx-converter $ python3 >>> from gpx_converter import Converter >>> Converter(input_file='sample.gpx').gpx_to_csv(output_file='output.csv')
- edit
filter.py
to include all the necessary files (GPXfile, poi file) - run
filter.py
- view output as csv or graphically with umap (
ctrl+I
import out.csv)
- instead of only selecting points within radius of a given point, select points within radius of a given path (or google maps route), to narrow down candidates for visitation on a roadtrip
- instead of only taking data from csv coordinates, also take data from alltrails to find hiking trails along the way/ nearby
-
data for this project from skytruth
-
additional geodata can be obtained through the overpass-turbo utility
-
openstreetmap.org
-
an interesting story about a west virginia mining disaster