Skip to content

kengggg/osm-gpx-download

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

osm-gps-trace-download.py

A Python script for downloading OSM's GPS traces from given boundary box.

There are 2 parts of variables that you should adjust to match your need.

#These variables should be adjusted to meet your requirements, 
#see http://wiki.openstreetmap.org/wiki/API_v0.6#Retrieving_GPS_points for more information
#Boundary Box
min_ln = "98.9311981"
min_lt = "18.7347042"
max_ln = "99.0335083"
max_lt = "18.8309158"

#Start downloading page
page = 0 

Simply run python osm-gps-trace-download.py

gpx-merger.py

A Python script for merging OSM's GPX files.

There are 2 parts of variables that you should adjust to match your need.

#Output file name
output_file_name = "trace-out.gpx"
#Output file directory
output_directory = "output"

Simply run python gpx-merger.py. You output file should be in output/trace-out.gpx by default.

Todo

  • Resumable GPX file download
  • Merged GPX file noise reduction

About

A Python script for downloading and merging OSM's GPS traces from given boundary box

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages