]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
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 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 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 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 agoupdate osm2pgsql (waterways)
Sarah Hoffmann [Mon, 5 May 2014 19:40:07 +0000 (21:40 +0200)]
update osm2pgsql (waterways)

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

10 years agoremove New York hack
Sarah Hoffmann [Wed, 30 Apr 2014 19:11:23 +0000 (21:11 +0200)]
remove New York hack

Seems to work okay with current boundaries.

10 years agotake viewbox into account for final result ranking
Sarah Hoffmann [Wed, 30 Apr 2014 19:04:46 +0000 (21:04 +0200)]
take viewbox into account for final result ranking

fixes #12

10 years agoaddress inheritance from buildings to pois
Sarah Hoffmann [Wed, 30 Apr 2014 18:05:59 +0000 (20:05 +0200)]
address inheritance from buildings to pois

POI nodes inherit the address tags from surrounding buildings
if they do not have an address of their own.

10 years agofix addr:place lookup
Sarah Hoffmann [Mon, 28 Apr 2014 19:52:24 +0000 (21:52 +0200)]
fix addr:place lookup

10 years agoavoid unnamed streets in associated street relations
Sarah Hoffmann [Mon, 28 Apr 2014 18:27:09 +0000 (20:27 +0200)]
avoid unnamed streets in associated street relations

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

10 years agohandle duplicate word entries correctly when looking for nearest street
Sarah Hoffmann [Mon, 28 Apr 2014 18:01:44 +0000 (20:01 +0200)]
handle duplicate word entries correctly when looking for nearest street

10 years agoassign rank of sea and coastline before area catchall
Sarah Hoffmann [Mon, 28 Apr 2014 14:45:55 +0000 (16:45 +0200)]
assign rank of sea and coastline before area catchall

10 years agofix copying of extratags from linked places
Sarah Hoffmann [Wed, 23 Apr 2014 19:27:55 +0000 (21:27 +0200)]
fix copying of extratags from linked places

Didn't work correctly when the extratags of the parent relation
was null.

10 years agoinvalidate object itself in place_force_update()
Sarah Hoffmann [Mon, 21 Apr 2014 19:41:17 +0000 (21:41 +0200)]
invalidate object itself in place_force_update()

10 years agocorrect start time computation
Sarah Hoffmann [Mon, 21 Apr 2014 19:12:14 +0000 (21:12 +0200)]
correct start time computation

fixes #125

10 years agomake errors from psql in setup fatal
Sarah Hoffmann [Sat, 12 Apr 2014 11:16:30 +0000 (13:16 +0200)]
make errors from psql in setup fatal

10 years agomake HTML validator happy with details page
Sarah Hoffmann [Sat, 12 Apr 2014 18:12:23 +0000 (20:12 +0200)]
make HTML validator happy with details page

10 years agosuppress recursive updates for places that cannot appear in addresses
Sarah Hoffmann [Fri, 11 Apr 2014 20:57:00 +0000 (22:57 +0200)]
suppress recursive updates for places that cannot appear in addresses

10 years agogive waterways an address but remove them from being part of an address
Sarah Hoffmann [Fri, 11 Apr 2014 20:27:17 +0000 (22:27 +0200)]
give waterways an address but remove them from being part of an address

10 years agoallow deletion of large areas of high rank
Sarah Hoffmann [Fri, 11 Apr 2014 20:28:07 +0000 (22:28 +0200)]
allow deletion of large areas of high rank

10 years agoforce countries into partitions as determined by country code
Sarah Hoffmann [Thu, 10 Apr 2014 20:55:49 +0000 (22:55 +0200)]
force countries into partitions as determined by country code

Avoids to a certain extent propagation of misassignment of
partitions when a country is expanded so far into another
that the centroid ends up in this other country.

10 years agohandle multiple results from gb_postcode table
Sarah Hoffmann [Thu, 24 Oct 2013 19:38:07 +0000 (21:38 +0200)]
handle multiple results from gb_postcode table

10 years agoremove special handling for place tag values that have fallen out of use
Sarah Hoffmann [Sat, 29 Mar 2014 00:16:08 +0000 (01:16 +0100)]
remove special handling for place tag values that have fallen out of use

10 years agotruely ignore country codes provided via tags
Sarah Hoffmann [Tue, 25 Mar 2014 22:52:07 +0000 (23:52 +0100)]
truely ignore country codes provided via tags

10 years agoupdate ref for postcode boundaries
Sarah Hoffmann [Mon, 24 Mar 2014 12:01:20 +0000 (13:01 +0100)]
update ref for postcode boundaries

