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
Sarah Hoffmann
dd18e74079
remove all unidentified large areas from addresses
2014-10-08 23:33:46 +02:00
Sarah Hoffmann
e62ae5b090
respect bounded in country searches
...
fixes trac 5238
2014-10-08 23:31:33 +02:00
Sarah Hoffmann
8989776bfd
remove most landuses from addresses
2014-10-08 20:47:32 +02:00
Sarah Hoffmann
d899b3b04c
reintroduce index on gb_postcode
2014-10-08 20:43:19 +02:00
Sarah Hoffmann
2d6f00945a
rewrite address interpolation so that planet_osm_node is not needed
...
This allows address interpolations to work correctly when flatnode storage
is used for node coordinates.
To fix interpolations in an existing database, follow these steps:
* invalidate all interpolations (in psql):
`UPDATE placex SET indexed_status=2 WHERE rank_search = 28`
* disable updates:
./utils/setup.php --create-functions --create-partition-functions
* reindex the whole lot:
./utils/update.php --index --index-instances <number of your cpus>
* enable updates again:
./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
2014-10-05 22:16:02 +02:00
Sarah Hoffmann
6a22d71b3b
officially drop support for postgres 8.4
2014-10-04 22:50:04 +02:00
Sarah Hoffmann
d794b74550
bump development version to 2.4
2014-10-04 22:20:40 +02:00
Sarah Hoffmann
59ea8d0830
prepare next release
2014-10-03 22:48:39 +02:00
Sarah Hoffmann
a1a136778d
add finished message to setup.php
2014-09-29 19:31:37 +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
Sarah Hoffmann
fd6db5a13f
update osm2pgsql (protobuf lib)
...
fixes #175
2014-09-24 23:19:20 +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
b6fd7b1857
lower significance of postcodes in Singapure
...
Postcodes with 6 digits designate delivery points, i.e. houses.
2014-09-11 19:42:52 +02:00