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

11 years agomove country to end of structured query
Sarah Hoffmann [Mon, 16 Sep 2013 22:22:08 +0000 (00:22 +0200)]
move country to end of structured query

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

11 years agoreenable reverse order queries, leave disabled for structured queries
Sarah Hoffmann [Sun, 15 Sep 2013 22:05:26 +0000 (00:05 +0200)]
reenable reverse order queries, leave disabled for structured queries

11 years agoallow osm2pgsql cache memory to be set for updates
Sarah Hoffmann [Sun, 15 Sep 2013 21:10:26 +0000 (23:10 +0200)]
allow osm2pgsql cache memory to be set for updates

11 years agoallow setup without partitions
Sarah Hoffmann [Sat, 13 Jul 2013 19:38:09 +0000 (21:38 +0200)]
allow setup without partitions

11 years agoFix missed local variable aAddressRankList in conversion
Brian Quinion [Fri, 13 Sep 2013 16:45:23 +0000 (17:45 +0100)]
Fix missed local variable aAddressRankList in conversion

11 years agoLimit wordset combination explosion to 120 variants (1x2x3x4x5)
Brian Quinion [Fri, 13 Sep 2013 13:24:16 +0000 (14:24 +0100)]
Limit wordset combination explosion to 120 variants (1x2x3x4x5)

11 years agofix structured and batch mode. Add constant to disable batch mode by default
Brian Quinion [Thu, 12 Sep 2013 15:16:00 +0000 (16:16 +0100)]
fix structured and batch mode.  Add constant to disable batch mode by default

11 years agouse object properties in getDetails()
Sarah Hoffmann [Tue, 10 Sep 2013 18:10:53 +0000 (20:10 +0200)]
use object properties in getDetails()

11 years agoimprove admin type labels
Brian Quinion [Mon, 9 Sep 2013 15:18:40 +0000 (16:18 +0100)]
improve admin type labels

11 years agoadd a json output format for hierarchy
Brian Quinion [Mon, 9 Sep 2013 14:55:30 +0000 (15:55 +0100)]
add a json output format for hierarchy

11 years agoreplace '_' and ' ' when matching wikipedia article names
Brian Quinion [Mon, 9 Sep 2013 13:10:09 +0000 (14:10 +0100)]
replace '_' and ' ' when matching wikipedia article names

11 years agoTest code for creating osm breadcrumbs and hierarchy
Brian Quinion [Mon, 9 Sep 2013 13:09:28 +0000 (14:09 +0100)]
Test code for creating osm breadcrumbs and hierarchy

11 years agoonly places that are part of the address should be used as a parent
Brian Quinion [Mon, 9 Sep 2013 13:06:57 +0000 (14:06 +0100)]
only places that are part of the address should be used as a parent

11 years agoMerge branch 'osmosis_error_return' of https://github.com/woodpeck/Nominatim
Sarah Hoffmann [Mon, 9 Sep 2013 11:46:59 +0000 (13:46 +0200)]
Merge branch 'osmosis_error_return' of https://github.com/woodpeck/Nominatim

11 years agoMerge branch 'master' of https://github.com/spin0us/Nominatim
Sarah Hoffmann [Mon, 9 Sep 2013 11:45:41 +0000 (13:45 +0200)]
Merge branch 'master' of https://github.com/spin0us/Nominatim

11 years agomake missing osmosis non-fatal for 'all' option - just skip it
Brian Quinion [Fri, 6 Sep 2013 09:58:48 +0000 (10:58 +0100)]
make missing osmosis non-fatal for 'all' option - just skip it

11 years agodownload and merge wikipedia access logs
Brian Quinion [Fri, 6 Sep 2013 09:52:55 +0000 (10:52 +0100)]
download and merge wikipedia access logs

11 years agocode for importing values from wikidata
Brian Quinion [Fri, 6 Sep 2013 09:33:53 +0000 (10:33 +0100)]
code for importing values from wikidata

11 years agoscript to compare to nominatim instances
Brian Quinion [Tue, 3 Sep 2013 14:01:42 +0000 (15:01 +0100)]
script to compare to nominatim instances

11 years agoerrors in structured queries
Brian Quinion [Mon, 2 Sep 2013 16:23:31 +0000 (17:23 +0100)]
errors in structured queries

11 years agoXML and JSON map 'ploygon' param to AsPoints
Brian Quinion [Mon, 2 Sep 2013 15:44:40 +0000 (16:44 +0100)]
XML and JSON map 'ploygon' param to AsPoints

11 years agoTest for polygon param correctly
Brian Quinion [Mon, 2 Sep 2013 13:10:00 +0000 (14:10 +0100)]
Test for polygon param correctly

11 years agoFail clean for place lookups for null/invalid place_ids
Brian Quinion [Fri, 30 Aug 2013 13:21:01 +0000 (14:21 +0100)]
Fail clean for place lookups for null/invalid place_ids

11 years agoAllow for reverse geocode returning no results
Brian Quinion [Fri, 30 Aug 2013 12:13:21 +0000 (13:13 +0100)]
Allow for reverse geocode returning no results

11 years agofix viewbox issues
Brian Quinion [Fri, 30 Aug 2013 12:04:33 +0000 (13:04 +0100)]
fix viewbox issues

11 years agoFix for regressions: broken bounded search, error on country codes
Brian Quinion [Fri, 30 Aug 2013 11:18:57 +0000 (12:18 +0100)]
Fix for regressions: broken bounded search, error on country codes

11 years agobatch mode for json only
Brian Quinion [Wed, 28 Aug 2013 13:58:50 +0000 (14:58 +0100)]
batch mode for json only

