Commit graph

687 commits

Author SHA1 Message Date
Tom Hughes
68637a381c Process traces in order. 2007-09-24 22:59:34 +00:00
Gabriel Ebner
b66ae59f33 rails_port_0.5: Add the index before loading the data as suggested by Tom Hughes. 2007-09-24 13:31:11 +00:00
Frederik Ramm
1ac9ea1f06 removed LOCAL from LOAD DATA INFILE 2007-09-24 09:32:16 +00:00
Frederik Ramm
06a3213acd added with=4 to list of uninteresting tags, also source=PGS* (was: source=PGS exactly) 2007-09-24 09:11:33 +00:00
Gabriel Ebner
0f91ad8966 rails_port_0.5: Merge rails_port r4664. 2007-09-23 20:37:16 +00:00
Tom Hughes
868ce8d467 Allow trace descriptions and tags to be edited. 2007-09-23 17:05:31 +00:00
Tom Hughes
56500280d4 Avoid warning. 2007-09-23 16:54:48 +00:00
Tom Hughes
cb71c6d57f Add migration for quadtiling of node tables. 2007-09-23 13:42:56 +00:00
Gabriel Ebner
e03ea17a22 rails_port_0.5: Merge rails_port r4643 2007-09-22 19:55:33 +00:00
Tom Hughes
ba6b3f355a Use tile based query when creating a way from unwayed segments. 2007-09-21 16:25:18 +00:00
Tom Hughes
2237cab748 Scale lat and lon values for unwayed segments. 2007-09-21 16:09:24 +00:00
Tom Hughes
418b315ea5 Use tile based queries for unwayed segments. 2007-09-21 16:04:36 +00:00
Tom Hughes
df31fe13a5 Use quadtiling for the node tables. 2007-09-21 13:43:43 +00:00
Tom Hughes
5cd05017a3 Improve alert messages when database is offline. 2007-09-21 09:49:28 +00:00
Tom Hughes
dcad582741 Learn to spell. 2007-09-21 08:14:01 +00:00
Tom Hughes
734697ebb6 Check API status correctly. 2007-09-21 08:13:17 +00:00
Tom Hughes
9c01c4cb63 Allow the API to be taken offline completely as well as being put into
readonly mode,
2007-09-20 23:51:11 +00:00
Gabriel Ebner
05a2bd6b46 rails_port_0.5/007_remove_segments_helper: Only convert segments that don't have the same tags as their way. 2007-09-20 15:14:25 +00:00
Gabriel Ebner
cfbdd3f7e1 Merge rails_port as of r4613 & fix tests. 2007-09-20 14:37:29 +00:00
Tom Hughes
27d8f2ef63 Include a reply link in email notifications of messages. 2007-09-19 10:37:32 +00:00
Tom Hughes
4c00efd678 Cope with change in number of decimals for GPS point positions. 2007-09-19 09:18:59 +00:00
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
62dfa5ff45 Make the tile ID column unsigned as intended. 2007-09-18 23:06:40 +00:00
Tom Hughes
f67fae73ce Limit the size that a rails process can grow to. 2007-09-16 23:14:40 +00:00
Dan Karran
78ef65aff7 Include message body in notification emails for convenience. 2007-09-16 14:52:50 +00:00
Richard Fairhurst
f58b242b0d v0.3, includes Douglas-Peucker for GPS tracks 2007-09-14 17:41:35 +00:00
Tom Hughes
349413a520 Allow column names in area conditions to be qualified, and do so for
the SWF queries which sometimes reference more than one table with
columns named latitude and longitude.
2007-09-14 11:16:25 +00:00
Frederik Ramm
6d44c78407 fixed "full" and "relationships_for_object" modes 2007-09-13 11:08:15 +00:00
Frederik Ramm
922a000b19 added tests for way and relation controllers 2007-09-13 11:06:33 +00:00
Frederik Ramm
dbdb0bec59 fixed ways_for_node call 2007-09-13 00:05:13 +00:00
Tom Hughes
ebef7b8009 Add a migration to upgrade gps_points for quad tile support. 2007-09-12 17:59:48 +00:00
Tom Hughes
b1a0e5ae8b Make the MySQL tile_for_point function take arguments in the same order
as the ruby version.
2007-09-12 17:46:03 +00:00
Tom Hughes
d19ca7c44b Fill in the tile ID before saving a trace point. Also add appropriate
validation to the tracepoint model.
2007-09-12 14:33:37 +00:00
Gabriel Ebner
7958b37bc9 rails_port_0.5/006_remove_segments_helper: Ignore more tags when deciding which segments to convert. 2007-09-12 14:08:42 +00:00
Tom Hughes
c3f0e12491 Dropping duplicate GPS points is very expensive and rarely finds
anything much to drop, so don't bother.
2007-09-12 13:49:58 +00:00
Tom Hughes
0423884184 Use QuadTiling in GPS point queries. 2007-09-12 12:14:45 +00:00
Richard Fairhurst
1fcd5f5593 Potlatch v0.2a: display GPS traces, some bugfixes 2007-09-12 10:07:26 +00:00
Tom Hughes
33a65a90c9 QuadTile infrastructure. 2007-09-11 23:55:25 +00:00
Dan Karran
285d61bf4c Send an email notification out when a new message is waiting on the site for you. 2007-09-05 22:27:22 +00:00
Tom Hughes
a287d24f12 Use BETWEEN for the node selection in the map API call as MySQL seems to
process it more efficiently.
2007-09-05 17:20:09 +00:00
Dan Karran
37317b8295 Hiding new diary entry map by default to save some space, allowing people to expand it if desired. 2007-09-05 17:18:18 +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
Steve Coast
2c0cd2730c a few message prettyness things 2007-09-04 14:20:42 +00:00
Tom Hughes
9fa8aab9f2 Revert SteveC's edit as blank title are now banned. 2007-09-04 14:08:17 +00:00
Tom Hughes
d3b42fef34 Add extra validation to messages and diary entries. 2007-09-04 14:05:13 +00:00
Steve Coast
c04e9ccf95 link to 'no subject' if message title/subject is blank 2007-09-04 13:43:31 +00:00
Dan Karran
9554ef289e Adding geo microformat to trace viewing pages. 2007-09-03 22:40:04 +00:00
Dan Karran
b78d25a3a8 Allow people to add coordinates to diary entries, add them to the RSS feeds and diary display pages using geo microformat. 2007-09-03 22:37:42 +00:00
Dan Karran
c81c31775b Adding 'New diary post' link to main Users' diaries page to help logged-in users find how to post. 2007-09-03 20:46:34 +00:00
Richard Fairhurst
53f58825b0 latest Yahoo Maps API seems to be more reliable 2007-09-02 17:51:03 +00:00