Commit graph

55 commits

Author SHA1 Message Date
Tom Hughes
d6e047d7d4 Optimise finding of relations, partially reversing change #8443 but in
a more rails like way.
2008-07-16 23:42:59 +00:00
Tom Hughes
6644f115c9 Add bounds to map responses. Closes #1011. 2008-07-08 09:52:08 +00:00
Tom Hughes
def60c1935 Railsify relation selection (aka ripping out the f***in SQL). 2008-06-24 23:42:39 +00:00
Tom Hughes
cb3992f5a1 Mark map responses as attachments. 2008-04-19 13:35:02 +00:00
Tom Hughes
ddb003f0f2 Headers is an array not a function... 2008-04-19 13:29:10 +00:00
Tom Hughes
d13ef1db02 More work on export tab. 2008-04-14 23:46:10 +00:00
Richard Fairhurst
ae142c554b Potlatch 0.8 - be afraid, be very, very afraid 2008-03-19 01:03:51 +00:00
Tom Hughes
d0d396f9b6 Fix indentation. 2008-02-03 15:38:53 +00:00
Xin Zheng
2e2956d126 patched controller section of #648 2008-01-25 16:32:24 +00:00
Xin Zheng
6de965520b added application.yml, refactored map method 2008-01-23 16:43:30 +00:00
Tom Hughes
bee38e63a3 Make things work with multipart keys. 2008-01-23 09:53:35 +00:00
Tom Hughes
d29a319ab0 Add an API call to find the map tiles which have changed in a given period. 2007-10-09 23:41:26 +00:00
Tom Hughes
ac8a24e79e Cope with empty areas better. 2007-10-07 12:44:27 +00:00
Gabriel Ebner
e03ea17a22 rails_port_0.5: Merge rails_port r4643 2007-09-22 19:55:33 +00:00
Tom Hughes
df31fe13a5 Use quadtiling for the node tables. 2007-09-21 13:43:43 +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
cfbdd3f7e1 Merge rails_port as of r4613 & fix tests. 2007-09-20 14:37:29 +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
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
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
Tom Hughes
dc3edbe7c1 Add a capabilities API call. Fixes #410. 2007-08-21 23:27:42 +00:00
Tom Hughes
e70d94c54a Don't create sessions for API calls. 2007-08-14 13:59:07 +00:00
Tom Hughes
7f92d533d0 Give up after reporting that the query found too many nodes. 2007-07-30 21:09:58 +00:00
Tom Hughes
9b67da24c0 Fix deprecation warning. 2007-06-27 18:09:31 +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
91461927d4 Fix bogus SQL. 2007-06-24 10:53:37 +00:00
Tom Hughes
a4647430aa Allow all trackpoints to be fetched, not just those from public traces and
the user's own traces. Also restore the 0.3 API functionality that eliminate
duplicate points.
2007-06-24 10:51:29 +00:00
Richard Fairhurst
325aa7ecdf TomH's 500 patch 2007-06-04 08:57:13 +00:00
Steve Coast
a0e8c35c1b various things from TomH 2007-05-29 23:25:41 +00:00
Steve Coast
494975aa8b return a blank 0.4 osm xml doc when on data found 2007-05-22 11:22:17 +00:00
Steve Coast
d4cea98b16 back out eager way_tag loading as it wasn't getting all tags? 2007-05-14 01:51:14 +00:00
Steve Coast
332bcb6b18 do wot john said innit - eagerly load tags in the map call for ways 2007-05-14 00:51:36 +00:00
Steve Coast
1bbe59b6a7 api fixes 2007-05-10 20:17:29 +00:00
Steve Coast
21fd6d3126 updates to api 2007-05-10 19:37:33 +00:00
Steve Coast
9011118cd0 bring checks back 2007-05-10 18:51:37 +00:00
John McKerrell
14b8e7619f Added trackpoint serving support to 0.4 API 2007-05-10 14:07:37 +00:00
Steve Coast
6ccf25b347 various fixes 2007-05-09 17:31:11 +00:00
Nick Black
c5d1f3381d fixes ticket 434 2007-05-08 12:41:04 +00:00
Steve Coast
ec328801e9 return blank <osm> if no nodes found 2007-05-08 07:53:39 +00:00
Steve Coast
513b863bf0 add explicit garbage collection 2007-05-07 13:51:47 +00:00
Steve Coast
89e976c6e5 updates from hacking day 2007-05-06 10:08:00 +00:00
Nick Black
8bd09c0828 map view defaults to a home lat and lon 2007-04-30 09:57:54 +00:00
Nick Burch
343e01bb86 Support getting a way, and all the segments and nodes it depends on, via /way/:id/full 2007-04-22 11:06:48 +00:00
Steve Coast
c91b86a1d1 change mime type and reformat search controller 2007-04-18 11:25:59 +00:00
Nick Burch
1733e8990a When we hit an error in /api/0.x/map, include a more helpful explanation of what's wrong in an error header (ruby's CGI stuff won't let you set it as the HTTP status message) 2007-04-08 16:29:06 +00:00
Steve Coast
668f8020cc simplify grabbing of a xml base doc 2007-04-07 12:43:48 +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
Immanuel Scholz
1ecf13d846 - fixed map api call in version 0.4. 2007-01-13 04:03:46 +00:00
Steve Coast
fac305e87b various gpx bits 2006-12-01 15:59:13 +00:00