Fixes https://trac.openstreetmap.org/ticket/5140

10 years agoprefer street results when doing house number search
Sarah Hoffmann [Thu, 13 Mar 2014 19:34:31 +0000 (20:34 +0100)]
prefer street results when doing house number search

This is an experimental fix for #119.

10 years agoallow US state name abbreviations at beginning of search term
Sarah Hoffmann [Mon, 10 Mar 2014 23:32:54 +0000 (00:32 +0100)]
allow US state name abbreviations at beginning of search term

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

10 years agoforgot the actual query script
Sarah Hoffmann [Mon, 3 Mar 2014 20:48:17 +0000 (21:48 +0100)]
forgot the actual query script

10 years agoignore more autoconf files
Sarah Hoffmann [Mon, 3 Mar 2014 19:00:54 +0000 (20:00 +0100)]
ignore more autoconf files

10 years agointroduce util function to query db from command line
Sarah Hoffmann [Thu, 27 Feb 2014 22:48:12 +0000 (23:48 +0100)]
introduce util function to query db from command line

10 years agoalways return bbox ccordinates as string
Sarah Hoffmann [Sun, 2 Mar 2014 16:52:09 +0000 (17:52 +0100)]
always return bbox ccordinates as string

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

10 years agoupdate change log and authors for pending release v2.2.0
Sarah Hoffmann [Sat, 22 Feb 2014 13:42:54 +0000 (14:42 +0100)]
update change log and authors for pending release

10 years agosplit gb_postcode in table creation and data loading
Sarah Hoffmann [Fri, 21 Feb 2014 22:07:41 +0000 (23:07 +0100)]
split gb_postcode in table creation and data loading

Data for gb_postcode now needs to be downloaded first.
Also fixes table creation for postgis 2.0.

10 years agomake website work with https without browser complaints
Sarah Hoffmann [Thu, 20 Feb 2014 18:46:41 +0000 (19:46 +0100)]
make website work with https without browser complaints

10 years agoallow to pass an additional config file via NOMINATIM_SETTINGS variable to command...
Sarah Hoffmann [Sat, 15 Feb 2014 17:49:05 +0000 (18:49 +0100)]
allow to pass an additional config file via NOMINATIM_SETTINGS variable to command line tools

needed for test environment

10 years agoupdate osm2pgsql
Sarah Hoffmann [Thu, 13 Feb 2014 19:50:40 +0000 (20:50 +0100)]
update osm2pgsql

10 years agoremove landuses if the name is removed
Sarah Hoffmann [Sun, 9 Feb 2014 07:31:07 +0000 (08:31 +0100)]
remove landuses if the name is removed

Fixes https://trac.openstreetmap.org/ticket/5104

10 years agorestrict admin_level change detection to boundary=administrative
Sarah Hoffmann [Sat, 8 Feb 2014 18:23:06 +0000 (19:23 +0100)]
restrict admin_level change detection to boundary=administrative

10 years agorecreate place objects when admin_level changes
Sarah Hoffmann [Fri, 7 Feb 2014 22:37:54 +0000 (23:37 +0100)]
recreate place objects when admin_level changes

Also added a sanity check to ensure that accidental removal of admin_level
tags on large areas doesn't cause huge reindexing load. That can be disabled
by setting CONST_Limit_Reindexing to false.

10 years agofix syntax of route linestring
Sarah Hoffmann [Fri, 7 Feb 2014 20:31:26 +0000 (21:31 +0100)]
fix syntax of route linestring

10 years agoreplace ST_Line_Interpolate_Point with ST_LineInterpolatePoint (DB adaption needed)
Sarah Hoffmann [Thu, 6 Feb 2014 07:04:42 +0000 (08:04 +0100)]
replace ST_Line_Interpolate_Point with ST_LineInterpolatePoint (DB adaption needed)

Name of function was changed in postgis 2.1 and now prints ugly
deprecation warnings. For older versions of postgis, function
will be renamed to the new name during the setup of the DB.

To update existing databases with postgis < 2.1 run:

ALTER FUNCTION st_line_interpolate_point(geometry, double precision) RENAME TO ST_LineInterpolatePoint

and then reinstall the SQL functions:

./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions

10 years agoScript to automatically warm the postgresql query before sending traffic
Brian Quinion [Thu, 6 Feb 2014 16:50:41 +0000 (16:50 +0000)]
Script to automatically warm the postgresql query before sending traffic

