]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 27 Feb 2015 19:02:23 +0000 (20:02 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoenable NameOnlySearch per default
Sarah Hoffmann [Fri, 27 Feb 2015 18:55:31 +0000 (19:55 +0100)]
enable NameOnlySearch per default

9 years agoadd script for recomputing word frequencies
Sarah Hoffmann [Fri, 27 Feb 2015 18:53:11 +0000 (19:53 +0100)]
add script for recomputing word frequencies

9 years agoupdate scene builder to compile with latest libosmium
Sarah Hoffmann [Sat, 21 Feb 2015 15:35:54 +0000 (16:35 +0100)]
update scene builder to compile with latest libosmium

9 years agoalso drop interpolation index
Sarah Hoffmann [Thu, 19 Feb 2015 21:56:22 +0000 (22:56 +0100)]
also drop interpolation index

9 years agoadd makefile for test scene extractor
Sarah Hoffmann [Sat, 21 Feb 2015 13:10:27 +0000 (14:10 +0100)]
add makefile for test scene extractor

9 years agodrop unnecessary index
Sarah Hoffmann [Thu, 19 Feb 2015 07:07:04 +0000 (08:07 +0100)]
drop unnecessary index

9 years agocheck database results before using variable
Marc Tobias Metten [Wed, 18 Feb 2015 16:53:49 +0000 (17:53 +0100)]
check database results before using variable

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 15 Feb 2015 18:39:40 +0000 (19:39 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agodrop special handling of short exact terms in address
Sarah Hoffmann [Sun, 15 Feb 2015 18:36:39 +0000 (19:36 +0100)]
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.

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 11 Feb 2015 21:34:18 +0000 (22:34 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoupdate osm2pgsql (bug in relation update)
Sarah Hoffmann [Wed, 11 Feb 2015 21:31:30 +0000 (22:31 +0100)]
update osm2pgsql (bug in relation update)

9 years agoreduce search area for secondary adresses when areas are involved
Sarah Hoffmann [Fri, 6 Feb 2015 22:22:20 +0000 (23:22 +0100)]
reduce search area for secondary adresses when areas are involved

9 years agoremove address lines with fully duplicated keywords
Sarah Hoffmann [Fri, 6 Feb 2015 20:05:37 +0000 (21:05 +0100)]
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).

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 5 Feb 2015 20:14:27 +0000 (21:14 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agodisable housenumber-specific search when no address details are provided
Sarah Hoffmann [Thu, 5 Feb 2015 20:13:33 +0000 (21:13 +0100)]
disable housenumber-specific search when no address details are provided

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 4 Feb 2015 19:42:27 +0000 (20:42 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoadd test for house number search
Sarah Hoffmann [Wed, 4 Feb 2015 19:39:20 +0000 (20:39 +0100)]
add test for house number search

9 years agoorder search results by existance of housenumbers
Sarah Hoffmann [Mon, 2 Feb 2015 06:41:28 +0000 (07:41 +0100)]
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.

9 years agoactually write back the reversed final phrase when reversing the query
Sarah Hoffmann [Wed, 4 Feb 2015 19:29:38 +0000 (20:29 +0100)]
actually write back the reversed final phrase when reversing the query

9 years agoslightly relax API tests
Sarah Hoffmann [Tue, 3 Feb 2015 22:17:51 +0000 (23:17 +0100)]
slightly relax API tests

9 years agocorrectly quote display name in html search result
Sarah Hoffmann [Tue, 3 Feb 2015 22:12:21 +0000 (23:12 +0100)]
correctly quote display name in html search result

9 years agoorder search results by existance of housenumbers
Sarah Hoffmann [Mon, 2 Feb 2015 06:41:28 +0000 (07:41 +0100)]
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.

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 1 Feb 2015 12:00:14 +0000 (13:00 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agojunctions should not appear as roads in addresses
Sarah Hoffmann [Fri, 30 Jan 2015 21:22:17 +0000 (22:22 +0100)]
junctions should not appear as roads in addresses

fixes #228

9 years agouse _st_intersects when dealing with countries, it does not use index
Sarah Hoffmann [Wed, 28 Jan 2015 20:40:08 +0000 (21:40 +0100)]
use _st_intersects when dealing with countries, it does not use index

9 years agoshow class instead of yes in html search output
Sarah Hoffmann [Tue, 27 Jan 2015 21:22:26 +0000 (22:22 +0100)]
show class instead of yes in html search output

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 26 Jan 2015 22:47:56 +0000 (23:47 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoremove hack for fixing adminitrative typo
Sarah Hoffmann [Mon, 26 Jan 2015 21:33:56 +0000 (22:33 +0100)]
remove hack for fixing adminitrative typo

9 years agodetails view: use class name if type is yes
Sarah Hoffmann [Mon, 26 Jan 2015 21:24:16 +0000 (22:24 +0100)]
details view: use class name if type is yes

fixes #209

9 years agodon't use tokens from country parameter in address field of searches
Sarah Hoffmann [Mon, 26 Jan 2015 20:59:36 +0000 (21:59 +0100)]
don't use tokens from country parameter in address field of searches

fixes #218

9 years agoneed phrase types in getGroupedSearches
Sarah Hoffmann [Mon, 26 Jan 2015 20:34:21 +0000 (21:34 +0100)]
need phrase types in getGroupedSearches

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 26 Jan 2015 08:39:56 +0000 (09:39 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge remote-tracking branch 'lonvia/inverse-query-II'
Sarah Hoffmann [Fri, 23 Jan 2015 15:46:50 +0000 (16:46 +0100)]
Merge remote-tracking branch 'lonvia/inverse-query-II'

9 years agocatch http requests with full url
Sarah Hoffmann [Fri, 23 Jan 2015 09:19:06 +0000 (10:19 +0100)]
catch http requests with full url

9 years agoswitch to enhanced osm2pgsql C++ version
Sarah Hoffmann [Fri, 23 Jan 2015 07:13:11 +0000 (08:13 +0100)]
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.

9 years agoadapt API tests to latest data
Sarah Hoffmann [Wed, 21 Jan 2015 23:06:44 +0000 (00:06 +0100)]
adapt API tests to latest data

9 years agoMerge remote-tracking branch 'lonvia/inverse-query-II'
Sarah Hoffmann [Wed, 21 Jan 2015 21:45:48 +0000 (22:45 +0100)]
Merge remote-tracking branch 'lonvia/inverse-query-II'

9 years agofully evaluate reverse order of queries
Sarah Hoffmann [Thu, 30 Oct 2014 22:00:47 +0000 (23:00 +0100)]
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.

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 20 Jan 2015 21:08:32 +0000 (22:08 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agotablespace definition belongs before the where clause
Sarah Hoffmann [Tue, 20 Jan 2015 19:45:16 +0000 (20:45 +0100)]
tablespace definition belongs before the where clause

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 18 Jan 2015 20:22:14 +0000 (21:22 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoremove unused functions
Sarah Hoffmann [Fri, 16 Jan 2015 20:36:35 +0000 (21:36 +0100)]
remove unused functions

9 years agofinish osm2pgsql tag tests
Sarah Hoffmann [Wed, 14 Jan 2015 22:13:38 +0000 (23:13 +0100)]
finish osm2pgsql tag tests

9 years agomore osm2pgsql tag tests
Sarah Hoffmann [Tue, 13 Jan 2015 21:16:00 +0000 (22:16 +0100)]
more osm2pgsql tag tests

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 11 Jan 2015 14:40:37 +0000 (15:40 +0100)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
sql/tiger_import_finish.sql

9 years agosupport tablespaces and www user config in tiger import
Sarah Hoffmann [Sun, 11 Jan 2015 12:44:39 +0000 (13:44 +0100)]
support tablespaces and www user config in tiger import

9 years agotests for name import in osm2pgsql
Sarah Hoffmann [Fri, 9 Jan 2015 22:17:17 +0000 (23:17 +0100)]
tests for name import in osm2pgsql

9 years agoproperly close connection in test
Sarah Hoffmann [Fri, 9 Jan 2015 22:16:53 +0000 (23:16 +0100)]
properly close connection in test

9 years agoreuse template db for tests by default
Sarah Hoffmann [Fri, 9 Jan 2015 22:16:31 +0000 (23:16 +0100)]
reuse template db for tests by default

9 years agobe more restrictive with sql select when computing linked waterways
Sarah Hoffmann [Tue, 30 Dec 2014 21:55:24 +0000 (22:55 +0100)]
be more restrictive with sql select when computing linked waterways

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 28 Dec 2014 22:11:57 +0000 (23:11 +0100)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
utils/specialphrases.php

9 years agosupport tablespaces for special phrase table
Sarah Hoffmann [Sun, 28 Dec 2014 22:10:10 +0000 (23:10 +0100)]
support tablespaces for special phrase table

9 years agoadd underscore back to derelict canal
Sarah Hoffmann [Sat, 20 Dec 2014 13:55:08 +0000 (14:55 +0100)]
add underscore back to derelict canal

fixes #212 (again)

9 years agoremove duplicate derelict canal
Sarah Hoffmann [Fri, 19 Dec 2014 23:02:26 +0000 (00:02 +0100)]
remove duplicate derelict canal

fixes #212

9 years agoadd hint about osm2pgsql submodule
Sarah Hoffmann [Fri, 19 Dec 2014 22:44:54 +0000 (23:44 +0100)]
add hint about osm2pgsql submodule

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 19 Dec 2014 19:20:35 +0000 (20:20 +0100)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
sql/indices.src.sql
sql/partition-tables.src.sql
sql/tables.sql
utils/setup.php

9 years agoignore badly formatted log lines
Sarah Hoffmann [Tue, 16 Dec 2014 12:20:59 +0000 (13:20 +0100)]
ignore badly formatted log lines

9 years agoignore encoding errors when reading log files
Sarah Hoffmann [Tue, 16 Dec 2014 08:18:36 +0000 (09:18 +0100)]
ignore encoding errors when reading log files

9 years agofix labels of average graphs
Sarah Hoffmann [Mon, 15 Dec 2014 22:05:45 +0000 (23:05 +0100)]
fix labels of average graphs

9 years agoforce utf-8 encoding when reading logfile
Sarah Hoffmann [Mon, 15 Dec 2014 21:56:45 +0000 (22:56 +0100)]
force utf-8 encoding when reading logfile

9 years agoadd munin scripts that use the query logs
Sarah Hoffmann [Mon, 15 Dec 2014 19:21:03 +0000 (20:21 +0100)]
add munin scripts that use the query logs

9 years agoswitch query log from CSV to simple space-separated format
Sarah Hoffmann [Sat, 13 Dec 2014 21:25:49 +0000 (22:25 +0100)]
switch query log from CSV to simple space-separated format

log query duration instead of endtime, more useful

9 years agosort block map before computing munin stats
Sarah Hoffmann [Fri, 12 Dec 2014 23:22:53 +0000 (00:22 +0100)]
sort block map before computing munin stats

9 years agostrip query log to minimum info not available in apache logs
Sarah Hoffmann [Fri, 12 Dec 2014 22:13:44 +0000 (23:13 +0100)]
strip query log to minimum info not available in apache logs

9 years agoreplace slow strptime with regex, fix typos
Sarah Hoffmann [Fri, 12 Dec 2014 21:56:42 +0000 (22:56 +0100)]
replace slow strptime with regex, fix typos

9 years agoscript for scraper blocking using apache log files
Sarah Hoffmann [Thu, 11 Dec 2014 23:01:30 +0000 (00:01 +0100)]
script for scraper blocking using apache log files

9 years agoreorganise table creation
Sarah Hoffmann [Thu, 27 Nov 2014 20:54:09 +0000 (21:54 +0100)]
reorganise table creation

- remove unused tables
- make apache user configurable
- introduce configurable tablespaces

9 years agoremove debug output
Sarah Hoffmann [Fri, 28 Nov 2014 21:16:56 +0000 (22:16 +0100)]
remove debug output

9 years agomore tolerant regexp for parsing replication state directories
Sarah Hoffmann [Thu, 27 Nov 2014 21:23:04 +0000 (22:23 +0100)]
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.

9 years agoadd combined file query logging
Sarah Hoffmann [Sat, 15 Nov 2014 21:53:55 +0000 (22:53 +0100)]
add combined file query logging

9 years agofix address interpolation for self-intersecting ways
Sarah Hoffmann [Mon, 3 Nov 2014 21:41:12 +0000 (22:41 +0100)]
fix address interpolation for self-intersecting ways

9 years agotransliterate precomputed house numbers
Sarah Hoffmann [Sun, 2 Nov 2014 18:06:01 +0000 (19:06 +0100)]
transliterate precomputed house numbers

9 years agoonly check for postgres major and minor version
Sarah Hoffmann [Wed, 29 Oct 2014 20:04:28 +0000 (21:04 +0100)]
only check for postgres major and minor version

fixes #192

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 29 Oct 2014 20:03:03 +0000 (21:03 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agouse unique function name for test step
Sarah Hoffmann [Wed, 29 Oct 2014 19:37:56 +0000 (20:37 +0100)]
use unique function name for test step

9 years agoadd regression test
Marc Tobias Metten [Tue, 28 Oct 2014 14:40:01 +0000 (15:40 +0100)]
add regression test

9 years agofor PlaceLookup if we look for nodes then the centroid does not exist in the placex...
Marc Tobias Metten [Tue, 28 Oct 2014 13:27:40 +0000 (14:27 +0100)]
for PlaceLookup if we look for nodes then the centroid does not exist in the placex table

9 years agofix typo in osm test file generator
Sarah Hoffmann [Sun, 19 Oct 2014 22:02:29 +0000 (00:02 +0200)]
fix typo in osm test file generator

9 years agofix warning about missing HTTP_USER_AGENT
Sarah Hoffmann [Wed, 15 Oct 2014 22:37:42 +0000 (00:37 +0200)]
fix warning about missing HTTP_USER_AGENT

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 15 Oct 2014 22:35:33 +0000 (00:35 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoPATH_INFO is delivered URL encoded on newer apache 2.4
Sarah Hoffmann [Wed, 15 Oct 2014 22:33:56 +0000 (00:33 +0200)]
PATH_INFO is delivered URL encoded on newer apache 2.4

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 9 Oct 2014 19:06:35 +0000 (21:06 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoadapt API tests to latest OSM data changes
Sarah Hoffmann [Thu, 9 Oct 2014 19:04:16 +0000 (21:04 +0200)]
adapt API tests to latest OSM data changes

9 years agoremove all unidentified large areas from addresses
Sarah Hoffmann [Wed, 8 Oct 2014 21:33:46 +0000 (23:33 +0200)]
remove all unidentified large areas from addresses

9 years agorespect bounded in country searches
Sarah Hoffmann [Wed, 8 Oct 2014 21:31:33 +0000 (23:31 +0200)]
respect bounded in country searches

fixes trac 5238

9 years agoremove most landuses from addresses
Sarah Hoffmann [Wed, 8 Oct 2014 18:47:32 +0000 (20:47 +0200)]
remove most landuses from addresses

9 years agoreintroduce index on gb_postcode
Sarah Hoffmann [Wed, 8 Oct 2014 18:43:19 +0000 (20:43 +0200)]
reintroduce index on gb_postcode

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 8 Oct 2014 18:36:40 +0000 (20:36 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 5 Oct 2014 20:16:43 +0000 (22:16 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agorewrite address interpolation so that planet_osm_node is not needed
Sarah Hoffmann [Fri, 3 Oct 2014 19:55:18 +0000 (21:55 +0200)]
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

9 years agoofficially drop support for postgres 8.4
Sarah Hoffmann [Sat, 4 Oct 2014 20:50:04 +0000 (22:50 +0200)]
officially drop support for postgres 8.4

9 years agobump development version to 2.4
Sarah Hoffmann [Sat, 4 Oct 2014 20:20:40 +0000 (22:20 +0200)]
bump development version to 2.4

9 years agoprepare next release v2.3.0
Sarah Hoffmann [Fri, 3 Oct 2014 20:48:39 +0000 (22:48 +0200)]
prepare next release

9 years agoadd finished message to setup.php
Sarah Hoffmann [Mon, 29 Sep 2014 17:31:37 +0000 (19:31 +0200)]
add finished message to setup.php

9 years agoexperimental tweaking of ranks of searches
Sarah Hoffmann [Thu, 1 May 2014 15:53:13 +0000 (17:53 +0200)]
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

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 24 Sep 2014 21:22:53 +0000 (23:22 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoupdate osm2pgsql (protobuf lib)
Sarah Hoffmann [Wed, 24 Sep 2014 21:19:20 +0000 (23:19 +0200)]
update osm2pgsql (protobuf lib)

fixes #175

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 24 Sep 2014 20:14:34 +0000 (22:14 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agomove looksLikeLatLonPair into lib.php, basic PHP test suite using phpunit
Marc Tobias Metten [Tue, 23 Sep 2014 20:53:20 +0000 (22:53 +0200)]
move looksLikeLatLonPair into lib.php, basic PHP test suite using phpunit