]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
10 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

10 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

10 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

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

10 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.

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

10 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

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

10 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

10 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'

10 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

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

10 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

10 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

10 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

10 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'

10 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

10 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'

10 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

10 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

10 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

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

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

10 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'

10 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'

10 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

10 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

10 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

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

10 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

10 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

10 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'

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

fixes #175

10 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'

10 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

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 21 Sep 2014 20:47:52 +0000 (22:47 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agofix adding of spaces in GB postcode
Sarah Hoffmann [Sun, 21 Sep 2014 20:44:06 +0000 (22:44 +0200)]
fix adding of spaces in GB postcode

Based on https://github.com/twain47/Nominatim/pull/180 by arunkmp.

10 years agofix typo in taginfo.json
Sarah Hoffmann [Fri, 19 Sep 2014 14:57:38 +0000 (16:57 +0200)]
fix typo in taginfo.json

Fixes https://github.com/twain47/Nominatim/issues/181

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 11 Sep 2014 18:43:38 +0000 (20:43 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agolower significance of postcodes in Singapure
Sarah Hoffmann [Thu, 11 Sep 2014 17:42:52 +0000 (19:42 +0200)]
lower significance of postcodes in Singapure

Postcodes with 6 digits designate delivery points, i.e. houses.

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 10 Sep 2014 19:47:52 +0000 (21:47 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agoupdate osm2pgsql (nameless landuses) and add tests for it
Sarah Hoffmann [Wed, 10 Sep 2014 18:55:17 +0000 (20:55 +0200)]
update osm2pgsql (nameless landuses) and add tests for it

10 years agofix running of DB tests via Makefile
Sarah Hoffmann [Wed, 10 Sep 2014 18:52:37 +0000 (20:52 +0200)]
fix running of DB tests via Makefile

Selecting tags for tests to run does not work when the tags are
on the features instead of the scenarios.

10 years agoremove special casing of houses and postcodes in place import
Sarah Hoffmann [Mon, 8 Sep 2014 20:27:24 +0000 (22:27 +0200)]
remove special casing of houses and postcodes in place import

10 years agochange default nominatim path for tests to obvious '..'
Sarah Hoffmann [Sun, 7 Sep 2014 18:11:21 +0000 (20:11 +0200)]
change default nominatim path for tests to obvious '..'

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 7 Sep 2014 16:02:39 +0000 (18:02 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
sql/indices.src.sql

10 years agoMerge commit '8c7f8165bdb611f48c0ae63f9318c8490138ffea'
Sarah Hoffmann [Sun, 7 Sep 2014 15:48:01 +0000 (17:48 +0200)]
Merge commit '8c7f8165bdb611f48c0ae63f9318c8490138ffea'

10 years agoadd simplified geometry index for reverse queries
Sarah Hoffmann [Sun, 7 Sep 2014 15:17:49 +0000 (17:17 +0200)]
add simplified geometry index for reverse queries

10 years agoupdate osm2pgsql (empty waterways)
Sarah Hoffmann [Sun, 7 Sep 2014 15:13:25 +0000 (17:13 +0200)]
update osm2pgsql (empty waterways)

fixes #153

10 years agoadd functional tests
Sarah Hoffmann [Sun, 7 Sep 2014 15:02:10 +0000 (17:02 +0200)]
add functional tests

These are the tests that were formerly located at
https://github.com/lonvia/test-nominatim

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 3 Sep 2014 19:10:14 +0000 (21:10 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agofix coordinate order for route parameter
Sarah Hoffmann [Wed, 3 Sep 2014 19:08:26 +0000 (21:08 +0200)]
fix coordinate order for route parameter

fixes #174

10 years agoapply rank restrictions already when scanning search_name table
Sarah Hoffmann [Wed, 3 Sep 2014 19:00:37 +0000 (21:00 +0200)]
apply rank restrictions already when scanning search_name table

fixes #176

10 years agoexperimental ordering of searches within same rank
Sarah Hoffmann [Thu, 1 May 2014 08:34:42 +0000 (10:34 +0200)]
experimental ordering of searches within same rank

giving preference to those without operator and housenumber

10 years agodisable unused function get_coonected_ways()
Sarah Hoffmann [Fri, 29 Aug 2014 20:04:12 +0000 (22:04 +0200)]
disable unused function get_coonected_ways()

interferes with testing because of a reverse dependency on planet_osm_ways

10 years agoadd experimental tag usage description for taginfo
Sarah Hoffmann [Mon, 25 Aug 2014 20:33:38 +0000 (22:33 +0200)]
add experimental tag usage description for taginfo

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sat, 23 Aug 2014 20:25:19 +0000 (22:25 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agoAdd aeroway as alias for airport
Brian Quinion [Fri, 22 Aug 2014 13:11:01 +0000 (14:11 +0100)]
Add aeroway as alias for airport

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 17 Aug 2014 20:41:12 +0000 (22:41 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agosupport colon in wikipedia article names
Sarah Hoffmann [Sun, 17 Aug 2014 20:31:18 +0000 (22:31 +0200)]
support colon in wikipedia article names

fixes #172

10 years agomove logs back to spinning disk
Sarah Hoffmann [Mon, 21 Jul 2014 22:28:59 +0000 (00:28 +0200)]
move logs back to spinning disk

10 years agoincrease cache for osm2pgsql
Sarah Hoffmann [Mon, 21 Jul 2014 22:27:20 +0000 (00:27 +0200)]
increase cache for osm2pgsql

10 years agoconsider side_streams as part of waterways if they have the same name
Sarah Hoffmann [Mon, 21 Jul 2014 21:11:28 +0000 (23:11 +0200)]
consider side_streams as part of waterways if they have the same name

fixes #155

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 21 Jul 2014 20:53:45 +0000 (22:53 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agofix member lookup in empty waterway relations
Sarah Hoffmann [Sun, 6 Jul 2014 21:15:53 +0000 (23:15 +0200)]
fix member lookup in empty waterway relations

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 6 Jul 2014 21:00:19 +0000 (23:00 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agogo through entire member list when checking waterway relations
Sarah Hoffmann [Sun, 6 Jul 2014 19:23:11 +0000 (21:23 +0200)]
go through entire member list when checking waterway relations

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 6 Jul 2014 19:05:16 +0000 (21:05 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agoMake deduplicate work again. Only currently support 9.3 due to new postgresql functi...
Brian Quinion [Mon, 30 Jun 2014 16:49:24 +0000 (17:49 +0100)]
Make deduplicate work again.  Only currently support 9.3 due to new postgresql functions added.

10 years agoupdate tiger import for changes to functions.sql
Brian Quinion [Thu, 26 Jun 2014 16:12:39 +0000 (17:12 +0100)]
update tiger import for changes to functions.sql

10 years agorevert accidental osm2pgsql version downgrade
Sarah Hoffmann [Thu, 5 Jun 2014 20:37:58 +0000 (22:37 +0200)]
revert accidental osm2pgsql version downgrade

10 years agorevert error checking on pgsql restore
Sarah Hoffmann [Thu, 5 Jun 2014 20:31:59 +0000 (22:31 +0200)]
revert error checking on pgsql restore

wikipedia dumps create expected errors on restore, fixes #142

10 years agoinherit postcode from street to poi
Sarah Hoffmann [Mon, 26 May 2014 20:42:03 +0000 (22:42 +0200)]
inherit postcode from street to poi

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 26 May 2014 20:24:54 +0000 (22:24 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agoreturn with non-zero exit code on error
Sarah Hoffmann [Sun, 18 May 2014 20:58:58 +0000 (22:58 +0200)]
return with non-zero exit code on error

10 years agoupdate osm2pgsql (waterway multiline geometries)
Sarah Hoffmann [Sun, 18 May 2014 19:51:26 +0000 (21:51 +0200)]
update osm2pgsql (waterway multiline geometries)

10 years agoomit places with zero address rank from address lookup tables
Sarah Hoffmann [Sun, 18 May 2014 19:45:29 +0000 (21:45 +0200)]
omit places with zero address rank from address lookup tables

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 18 May 2014 19:42:45 +0000 (21:42 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agoMerge branch 'place-in-addressdetails' of https://github.com/lonvia/Nominatim
Sarah Hoffmann [Fri, 16 May 2014 09:23:05 +0000 (11:23 +0200)]
Merge branch 'place-in-addressdetails' of https://github.com/lonvia/Nominatim

10 years agoadd setup option to ignore SQL errors
Sarah Hoffmann [Tue, 13 May 2014 21:23:31 +0000 (23:23 +0200)]
add setup option to ignore SQL errors

needed when restoring partial backups

10 years agobreak out of write loop when psql fails
Sarah Hoffmann [Tue, 13 May 2014 21:17:05 +0000 (23:17 +0200)]
break out of write loop when psql fails

fixes hanging in --create-functions

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sat, 10 May 2014 17:42:35 +0000 (19:42 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agonormalize house numbers in placex when searching
Sarah Hoffmann [Sat, 10 May 2014 17:41:11 +0000 (19:41 +0200)]
normalize house numbers in placex when searching

10 years agolink waterway relations against contained ways
Sarah Hoffmann [Wed, 7 May 2014 20:46:23 +0000 (22:46 +0200)]
link waterway relations against contained ways

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 7 May 2014 20:33:21 +0000 (22:33 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 5 May 2014 20:48:28 +0000 (22:48 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agoupdate osm2pgsql (waterways)
Sarah Hoffmann [Mon, 5 May 2014 19:40:07 +0000 (21:40 +0200)]
update osm2pgsql (waterways)

10 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

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 1 May 2014 13:39:50 +0000 (15:39 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agofix PHP warnings about undefined variables
Sarah Hoffmann [Thu, 1 May 2014 13:38:31 +0000 (15:38 +0200)]
fix PHP warnings about undefined variables

10 years agogive slight preference to full-word matches when reranking
Sarah Hoffmann [Thu, 1 May 2014 13:19:24 +0000 (15:19 +0200)]
give slight preference to full-word matches when reranking

fixes https://trac.openstreetmap.org/ticket/5094

10 years agoremove some dead code
Sarah Hoffmann [Thu, 1 May 2014 12:21:57 +0000 (14:21 +0200)]
remove some dead code

10 years agodon't enlarge viewbox when bounded is requested
Sarah Hoffmann [Thu, 1 May 2014 12:20:23 +0000 (14:20 +0200)]
don't enlarge viewbox when bounded is requested

10 years agoexperimental ordering of searches within same rank
Sarah Hoffmann [Thu, 1 May 2014 08:34:42 +0000 (10:34 +0200)]
experimental ordering of searches within same rank

giving preference to those without operator and housenumber

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 1 May 2014 07:26:07 +0000 (09:26 +0200)]
Merge remote-tracking branch 'upstream/master'

10 years agofix formatting
Sarah Hoffmann [Thu, 1 May 2014 07:25:06 +0000 (09:25 +0200)]
fix formatting

10 years agosanity check of house number format
Sarah Hoffmann [Thu, 1 May 2014 07:18:10 +0000 (09:18 +0200)]
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.

10 years agoadd penalty for special term searches
Sarah Hoffmann [Thu, 1 May 2014 07:16:03 +0000 (09:16 +0200)]
add penalty for special term searches

abbreviations for some of the terms are too easily matched against
common address terms like 'street'

10 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 30 Apr 2014 22:11:21 +0000 (00:11 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
lib/Geocode.php

10 years agoprefer place tag for address details
Sarah Hoffmann [Wed, 30 Apr 2014 21:31:28 +0000 (23:31 +0200)]
prefer place tag for address details