[GIS] Keeping only POIs X kms from a trace?

Fabien fabien.maussion at gmail.com
Mon May 8 09:45:31 EDT 2017


On 05/08/2017 02:34 PM, Heck Lennon wrote:
> To plan bike tours, I'd like to…
> 1) import a trace from a GPX file,
> 2) import Archie's list for a given country,
> 3) filter that list to only keep campsites that are 5 kms from the route, and
> 4) export the output to a GPX file.
>
> Since a "gpxpy" Python module is available, I assume this can be done just with a script instead of an expert application like QGIS… but I know nothing about GIS.
>
> Can the above be done with a Python script?

Yes, you could also have a look at the excellent libraries:
- Geopandas: http://geopandas.org/
- Shapely: http://toblerity.org/shapely/manual.html

Cheers,

Fabien



More information about the Python-list mailing list