skip to navigation
skip to content

Not Logged In

gpx2spatialite 0.5

gpx2spatialite

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)

Usage

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>

CityDefs

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 setup.py test
Local Variables: mode: rst End:
 
File Type Py Version Uploaded on Size
gpx2spatialite-0.5.tar.gz (md5) Source 2014-01-05 36KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 45 downloads in the last week
  • 172 downloads in the last month