Tom Hughes
9afb35449b
Change the gps_points table to store latitude and longitude values to
...
seven decimal places to given a worse case precision of about 1cm.
2007-09-18 23:29:47 +00:00
Tom Hughes
4954f65061
Don't bother deleting points which don't exist before importing a
...
trace - this avoids locking the table in the common case where there
are no points to delete.
2007-09-04 16:22:03 +00:00
Tom Hughes
9861ca8001
Move tag validation to the right place.
2007-08-19 09:16:33 +00:00
Tom Hughes
7dbb746fde
Throw an exception if saving the imported trace fails.
2007-08-19 09:11:59 +00:00
Tom Hughes
44051f30d8
Make the gpx/id/data API call work, and make gpx/create a POST method
...
so arguments can be handled more robustly.
2007-08-16 23:04:18 +00:00
Tom Hughes
9e0226113c
Don't bother setting user_id for each tracepoint - it is redundant as
...
the same information can be found by joining to gpx_files. It is also
never used, so the column is going to be removed.
2007-07-20 07:51:46 +00:00
Tom Hughes
30f740178f
Use a full path to find the file command.
2007-07-18 08:37:46 +00:00
Tom Hughes
16358a1d39
Improve MIME type determination for trace files.
2007-07-17 14:45:04 +00:00
Tom Hughes
bce2c88336
Provide a more sensible suggested filename when downloading traces.
2007-07-17 14:34:22 +00:00
Tom Hughes
dcad29dad0
Split the rest action into sparate read, update and delete actions thus
...
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.
Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Tom Hughes
d781f42016
Avoid reading traces and trace images into memory when sending them to
...
the client, and make sure the MIME type is correct for trace files.
2007-06-21 23:19:25 +00:00
Tom Hughes
8284352436
Support tar archives of traces, with optional gzip or bzip2 compression.
2007-06-21 10:50:18 +00:00
Tom Hughes
6464d84c62
Add support for bzip2 compressed trace files.
2007-06-18 12:31:47 +00:00
Tom Hughes
7ecc1c4f21
Fix rm call to actually work...
2007-06-15 11:28:58 +00:00
Tom Hughes
bd5793f7a6
Improve reporting of errors in GPX uploads, and allow private traces
...
to be uploaded once again.
2007-06-12 08:52:19 +00:00
Tom Hughes
81021a1081
Only validate the presence of a description on create as we have old
...
records in the database with no description.
2007-06-10 09:08:22 +00:00
Tom Hughes
a7d41f09eb
Refactor GPX import code to make reimporting old traces easier.
2007-06-09 23:34:50 +00:00
Steve Coast
c72f6a4182
fix based from TomH-Home
2007-06-07 00:38:09 +00:00
Richard Fairhurst
6efdcaa993
Latest Potlatch, plus TomH's GPX fix
2007-06-06 09:59:59 +00:00
Steve Coast
a0e8c35c1b
various things from TomH
2007-05-29 23:25:41 +00:00
Steve Coast
e25cbb009a
various gpx bits
2007-05-10 22:14:11 +00:00
Steve Coast
49a1b4ef29
gpx api fixes
2007-04-07 17:55:37 +00:00
Steve Coast
01cfcbd845
GPX api done
2007-04-07 17:48:34 +00:00
Steve Coast
4434bac3b4
gpx import now fully works
2007-04-07 14:06:26 +00:00
Dan Moore
2709027882
API 0.4: User rename, view trace links, tag filter summary / see all link, traces testing
2007-03-29 22:14:39 +00:00
Dan Moore
d07277efba
API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
...
* traces - added some routes, replicated data access / pagination, but presentation and pending file control not complete
* edit - setup so that applet can be loaded + token authorisation enabled
* API - tests out ok against applet, but had to change segment-node associations
* misc - gems version required upgraded to 1.2.3 (latest stable rails version), changed some find_first to find(:first... calls
2007-03-23 23:13:19 +00:00
Steve Coast
6559db51df
various gpx rails things
2006-12-06 17:55:22 +00:00
Steve Coast
a7e3b58b41
add tags to gpx files
2006-12-06 17:10:59 +00:00
Steve Coast
ece8999dcd
various gpx bits
2006-12-01 14:10:02 +00:00
Steve Coast
8ef8761fa5
trace stuff in rails port
2006-11-30 17:25:31 +00:00
Steve Coast
fb1467a944
GPX trace rails stuff
2006-11-27 19:52:18 +00:00
Steve Coast
b4c0bfd8fa
more basic framework
2006-07-28 21:53:30 +00:00