Sarah Hoffmann
753227ae25
more strict parameter checking for reverse
2015-03-17 21:06:58 +01:00
Brian Quinion
4429121341
move more code into library
2013-09-06 09:47:45 +01:00
Sarah Hoffmann
3ccf466e2f
fix error output
2013-07-04 17:52:25 +02:00
Brian Quinion
93b1089866
Only use placex that are fully indexed for reverse geocoding
2013-05-08 12:16:45 +01:00
Sarah Hoffmann
fb0d219c7b
harmonize formatting of frontend php
2013-04-12 22:45:24 +02:00
Sarah Hoffmann
463ef857c8
increase initial search radius for reverse lookups
...
On the osm.org instance, this saves 2 psql queries for about 87% of
reverse requests consequently increasing throughput significantly. A lower
value might make sense if an instance is used only in areas with very
high mapping density but for standard usage this one should be better
suited.
2013-02-12 19:10:36 +01:00
Brian Quinion
7a4d550c7a
more debug in reverse geocoding
2013-02-07 18:41:17 +00:00
Brian Quinion
f9a7f03239
A bunch more places that should be using calculated_country_code not country_code
2013-01-24 16:17:37 +00:00
Brian Quinion
4057b21e1f
use the new centroid property of placex in queries rather than calculating using st_centroid(geometry)
2012-12-18 12:50:34 +00:00
Brian Quinion
0dd10c3fff
Change access control to implement more of CORS. Change so OPTIONS requests don't do an actual search/reverse request
2012-12-17 00:25:06 +00:00
Brian Quinion
274f381052
prune list of blocked items if too large, different costs for different page types
2012-12-08 21:39:24 +00:00
Daniele Forsi
f082611e25
Fix typos found with codespell in comments
2012-07-10 15:31:01 +02:00
Daniele Forsi
ca5305661e
Fix typos in function name
...
perl -p -e s/getPrefferedLangauges/getPreferredLanguages/ -i */*.php
2012-07-09 19:07:09 +02:00
Daniele Forsi
9549bda474
Fix wrong variable used with PEAR::IsError()
...
Fixes:
PHP Fatal error: Cannot use object of type DB_Error as array in /home/daniele/Programmazione/OSM/Nominatim/website/reverse.php on line 104
2012-07-09 18:16:54 +02:00
Sarah Hoffmann
419f90ed75
ignore railways, tunnels and bridges when reverse geocoding
2012-06-28 20:39:18 +02:00
Sarah Hoffmann
a44e21de49
avoid PHP notices
2012-05-25 23:45:59 +02:00
Brian Quinion
946f35e7ff
Updated reverse geocoding to improve handling of zoom=0
2012-05-24 16:54:51 +01:00
Sarah Hoffmann
4d7e0d97b2
return a 500 on database error
2012-03-18 17:58:19 +01:00
Brian Quinion
2eccb0e69d
return actual centroid lat,lon of reverse geocoding result
2011-04-07 15:57:57 +00:00
Brian Quinion
2148d81474
calculate search position based to 'importance' rather than address rank
2011-03-18 09:52:16 +00:00
Brian Quinion
9c41353340
better error checking for middle of the sea
2011-02-22 20:01:26 +00:00
Brian Quinion
10620c71bb
lots of little bug fixes and missing files
2011-02-02 12:01:26 +00:00
Brian Quinion
7df80bbc6f
tigger data import
2010-11-15 16:34:27 +00:00