10 years agoinclude rank and importance in reverse geocode output
Brian Quinion [Thu, 6 Feb 2014 13:09:32 +0000 (13:09 +0000)]
include rank and importance in reverse geocode output

10 years agosurpress output of osm_type/id for non-OSM objects in reverse xml
Sarah Hoffmann [Wed, 5 Feb 2014 19:10:12 +0000 (20:10 +0100)]
surpress output of osm_type/id for non-OSM objects in reverse xml

10 years agocheck correct variable for SQL error
Sarah Hoffmann [Sat, 1 Feb 2014 14:51:40 +0000 (15:51 +0100)]
check correct variable for SQL error

10 years agoreturn a 500 error on bad status
Brian Quinion [Thu, 23 Jan 2014 16:48:20 +0000 (16:48 +0000)]
return a 500 error on bad status

10 years agoReturn 429 Too Many Requests for rate limiting
Brian Quinion [Thu, 23 Jan 2014 16:47:56 +0000 (16:47 +0000)]
Return 429 Too Many Requests for rate limiting

10 years agovalidate postgresql module / functions
Brian Quinion [Thu, 23 Jan 2014 16:06:43 +0000 (16:06 +0000)]
validate postgresql module / functions

10 years agoMerge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Thu, 23 Jan 2014 14:40:42 +0000 (14:40 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim

10 years agonominatim fallback mode for structured queries
Brian Quinion [Thu, 23 Jan 2014 14:40:37 +0000 (14:40 +0000)]
nominatim fallback mode for structured queries

10 years agoAdd some comments to help use munin plugin, add over limit detection
Rodolphe QuiƩdeville [Tue, 14 Jan 2014 22:50:22 +0000 (23:50 +0100)]
Add some comments to help use munin plugin, add over limit detection

10 years agomerge postcodes from address objects
Sarah Hoffmann [Sun, 15 Dec 2013 23:00:06 +0000 (00:00 +0100)]
merge postcodes from address objects

Take the postcode from the first address object that
has one tagged and use that as display postcode.

10 years agoenable indexed_status check for all
Sarah Hoffmann [Wed, 4 Dec 2013 07:07:38 +0000 (08:07 +0100)]
enable indexed_status check for all

10 years agofurther tweak secondary ordering of results
Sarah Hoffmann [Wed, 4 Dec 2013 06:53:53 +0000 (07:53 +0100)]
further tweak secondary ordering of results

 - make address importance work for house number onjects
 - add number of exact matches
 - add importance of class/type

11 years agomake classtype table update work when special schemas are used
Sarah Hoffmann [Sat, 23 Nov 2013 12:31:29 +0000 (13:31 +0100)]
make classtype table update work when special schemas are used

patch from https://trac.openstreetmap.org/ticket/5037

11 years agofix indentation
Sarah Hoffmann [Sat, 23 Nov 2013 12:14:42 +0000 (13:14 +0100)]
fix indentation

11 years agoexplain results for Geocode::lookup()
Sarah Hoffmann [Sat, 23 Nov 2013 11:43:28 +0000 (12:43 +0100)]
explain results for Geocode::lookup()

11 years agoConnect to the correct postgresql port from the settings.
Kurt Roeckx [Wed, 13 Nov 2013 21:24:10 +0000 (22:24 +0100)]
Connect to the correct postgresql port from the settings.

11 years agoavoid adding NULL tokens for frequent full names
Sarah Hoffmann [Wed, 30 Oct 2013 20:09:21 +0000 (21:09 +0100)]
avoid adding NULL tokens for frequent full names

11 years agoproperly quote quotes in type field
Sarah Hoffmann [Mon, 21 Oct 2013 16:26:45 +0000 (18:26 +0200)]
properly quote quotes in type field

11 years agodon't send blocked IPs to OSM's trac by default
Sarah Hoffmann [Fri, 18 Oct 2013 17:23:04 +0000 (19:23 +0200)]
don't send blocked IPs to OSM's trac by default

11 years agotake non-admin boundaries out of address computation
Sarah Hoffmann [Tue, 15 Oct 2013 19:10:46 +0000 (21:10 +0200)]
take non-admin boundaries out of address computation

fixes #90

11 years agouse postgis as an extension for versions >= 2.0
Sarah Hoffmann [Thu, 10 Oct 2013 21:10:18 +0000 (23:10 +0200)]
use postgis as an extension for versions >= 2.0

11 years agoMerge branch 'diffupdates' of https://github.com/IrlJidel/Nominatim
Sarah Hoffmann [Thu, 3 Oct 2013 20:22:50 +0000 (22:22 +0200)]
Merge branch 'diffupdates' of https://github.com/IrlJidel/Nominatim

11 years agohasn't been svn for a while
Sarah Hoffmann [Wed, 2 Oct 2013 17:03:13 +0000 (19:03 +0200)]
hasn't been svn for a while

11 years agodont include polling time for batch duration for non-minutely updates, log name of...
IrlJidel [Wed, 2 Oct 2013 09:53:21 +0000 (10:53 +0100)]
dont include polling time for batch duration for non-minutely updates, log name of each update step

11 years agooutput date of steps during import-osmosis
IrlJidel [Mon, 30 Sep 2013 12:44:50 +0000 (13:44 +0100)]
output date of steps during import-osmosis

11 years agoshow import_osmosis_log insert statements, print completed log after import_status...
IrlJidel [Mon, 30 Sep 2013 12:25:30 +0000 (13:25 +0100)]
show import_osmosis_log insert statements, print completed log after import_status inserts

11 years agoset start time for indexing step
IrlJidel [Mon, 30 Sep 2013 12:20:24 +0000 (13:20 +0100)]
set start time for indexing step

11 years agorevoke most of www-data's write rights
Sarah Hoffmann [Sun, 29 Sep 2013 15:22:21 +0000 (17:22 +0200)]
revoke most of www-data's write rights

11 years agoadded FIPS codes for 60xxx, 66xxx, 69xxx, 72xxx and 78xxx
Philippe [Fri, 27 Sep 2013 21:59:42 +0000 (17:59 -0400)]
added FIPS codes for 60xxx, 66xxx, 69xxx, 72xxx and 78xxx

11 years agonew development release 2.2
Sarah Hoffmann [Thu, 26 Sep 2013 19:19:29 +0000 (21:19 +0200)]
new development release 2.2

11 years agomake import-osmosis(-all) fail with error code!=0
Sarah Hoffmann [Wed, 25 Sep 2013 21:05:47 +0000 (23:05 +0200)]
make import-osmosis(-all) fail with error code!=0

11 years agomake html validator happy
Sarah Hoffmann [Wed, 25 Sep 2013 20:55:47 +0000 (22:55 +0200)]
make html validator happy

11 years agoupdate osm2pgsql (failing updates)
Sarah Hoffmann [Mon, 23 Sep 2013 18:51:44 +0000 (20:51 +0200)]
update osm2pgsql (failing updates)

11 years agoupdate authors and change log for pending release
Sarah Hoffmann [Mon, 23 Sep 2013 18:50:13 +0000 (20:50 +0200)]
update authors and change log for pending release

11 years agorestrict max admin_level when patching in tag changes into placex
Sarah Hoffmann [Thu, 19 Sep 2013 21:42:15 +0000 (23:42 +0200)]
restrict max admin_level when patching in tag changes into placex

11 years agomake sleep interval dependent on date of last batch
Sarah Hoffmann [Thu, 19 Sep 2013 20:56:55 +0000 (22:56 +0200)]
make sleep interval dependent on date of last batch

11 years agomove blocking of highway objects into osm2pgsql
Sarah Hoffmann [Thu, 19 Sep 2013 20:08:22 +0000 (22:08 +0200)]
move blocking of highway objects into osm2pgsql

11 years agoforce delete from place if there is no corresponding object in placex
Sarah Hoffmann [Tue, 17 Sep 2013 19:26:07 +0000 (21:26 +0200)]
force delete from place if there is no corresponding object in placex

This might happen for nameless landuse/natural objects that are added to place
during initial import but then dropped when being copied to placex.
If they later receive a name, thus becoming valid, then place_insert should
delete the orphan object in place and reinsert it. If they are large enough,
the place_delete trigger prevents them from being removed. The additional
update fools the delete trigger.

11 years agoRemove stray exit from debug
Brian Quinion [Thu, 19 Sep 2013 14:19:31 +0000 (15:19 +0100)]
Remove stray exit from debug

11 years agoSanity check on download.geofabrik.de update interval
Brian Quinion [Thu, 19 Sep 2013 11:22:29 +0000 (12:22 +0100)]
Sanity check on download.geofabrik.de update interval

11 years agouse object properties in loadStructuredAddressElement()
Sarah Hoffmann [Tue, 17 Sep 2013 16:33:44 +0000 (18:33 +0200)]
use object properties in loadStructuredAddressElement()