Tom Hughes
339ac9d239
Pass preferred language to geonames API calls
2014-01-27 21:14:17 +00:00
Tom Hughes
ccebb796ab
Use api.geonames.org for reverse searches
2014-01-27 21:14:17 +00:00
Tom Hughes
581032b701
Enable oauth for geocoder#search
2013-11-24 17:05:02 +00:00
John Firebaugh
2b4f8e92c9
Merge branch 'master' into redesign
...
Conflicts:
app/controllers/browse_controller.rb
app/views/layouts/_head.html.erb
config/environments/production.rb
config/routes.rb
2013-11-15 16:47:49 -08:00
Tom Hughes
82e4970766
Handle an empty type value in a nominatim result
2013-10-21 18:56:56 +01:00
John Firebaugh
5835350879
Restore raw latlon search result
2013-10-15 21:01:14 +01:00
John Firebaugh
35458c0096
Convert search to pushState
2013-10-13 14:46:08 -07:00
John Firebaugh
aaeca5b534
Use reverse geocoders for any lat/lon queries
...
This simplifies the implementation, allows code sharing with
"Where am I?", and produces friendlier results for lat/lon
searches (actual reverse geocode results rather than a raw
lat/lon display).
2013-10-13 19:30:38 +01:00
Tom Hughes
0e9e6e6f8f
Upgrade to http_accept_language 2.x
2013-09-24 20:22:44 +01:00
Sarah Hoffmann
378869b77d
Show more specific boundary type in search results
2013-06-24 22:26:28 +01:00
Tom Hughes
427f896cdf
Fix a bug decoding certain lat/lon formats
2013-05-08 19:21:19 +01:00
Tom Hughes
2b99d77962
Don't cast object type and ID to string in case they are nil
2013-05-07 17:39:11 +01:00
Tom Hughes
b1308a87be
Show OSM objects for Nominatim search results as map overlays
2013-04-26 00:39:26 +01:00
Eric Theise
dce2bb9a54
Extend geocoder to support additional lat/lon formats
2013-03-03 19:39:53 +00:00
Tom Hughes
1a0728ec7b
Remove unused namefinder support from the geocoder backend
2012-09-18 11:54:11 +01:00
Tom Hughes
1a2f6c29c6
Update to use api.geonames.org instead of ws.geonames.org
2012-04-18 18:44:37 +01:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
f364dd8f00
Allow the Nominatim instance used to be configured
2010-11-02 10:40:43 +00:00
Tom Hughes
f07819d81a
Rework application configuration
...
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.
The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
798cdc1d19
Tweak resource names to make them fit the normal naming scheme
2010-05-18 00:09:29 +01:00
Ævar Arnfjörð Bjarmason
0fd4a61759
Allow for formatting of the nominatim prefix in the i18n system
...
It's a pain to translate nominatim as-is because the context forces me
to translate things in the accusative case. Now I can change
"{{name}}" into "{{name}}:" and translate things in the nominative
case.
Not putting the message in search_osm_nominatim so I don't infringe
upon its namespace.
2010-05-18 00:06:43 +01:00
Tom Hughes
e076d824bf
Make sure we report "no results" when Nominatim's reverse geocoder fails
...
to find any results.
2010-02-27 12:52:30 +00:00
Tom Hughes
d702a29810
Send queries which look like US or Canadian postcodes to Nominatim as
...
well as the specialised postcode search engines.
2010-02-21 17:56:04 +00:00
Tom Hughes
fcebfd1fe7
Drop Namefinder from search results.
2010-01-06 00:31:03 +00:00
Tom Hughes
4f23e718b4
Add a "More results" link to Nominatim search results.
2010-01-06 00:30:29 +00:00
Tom Hughes
ef2cca8bd0
Refactor nominatim translation a bit more.
2009-11-24 14:02:08 +00:00
Tom Hughes
e83b793437
Improve translatability of nominatim results. Closes #2498 .
2009-11-24 13:53:39 +00:00
Tom Hughes
a6c9fed920
More tweaking.
2009-11-11 14:40:39 +00:00
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