Commit graph

54 commits

Author SHA1 Message Date
Tom Hughes
64e0c0794b Tweak nominatim results a bit. 2009-11-11 14:37:31 +00:00
Tom Hughes
c6eb4d5856 Make nominatim live. 2009-11-11 14:22:21 +00:00
Tom Hughes
b3d37581ad Send the language string to nominatim. 2009-11-10 15:05:23 +00:00
Tom Hughes
e19c04c7a7 Pass the viewbox to nominatim when possible. 2009-11-10 14:37:46 +00:00
Tom Hughes
7dd06b4f88 Fix a few nominatim issues. 2009-11-10 13:35:58 +00:00
Tom Hughes
ea2652a211 Rename twain geocoder to nominatim. 2009-11-09 09:06:52 +00:00
Tom Hughes
639a994c9b Experimental support for reverse geocoding using the new geocoder. 2009-10-30 11:12:55 +00:00
Tom Hughes
17e0753962 Use bounding box information to zoom to search results when possible. 2009-10-15 09:27:21 +00:00
Tom Hughes
4a05c9a8f6 Add experimental support (disabled by default) for new geocoder. 2009-10-14 14:42:09 +00:00
Tom Hughes
fc5261ece5 Remove remaining trailing spaces from translations. 2009-09-22 20:15:09 +00:00
Tom Hughes
a5ab006122 Lookup the user before setting the locale. Fixes #2068. 2009-07-15 18:21:32 +00:00
Tom Hughes
671fc09bfc Correct resource name. 2009-07-03 17:44:21 +00:00
Štefan Baebler
8a80162db1 additional translations in geocoder describer 2009-07-03 06:38:43 +00:00
Tom Hughes
06b2d278ea Make the search box load each set of results separately so that one
service being slow doesn't delay the response from others.
2009-07-02 16:12:38 +00:00
Tom Hughes
b52327bf89 Fix warnings arising from geocoder translations, and use count magic
for the distance translation.
2009-06-30 23:45:32 +00:00
Štefan Baebler
c4965a1700 made geocoder results translatable. It could probably be improved but am not sure how. 2009-06-29 23:36:57 +00:00
Štefan Baebler
bfdce9c933 localized geocoder search results 2009-06-28 18:00:11 +00:00
Tom Hughes
3a8a2ebb1a Add an internal geocoder for lat/lon positions. 2009-05-10 11:57:10 +00:00
Tom Hughes
f7cbff9a5a Move geocoder constants to application configuration to avoid test warnings. 2009-05-08 18:21:39 +00:00
Tom Hughes
554614723a Back out hack to setMapCenter and fix the problem in the right place. 2009-02-05 22:23:45 +00:00
Tom Hughes
fe37259e01 Fix test for errors from geocoder.ca to work properly. Closes #1213. 2008-10-04 23:20:58 +00:00
Tom Hughes
0f28e0581e Tweak the namefinder results a bit more. 2008-04-10 08:07:09 +00:00
Tom Hughes
373a3b0577 Provide extra context for namefinder results where the nearest place
is small (a hamlet, village or suburb). Closes #794.
2008-04-09 23:43:38 +00:00
Tom Hughes
400340b138 Enable the namefinder again. 2008-03-25 18:01:10 +00:00
Tom Hughes
6c15eb7251 Disable the NameFinder and fix cut'n'paste error. 2008-02-26 21:50:53 +00:00
Tom Hughes
0f11fd9995 Use a lower zoom level for partial postcode matches. 2008-02-05 19:14:33 +00:00
Tom Hughes
c57bc002ac Send UK postcode searches to the namefinder as well as npemaps. 2008-01-23 00:49:21 +00:00
Tom Hughes
0c549650eb Change postcode searches to use z15 instead of z12. 2007-12-07 00:12:49 +00:00
Tom Hughes
300c3b4ed4 Work round ruby's horribly broken URI.escape that deliberately doesn't
escape most characters which have special meaning in URIs...
2007-11-24 14:36:21 +00:00
Tom Hughes
516aef5d07 Split out sidebar code from the search code so it can be reused for the
map key more cleanly.
2007-10-08 23:32:58 +00:00
Tom Hughes
a7f00eefc4 Correct calculation of reciprocal angles. 2007-08-25 22:33:46 +00:00
Tom Hughes
e376f3c009 Include a general location from GeoNames in the reverse geocode description. 2007-08-24 22:50:34 +00:00
Tom Hughes
d2bd78627e More search improvements - a "Where am I?" link that does a reverse
search, and various cleanups to the previous changes.
2007-08-24 18:53:30 +00:00
Tom Hughes
034982a12f If a search only finds one result then jump straight to it instead of
opening a list of results.
2007-08-24 17:38:36 +00:00
Tom Hughes
4ac48d2cb5 Cope with results from the OSM Namefinder that have no name. 2007-08-08 17:05:28 +00:00
Tom Hughes
bb43a46bab Only use the actual name that matched as the link, which helps to highlight it. 2007-08-07 23:51:02 +00:00
Tom Hughes
1be46302e4 Recognise UK postcodes with a space in the middle. 2007-08-07 23:20:25 +00:00
Tom Hughes
bac37f29d2 Cope with the OSM NameFinder returning a result with no nearby places. 2007-08-07 17:29:27 +00:00
Tom Hughes
397db07d65 New improved geocoder with extra added AJAX and OSM Namefinder support. 2007-08-07 17:09:37 +00:00
Tom Hughes
7379b4638c Escape names passed to ws.geonames.org as part of the URL. 2007-07-19 15:14:34 +00:00
Tom Hughes
77d2fcf9dd Fixed error handling in the name search and tidied things up a bit. 2007-07-19 13:22:15 +00:00
Tom Hughes
f7f2b7482d Add the search boxes to the edit page. 2007-06-12 16:51:12 +00:00
Nick Black
bc01da3ef9 now you can search openstreetmap.org/postcode/wc1e6bt 2007-05-01 23:31:44 +00:00
Nick Black
a4f4714d0e added a marker to show a location on the map 2007-05-01 13:26:27 +00:00
Nick Black
61ae5e7af0 Fixed up name search and postcode search 2007-04-25 08:12:20 +00:00
Nick Black
3b4ee4cb0f more geocoder stuff 2007-04-24 11:18:01 +00:00
Nick Burch
738cf50d08 If we can't match a postcode using a known geocoder, throw it at geonames and see if they happen to know what to do with it 2007-04-24 10:56:28 +00:00
Nick Burch
18d0dde5d1 Add Canadian geocoding, and attribute the geocoders we use 2007-04-24 10:32:34 +00:00
Nick Burch
4c8e1fa545 Support zip codes 2007-04-24 09:28:07 +00:00
Nick Burch
1cf9e2ed19 Update the postcode code to do a npemap lookup, rather than a FTP one 2007-04-24 09:16:15 +00:00