Sarah Hoffmann
82e5a95f16
also drop interpolation index
2015-02-21 14:17:34 +01:00
Sarah Hoffmann
822ca14480
add makefile for test scene extractor
2015-02-21 14:11:05 +01:00
Sarah Hoffmann
b41a5c962c
drop unnecessary index
2015-02-19 08:07:04 +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
02cd91d251
update osm2pgsql (bug in relation update)
2015-02-11 22:31:30 +01:00
Sarah Hoffmann
5d87136969
reduce search area for secondary adresses when areas are involved
2015-02-09 19:35:15 +01:00
Sarah Hoffmann
0de6f37647
remove address lines with fully duplicated keywords
...
Mainly there to avoid having many duplicated postcode entries
in place_addressline from nodes which have tags where only
addr:postcode is recognized by Nominatim (e.g. fire hydrants).
2015-02-09 19:35:15 +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
62ed8b9e0c
add test for house number search
2015-02-04 20:39:20 +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
43b925b258
slightly relax API tests
2015-02-03 23:17:51 +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
f6bfadaef6
Merge remote-tracking branch 'lonvia/inverse-query-II'
2015-01-23 16:46:50 +01:00
Sarah Hoffmann
b9355ac829
switch to enhanced osm2pgsql C++ version
...
This includes a major rewrite of the tag processing code. Much more
data is already rejected during osm2pgsql processing and names are
choosen more selectively depending on the class/type.
2015-01-23 08:13:11 +01:00
Sarah Hoffmann
f54ad3b86d
adapt API tests to latest data
2015-01-22 00:06:44 +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
021702f190
tablespace definition belongs before the where clause
2015-01-20 20:45:16 +01:00
Sarah Hoffmann
138b8a2ada
remove unused functions
2015-01-16 21:36:35 +01:00
Sarah Hoffmann
352f0fdc27
finish osm2pgsql tag tests
2015-01-14 23:13:38 +01:00
Sarah Hoffmann
8c89b65082
more osm2pgsql tag tests
2015-01-13 22:16:00 +01:00
Sarah Hoffmann
f156da6b63
support tablespaces and www user config in tiger import
2015-01-11 13:44:39 +01:00
Sarah Hoffmann
759222eef2
tests for name import in osm2pgsql
2015-01-09 23:17:17 +01:00
Sarah Hoffmann
14d17a3ad4
properly close connection in test
2015-01-09 23:16:53 +01:00
Sarah Hoffmann
6d0ab44800
reuse template db for tests by default
2015-01-09 23:16:31 +01:00
Sarah Hoffmann
a855bfc6e5
be more restrictive with sql select when computing linked waterways
2014-12-30 22:55:24 +01:00
Sarah Hoffmann
3db64e7913
support tablespaces for special phrase table
2014-12-28 23:10:10 +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
Sarah Hoffmann
635006b19b
add hint about osm2pgsql submodule
2014-12-19 23:44:54 +01:00
Sarah Hoffmann
c391479c58
reorganise table creation
...
- remove unused tables
- make apache user configurable
- introduce configurable tablespaces
2014-12-02 00:05:21 +01:00
Sarah Hoffmann
04a20a2a0a
remove debug output
2014-11-28 22:16:56 +01:00
Sarah Hoffmann
6382b1c111
more tolerant regexp for parsing replication state directories
...
Apache 2.4 has changed the date format, so that the current regexp
doesn't match anymore, so be more tolerant with the date format.
Also force less fancy output formatting without tables.
2014-11-27 22:23:04 +01:00
Sarah Hoffmann
59de7c5a9b
fix address interpolation for self-intersecting ways
2014-11-03 22:42:34 +01:00
Sarah Hoffmann
4b8632d1e5
transliterate precomputed house numbers
2014-11-02 19:17:30 +01:00
Sarah Hoffmann
8f09b9378f
only check for postgres major and minor version
...
fixes #192
2014-10-29 21:04:28 +01:00
Sarah Hoffmann
e1c88352ab
use unique function name for test step
2014-10-29 20:37:56 +01:00
Marc Tobias Metten
084a110efb
add regression test
2014-10-28 15:40:01 +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
475108b937
fix typo in osm test file generator
2014-10-20 00:02:29 +02:00
Sarah Hoffmann
02c219d40e
PATH_INFO is delivered URL encoded on newer apache 2.4
2014-10-16 00:33:56 +02:00
Sarah Hoffmann
4cfeeb06ba
adapt API tests to latest OSM data changes
2014-10-09 21:04:16 +02:00