Skip to main content

gpx2spatialite

Project description

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:

Project details


Release history Release notifications

History Node

0.8.2

History Node

0.8.1

History Node

0.8.0

History Node

0.7.0

History Node

0.6.1

History Node

0.6

This version
History Node

0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gpx2spatialite-0.5.tar.gz (36.9 kB) Copy SHA256 hash SHA256 Source None Jan 5, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page