11 years agoUse correct value for html ploygons
Brian Quinion [Wed, 28 Aug 2013 12:42:05 +0000 (13:42 +0100)]
Use correct value for html ploygons

11 years agomove more code into library
Brian Quinion [Tue, 27 Aug 2013 16:21:20 +0000 (17:21 +0100)]
move more code into library

11 years agoFirst run at turning search into a library
Brian Quinion [Tue, 27 Aug 2013 16:08:57 +0000 (17:08 +0100)]
First run at turning search into a library

11 years agorefector reverse geocoding into its own class
Brian Quinion [Wed, 10 Jul 2013 14:14:17 +0000 (15:14 +0100)]
refector reverse geocoding into its own class

11 years agore-run osmosis also on return codes other than 1
Frederik Ramm [Fri, 30 Aug 2013 08:42:21 +0000 (10:42 +0200)]
re-run osmosis also on return codes other than 1

11 years agoupdate osm2pgsql (excluding certain *=yes tags)
Sarah Hoffmann [Wed, 14 Aug 2013 17:54:30 +0000 (19:54 +0200)]
update osm2pgsql (excluding certain *=yes tags)

11 years agoUpdate update.php
Spin0us [Wed, 31 Jul 2013 05:48:29 +0000 (07:48 +0200)]
Update update.php

11 years agomore restrictive parsing of lat/lon
Sarah Hoffmann [Tue, 25 Jun 2013 06:24:22 +0000 (08:24 +0200)]
more restrictive parsing of lat/lon

Require a decimal point in both numbers to avoid cases like
https://trac.openstreetmap.org/ticket/4884

11 years agoadd query speed munin plugin
Sarah Hoffmann [Sun, 7 Jul 2013 14:37:43 +0000 (16:37 +0200)]
add query speed munin plugin

11 years agoremove hard-coded DB name in munin plugins
Sarah Hoffmann [Sun, 7 Jul 2013 14:36:01 +0000 (16:36 +0200)]
remove hard-coded DB name in munin plugins

Use PGDATABASE environment variable instead.

11 years agofix error output
Sarah Hoffmann [Thu, 4 Jul 2013 15:52:25 +0000 (17:52 +0200)]
fix error output

11 years agosupport for partial matching of US ZIP+4 codes
Sarah Hoffmann [Wed, 19 Jun 2013 20:58:46 +0000 (22:58 +0200)]
support for partial matching of US ZIP+4 codes

11 years agoAllow linking of ways to points (by name) as well as for relation admin areas
Brian Quinion [Tue, 18 Jun 2013 12:09:30 +0000 (13:09 +0100)]
Allow linking of ways to points (by name) as well as for relation admin areas

11 years agoCheck to see if we can access the website at the configured CONST_Website_BaseURL
Brian Quinion [Thu, 13 Jun 2013 17:07:19 +0000 (18:07 +0100)]
Check to see if we can access the website at the configured CONST_Website_BaseURL

11 years agomissed some postcode use cases
Brian Quinion [Thu, 13 Jun 2013 16:19:27 +0000 (17:19 +0100)]
missed some postcode use cases

11 years agoAllow for tiger addresses when filtering by rank
Brian Quinion [Tue, 11 Jun 2013 16:28:30 +0000 (17:28 +0100)]
Allow for tiger addresses when filtering by rank

11 years agorecheck the rank limits before dropping out of the search loop - otherwise we can...
Brian Quinion [Tue, 11 Jun 2013 16:13:37 +0000 (17:13 +0100)]
recheck the rank limits before dropping out of the search loop - otherwise we can drop out too soon

11 years agoTry alternative orderings of structured queries that include postal codes
Brian Quinion [Tue, 11 Jun 2013 13:56:50 +0000 (14:56 +0100)]
Try alternative orderings of structured queries that include postal codes

11 years agoremove the structuredAddressElement function from search that was moved to lib.php
Brian Quinion [Fri, 7 Jun 2013 15:23:37 +0000 (16:23 +0100)]
remove the structuredAddressElement function from search that was moved to lib.php

11 years agomake isolated dwellings addressable
Sarah Hoffmann [Fri, 24 May 2013 21:37:13 +0000 (23:37 +0200)]
make isolated dwellings addressable

11 years agomake POIs as interpolation points work
Sarah Hoffmann [Mon, 20 May 2013 08:44:55 +0000 (10:44 +0200)]
make POIs as interpolation points work

Accept any class/type place as an interpolation point.

11 years agofix c&p typo
Sarah Hoffmann [Thu, 16 May 2013 19:59:06 +0000 (21:59 +0200)]
fix c&p typo

11 years agofix indentation
Frederik Ramm [Thu, 16 May 2013 07:11:19 +0000 (09:11 +0200)]
fix indentation

11 years agoAdd osm2pgsql flat node support via settings.php
Frederik Ramm [Thu, 16 May 2013 07:03:16 +0000 (09:03 +0200)]
Add osm2pgsql flat node support via settings.php

11 years agoupdate admin_level when modifying place
Sarah Hoffmann [Tue, 14 May 2013 20:55:20 +0000 (22:55 +0200)]
update admin_level when modifying place

11 years agoprefer local data over fallback for country codes
Sarah Hoffmann [Sat, 11 May 2013 19:36:36 +0000 (21:36 +0200)]
prefer local data over fallback for country codes

11 years agoremove suggestion code, no longer works
Sarah Hoffmann [Wed, 8 May 2013 18:23:47 +0000 (20:23 +0200)]
remove suggestion code, no longer works