Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPX file import #186

Open
Laturi opened this issue Mar 5, 2016 · 1 comment
Open

GPX file import #186

Laturi opened this issue Mar 5, 2016 · 1 comment

Comments

@Laturi
Copy link

Laturi commented Mar 5, 2016

Onnistuisiko mitenkään saamaan GPX tiedostoja ladattua ohjelmaan? Tai edes tietokoneella tekemään yhteensopivan caches.db tiedoston?

How difficult it is to customize the program in order to get the downloaded GPX file?

@aapo
Copy link
Collaborator

aapo commented Mar 13, 2016

caches.db is standard sqlite3-database, you can edit it with any sqlite-tool.

This is the schema of table:
CREATE TABLE geocaches (last_viewed INTEGER, logs TEXT, vars TEXT, terrain INTEGER, waypoints text, marked INTEGER, logas INTEGER, owner TEXT, alter_lat REAL, images text, websitelink TEXT, size INTEGER, title TEXT, lon REAL, logdate TEXT, user_coordinates TEXT, desc TEXT, type TEXT, status INTEGER, updated INTEGER, upload_as INTEGER, difficulty INTEGER, attributes TEXT, lat REAL, hints TEXT, alter_lon REAL, name TEXT PRIMARY KEY, fieldnotes TEXT, notes TEXT, shortdesc TEXT, found INTEGER);

In maemo5, you can install sqlite3 and run:

sqlite3 /home/user/.agtl/caches.db 'SELECT * FROM geocaches LIMIT 5'

to check couple of examples how data is stored.

What kind of gpx you are planning to import? There are couple of different examples: http://wiki.openstreetmap.org/wiki/GPX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants