skip to navigation
skip to content

gpx2spatialite 0.5


Latest Version: 0.8.2

A script for importing GPX files into a SpatiaLite database.

Using Tomo Krajina’s gpx module, import a file record, trackpoints and tracklines to a database (SQL for database below)


Run the script:

gpx2spatialite -d <path/to/database> -u <user_id> <path/to/gpx>

Create a new database

Run script to create a new database and initialize it:

gpx2spatialite_create_db <path/to/new/database>


Import/update citydefs into existing database:

gpx2spatialite_citydefs -i <path/to/input.sql> <path/to/database>

Export citydefs table:

gpx2spatialite_citydefs -e <path/to/output.sql> <path/to/database>

Unit tests

Run the following command to run the tests:

python test
Local Variables: mode: rst End:
File Type Py Version Uploaded on Size
gpx2spatialite-0.5.tar.gz (md5) Source 2014-01-05 36KB