Sarah Hoffmann
555362eabe
simplify bounding box computation
...
Makes highlighting of points reappear.
2015-03-06 20:58:09 +01:00
Marc Tobias Metten
3c2c3ab674
check database results before using variable
2015-02-18 17:53:49 +01:00
Sarah Hoffmann
2b2b6ffadc
drop special handling of short exact terms in address
...
There is a double check against exact terms, so that results with
a matching exact short term will float to the top.
2015-02-15 19:36:39 +01:00
Sarah Hoffmann
c9f3d7d08b
disable housenumber-specific search when no address details are provided
2015-02-05 21:13:33 +01:00
Sarah Hoffmann
cf5ced6618
order search results by existance of housenumbers
...
When searching for an address with housenumber, include the house
number lookup already when searching in search_name so that we do
not cut away relevant results in cases where there are too many
street pieces.
2015-02-04 20:31:30 +01:00
Sarah Hoffmann
0f84371748
actually write back the reversed final phrase when reversing the query
2015-02-04 20:29:38 +01:00
Sarah Hoffmann
b145dadd63
correctly quote display name in html search result
2015-02-03 23:12:21 +01:00
Sarah Hoffmann
7769b0a823
junctions should not appear as roads in addresses
...
fixes #228
2015-01-30 22:25:08 +01:00
Sarah Hoffmann
330f147b02
use _st_intersects when dealing with countries, it does not use index
2015-01-28 21:40: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
c798577f70
remove hack for fixing adminitrative typo
2015-01-26 22:33:56 +01:00
Sarah Hoffmann
4c2fa68c55
details view: use class name if type is yes
...
fixes #209
2015-01-26 22:27:33 +01:00
Sarah Hoffmann
d1552b0904
don't use tokens from country parameter in address field of searches
...
fixes #218
2015-01-26 21:59:36 +01:00
Sarah Hoffmann
b121da0ca3
need phrase types in getGroupedSearches
2015-01-26 21:34:21 +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
52265a33ba
for PlaceLookup if we look for nodes then the centroid does not exist in the placex table
2014-10-28 14:27:40 +01:00
Sarah Hoffmann
e62ae5b090
respect bounded in country searches
...
fixes trac 5238
2014-10-08 23:31:33 +02:00
Sarah Hoffmann
4d6da459da
experimental tweaking of ranks of searches
...
- completely removes partial words with spaces from addresses
- ensure that frequent partial search terms appear in NonAddress
- higher penalty for partial words consisting of numbers
2014-09-29 19:11:59 +02: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
aae90ea5cb
fix adding of spaces in GB postcode
...
Based on https://github.com/twain47/Nominatim/pull/180 by arunkmp.
2014-09-21 22:44:06 +02:00
Sarah Hoffmann
e7ee9c2d84
fix coordinate order for route parameter
...
fixes #174
2014-09-03 21:08:26 +02:00
Sarah Hoffmann
5f79cca558
apply rank restrictions already when scanning search_name table
...
fixes #176
2014-09-03 21:00:37 +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
ea48e50c60
Merge branch 'place-in-addressdetails' of https://github.com/lonvia/Nominatim
2014-05-16 11:23:05 +02:00
Sarah Hoffmann
defb809b83
normalize house numbers in placex when searching
2014-05-10 19:41:11 +02:00
Sarah Hoffmann
70deb7883e
fix PHP warnings about undefined variables
2014-05-01 15:38:31 +02:00
Sarah Hoffmann
7b24f72870
give slight preference to full-word matches when reranking
...
fixes https://trac.openstreetmap.org/ticket/5094
2014-05-01 15:19:24 +02:00
Sarah Hoffmann
11153633ff
remove some dead code
2014-05-01 14:21:57 +02:00
Sarah Hoffmann
3eb21a7694
don't enlarge viewbox when bounded is requested
2014-05-01 14:20:23 +02:00
Sarah Hoffmann
9ac57c92ee
fix formatting
2014-05-01 09:25:06 +02:00
Sarah Hoffmann
ac70726591
sanity check of house number format
...
Add a penalty for house number search terms when they contain
too many non-numeric characters in an attempt to filter tokens
that ended up as house numbers in the word table as a result
of mapping errors.
2014-05-01 09:18:10 +02:00
Sarah Hoffmann
34adfd5041
add penalty for special term searches
...
abbreviations for some of the terms are too easily matched against
common address terms like 'street'
2014-05-01 09:16:03 +02:00
Sarah Hoffmann
bafd92093b
prefer place tag for address details
2014-04-30 23:31:28 +02:00
Sarah Hoffmann
2cc0fa341b
remove New York hack
...
Seems to work okay with current boundaries.
2014-04-30 21:11:23 +02:00
Sarah Hoffmann
21adb3740e
take viewbox into account for final result ranking
...
fixes #12
2014-04-30 21:04:46 +02:00
Sarah Hoffmann
7f95590a77
correct start time computation
...
fixes #125
2014-04-21 21:12:14 +02:00
Sarah Hoffmann
369a0974bd
make HTML validator happy with details page
2014-04-12 20:12:23 +02:00
Sarah Hoffmann
346da9bc0d
handle multiple results from gb_postcode table
2014-04-10 21:50:44 +02:00
Sarah Hoffmann
0b9618e349
prefer street results when doing house number search
...
This is an experimental fix for #119 .
2014-03-13 20:40:02 +01:00
Sarah Hoffmann
a92907186b
allow US state name abbreviations at beginning of search term
...
fixes https://trac.openstreetmap.org/ticket/5136
2014-03-11 00:32:54 +01:00
Sarah Hoffmann
e42ff1935f
forgot the actual query script
2014-03-03 21:48:17 +01:00
Sarah Hoffmann
bc27cb2bd8
introduce util function to query db from command line
2014-03-03 20:02:24 +01:00
Sarah Hoffmann
236750eba4
always return bbox ccordinates as string
...
fixes https://trac.openstreetmap.org/ticket/5132
2014-03-02 17:52:09 +01:00
Sarah Hoffmann
29dfc0c259
allow to pass an additional config file via NOMINATIM_SETTINGS variable to command line tools
...
needed for test environment
2014-02-15 18:49:05 +01:00
Sarah Hoffmann
dbdf767030
fix syntax of route linestring
2014-02-07 21:31:26 +01:00
Brian Quinion
224836ce9a
include rank and importance in reverse geocode output
2014-02-06 13:09:55 +00:00