Markus Gail
e94b667e16
adapt to code style conventions
2016-03-21 14:15:22 +01:00
Markus Gail
291fdd1894
Tested Version of new Tiger line storage format.
2016-03-21 14:14:01 +01:00
Markus Gail
46cef36184
Implement geocoding and reverse geocoding with tiger interpolation lines instead of points.
2016-03-21 14:14:01 +01:00
Marc Tobias Metten
991bd0004a
Reverse geocode include geometry
2016-03-04 20:29:09 +01:00
Marc Tobias Metten
7f5fe8c877
moved bIncludePolygonAsPoints related logic into lib.php, added tests
2016-02-28 17:06:52 +01:00
Marc Tobias Metten
78a29b5a87
spaces-to-tabs for all *.php files
2016-02-27 00:02:20 +01:00
PhiRub
5cc1946dfc
Fixed Lat/Long Example
2015-09-03 15:59:40 -05:00
Sarah Hoffmann
86ca377b1a
add extratags and name details to PlaceLookup (reverse)
2015-08-09 15:14:59 +02:00
Sarah Hoffmann
79f1107391
increase relevance of class/type importance
...
fixes #273
2015-05-04 21:14:34 +02:00
Sarah Hoffmann
987b6a70c9
use unescaped unicode in json where supported by PHP
2015-03-29 13:02:21 +02:00
Sarah Hoffmann
7769b0a823
junctions should not appear as roads in addresses
...
fixes #228
2015-01-30 22:25:08 +01:00
Sarah Hoffmann
fbc5ba13f8
show class instead of yes in html search output
2015-01-27 22:22:26 +01:00
Sarah Hoffmann
e16fcf879d
fully evaluate reverse order of queries
...
Factors out computation of search group and calls the code once
for forward evaluation and wants with reversed word order.
2015-01-21 21:40:38 +01:00
Sarah Hoffmann
d6e7bbaad9
add underscore back to derelict canal
...
fixes #212 (again)
2014-12-20 14:55:08 +01:00
Sarah Hoffmann
1217083146
remove duplicate derelict canal
...
fixes #212
2014-12-20 00:02:26 +01:00
Marc Tobias Metten
d6f298f033
move looksLikeLatLonPair into lib.php, basic PHP test suite using phpunit
2014-09-23 22:53:20 +02:00
Sarah Hoffmann
0b545ba093
experimental ordering of searches within same rank
...
giving preference to those without operator and housenumber
2014-09-03 20:46:41 +02:00
Brian Quinion
fcc731dcd4
Add aeroway as alias for airport
2014-08-22 14:11:01 +01:00
Sarah Hoffmann
be1d7f38ca
return with non-zero exit code on error
2014-05-18 22:58:58 +02:00
Sarah Hoffmann
bafd92093b
prefer place tag for address details
2014-04-30 23:31:28 +02:00
Sarah Hoffmann
346da9bc0d
handle multiple results from gb_postcode table
2014-04-10 21:50:44 +02:00
Sarah Hoffmann
bc27cb2bd8
introduce util function to query db from command line
2014-03-03 20:02:24 +01:00
Sarah Hoffmann
b25ecf13db
check correct variable for SQL error
2014-02-01 15:51:40 +01:00
Brian Quinion
a974d25092
fix structured and batch mode. Add constant to disable batch mode by default
2013-09-12 16:16:08 +01:00
Brian Quinion
eb793ae26e
Fix for regressions: broken bounded search, error on country codes
2013-09-06 09:47:46 +01:00
Brian Quinion
aa8c6e5f13
Try alternative orderings of structured queries that include postal codes
2013-06-11 14:56:50 +01:00
Sarah Hoffmann
9cec989882
remove suggestion code, no longer works
2013-05-08 20:23:47 +02:00
Sarah Hoffmann
b4c87a09a1
restrict depth of word set calculation
2013-04-20 00:18:08 +02:00
Sarah Hoffmann
9e0a92a508
allow to disable default language
...
If CONST_Default_Language is set to false, the fallback will be to
name tags without a language suffix. Make this the default.
2013-04-12 23:12:03 +02:00
Sarah Hoffmann
fb0d219c7b
harmonize formatting of frontend php
2013-04-12 22:45:24 +02:00
Sarah Hoffmann
777e1cdbd9
remove special handling of mountain passes
...
clashes with use of place tags on same node,
needs updated osm2pgsql
2013-02-17 14:53:22 +01:00
Brian Quinion
3852096c80
avoid dropping tokens completely just because they are expensive. Use ' ' token in preference to just dropping
2013-01-31 14:17:41 +00:00
Brian Quinion
b86d5c6a42
Merge branch 'master' of github.com:twain47/Nominatim
2012-12-14 20:48:33 +00:00
Brian Quinion
1965f423dc
add support for boundary:postal_code, handle fallback address elements more elegantly
2012-12-14 20:48:27 +00:00
Sarah Hoffmann
fa1f23edfb
more isset checks for PHP variables
2012-12-12 18:49:21 +01:00
Brian Quinion
ad89c1f0ca
better fallback for address component names (avoid labeling mutliple values 'boundary') and handle situation where a place doesn't have a valid name tag for fallback.
2012-12-12 02:09:18 +00:00
Brian Quinion
af8a44c4fe
move memcache bucket functions to their own file
2012-12-08 21:41:09 +00:00
Brian Quinion
fa90ece530
add an option for max number of sleeping threads
2012-12-08 18:55:17 +00:00
Brian Quinion
02e7cfd6f4
sort output of blocked list by block timestamp
2012-12-08 17:58:24 +00:00
Brian Quinion
e03ae6d7eb
rate limiting using memcache
2012-12-08 17:38:10 +00:00
Brian Quinion
e70dfa18fa
move error messages to consistent 'userError' function and return 400 Bad Request
2012-11-06 13:16:19 +00:00
Brian Quinion
a0e39b67d5
Allow option of structured search queries (params amenity,street,city,county,state,country)
2012-11-02 17:52:33 +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
Sarah Hoffmann
e598e2ceed
use json_encode in search stuff as well
...
remove JSON_UNESCAPED_UNICODE, supported only by php >=5.3.3 and
clients should be able to handle the escaping
2012-07-01 17:24:27 +02:00
Sarah Hoffmann
1cb55c6e31
more generalized javascript_renderData
...
- handles json/jsonp transparently (avoiding code duplication in templates)
- use php's internal json_encode functions (with JSON_UNESCAPED_UNICODE
for backward compatibility)
- be more liberal with what is allowed as a callback identifier
- return a 400 for illegal callbacks
- return application/javascript type when jsonp is requested
fixes #16 , fixes #17
2012-07-01 15:55:26 +02:00
Sarah Hoffmann
8204a8b13a
typo
2012-05-23 20:15:15 +03:00
Sarah Hoffmann
820b075026
fix typos in mapicons
2012-04-26 23:23:27 +02:00
Brian Quinion
9b01ddd641
set osm2pgsql cache memory to a default based on memory in the machine
2012-04-26 01:35:06 +01:00
Brian Quinion
80cf5df1cd
Merge branch 'master' of github.com:twain47/Nominatim
2012-03-26 23:57:24 +01:00