]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
12 years agoBlack/whitelisting for special phrases
Sarah Hoffmann [Tue, 20 Mar 2012 23:40:35 +0000 (00:40 +0100)]
Black/whitelisting for special phrases

Allows to restrict the special phrases imported from the wiki.
Blacklist allows to exclude certain class/type combinations.
Whitelist allows to define an allowed subset of types for a class.
Adjust to your liking in settings/phrase_settings.php before running
the specialphrases script.

12 years agoUpdated reverse geocoding to improve handling of zoom=0
Brian Quinion [Thu, 24 May 2012 15:54:51 +0000 (16:54 +0100)]
Updated reverse geocoding to improve handling of zoom=0

Conflicts:

website/reverse.php

12 years agorevert timezone setting
Sarah Hoffmann [Sun, 13 May 2012 09:04:04 +0000 (11:04 +0200)]
revert timezone setting

Does not work with poldi's php version.

12 years agobe less verbose
Sarah Hoffmann [Sun, 13 May 2012 09:03:05 +0000 (11:03 +0200)]
be less verbose

12 years agoautomated banning of excessive bulk users
Sarah Hoffmann [Sat, 12 May 2012 15:20:27 +0000 (17:20 +0200)]
automated banning of excessive bulk users

12 years agofix typos in mapicons
Sarah Hoffmann [Thu, 26 Apr 2012 21:23:27 +0000 (23:23 +0200)]
fix typos in mapicons

12 years agoallow slashes in house numbers
Sarah Hoffmann [Mon, 16 Apr 2012 13:33:13 +0000 (15:33 +0200)]
allow slashes in house numbers

12 years agotimezone trouble
Sarah Hoffmann [Thu, 26 Apr 2012 22:05:55 +0000 (00:05 +0200)]
timezone trouble

12 years agodisable vacuuming of planet_osm_ways, too expensive
Sarah Hoffmann [Thu, 26 Apr 2012 22:04:11 +0000 (00:04 +0200)]
disable vacuuming of planet_osm_ways, too expensive

12 years agoimmediately exit on log rotation errors
Sarah Hoffmann [Thu, 26 Apr 2012 22:03:15 +0000 (00:03 +0200)]
immediately exit on log rotation errors

12 years agoCollapse two log tables into one.
Sarah Hoffmann [Sun, 15 Apr 2012 17:15:33 +0000 (19:15 +0200)]
Collapse two log tables into one.

This requires to add a searchterm column to new_query_log.

12 years agoproper silence
Sarah Hoffmann [Sun, 15 Apr 2012 17:13:57 +0000 (19:13 +0200)]
proper silence

12 years agocron script for log rotation
Sarah Hoffmann [Sun, 15 Apr 2012 17:11:35 +0000 (19:11 +0200)]
cron script for log rotation

12 years agocron job for vacuuming intarray indices
Sarah Hoffmann [Sun, 15 Apr 2012 13:57:50 +0000 (15:57 +0200)]
cron job for vacuuming intarray indices

12 years agoMerge branch 'master' of http://github.com/twain47/Nominatim
Sarah Hoffmann [Sun, 18 Mar 2012 17:23:11 +0000 (18:23 +0100)]
Merge branch 'master' of http://github.com/twain47/Nominatim

12 years agouse X/Y max/min functions instead of box making
Sarah Hoffmann [Sun, 18 Mar 2012 17:18:33 +0000 (18:18 +0100)]
use X/Y max/min functions instead of box making

There is a strange bug in postgis where for some coordinates
it does not make a proper box around a point.

12 years agoreturn a 500 on database error
Sarah Hoffmann [Sun, 18 Mar 2012 16:58:19 +0000 (17:58 +0100)]
return a 500 on database error

12 years agoonly re-index addressable places
Sarah Hoffmann [Sun, 18 Mar 2012 15:15:45 +0000 (16:15 +0100)]
only re-index addressable places

exclude places from hierarchical updates when they are only addressed
through their parent and do not have a name (thus no entry in search
name)

12 years agoremove array_agg
Sarah Hoffmann [Sun, 18 Mar 2012 15:12:41 +0000 (16:12 +0100)]
remove array_agg

shipped with postgresql in all supported versions

12 years agoMerge branch 'master' of http://github.com/twain47/Nominatim
Sarah Hoffmann [Sat, 10 Mar 2012 21:54:29 +0000 (22:54 +0100)]
Merge branch 'master' of http://github.com/twain47/Nominatim

12 years agomunin graph for request counts
Sarah Hoffmann [Sat, 10 Mar 2012 21:53:38 +0000 (22:53 +0100)]
munin graph for request counts

12 years agoput indexing in update mode
Sarah Hoffmann [Sat, 10 Mar 2012 13:14:33 +0000 (14:14 +0100)]
put indexing in update mode

12 years agoadapt settings for poldi
Sarah Hoffmann [Sat, 10 Mar 2012 13:13:14 +0000 (14:13 +0100)]
adapt settings for poldi

12 years agouser-agent based blocking
Sarah Hoffmann [Sat, 10 Mar 2012 11:57:19 +0000 (12:57 +0100)]
user-agent based blocking

12 years agosend 403 and HTML page on block
Sarah Hoffmann [Sat, 10 Mar 2012 11:21:08 +0000 (12:21 +0100)]
send 403 and HTML page on block

12 years agofrequent words hack
Sarah Hoffmann [Sat, 10 Mar 2012 10:48:02 +0000 (11:48 +0100)]
frequent words hack

Adds logging of queries on search_name that take too long
because of word tokens that are too frequent.
Words can be excluded from the token search by setting the
search_name_count column to something greater than 0.

12 years agocustomized tablespace settings for poldi
Sarah Hoffmann [Sat, 10 Mar 2012 10:31:17 +0000 (11:31 +0100)]
customized tablespace settings for poldi

12 years agosanity check for address interpolation
Sarah Hoffmann [Fri, 9 Mar 2012 23:08:06 +0000 (00:08 +0100)]
sanity check for address interpolation

12 years agoavoid deletes for new places
Sarah Hoffmann [Fri, 9 Mar 2012 23:06:28 +0000 (00:06 +0100)]
avoid deletes for new places

12 years agorestrict deferred delete to concerned place
Sarah Hoffmann [Fri, 9 Mar 2012 22:47:25 +0000 (23:47 +0100)]
restrict deferred delete to concerned place

Deleting by osm_type/osm_id goes wrong if the place was reimported
because of a change in geometry, admin_level etc. The newly created
place is deleted as well in this case.

12 years agosend fail messages to error log
Sarah Hoffmann [Sun, 4 Mar 2012 18:06:20 +0000 (19:06 +0100)]
send fail messages to error log

12 years agorespect addressdetails parameter in json output
Sarah Hoffmann [Sun, 4 Mar 2012 16:45:53 +0000 (17:45 +0100)]
respect addressdetails parameter in json output

12 years agoconvert CRLF to make git happy
Sarah Hoffmann [Sun, 4 Mar 2012 15:41:43 +0000 (16:41 +0100)]
convert CRLF to make git happy

12 years agorestrict detection of lat/lon pairs
Sarah Hoffmann [Sun, 4 Mar 2012 13:50:26 +0000 (14:50 +0100)]
restrict detection of lat/lon pairs

Only interpret numbers as geo coordinates if they are in the
actual range for latitude and longitude.

12 years agocreate proper token array for unknown housenumbers
Sarah Hoffmann [Sun, 4 Mar 2012 13:40:13 +0000 (14:40 +0100)]
create proper token array for unknown housenumbers

12 years agoconfigurable file logging
Sarah Hoffmann [Sun, 4 Mar 2012 11:50:45 +0000 (12:50 +0100)]
configurable file logging

Respect CONST_Log_File setting and add two new configuration
variables CONST_Log_File_SearchLog and CONST_Log_File_ReverseLog
for the log file names.

12 years agoadd script to list broken polygons
Sarah Hoffmann [Sun, 4 Mar 2012 09:54:07 +0000 (10:54 +0100)]
add script to list broken polygons

12 years agocreation of special phrases for country codes (forwardported from gazeteer)
Sarah Hoffmann [Sun, 26 Feb 2012 20:32:40 +0000 (20:32 +0000)]
creation of special phrases for country codes (forwardported from gazeteer)

12 years agoupdate classtype tables for special phrases along with the places
Sarah Hoffmann [Sun, 19 Feb 2012 10:33:21 +0000 (10:33 +0000)]
update classtype tables for special phrases along with the places

12 years agoextend scripts for Tiger 2011 data
Sarah Hoffmann [Fri, 17 Feb 2012 20:34:28 +0000 (20:34 +0000)]
extend scripts for Tiger 2011 data

12 years agohack around yes quotes in wiki and add a simple sanity check against wiki accidents
Sarah Hoffmann [Mon, 13 Feb 2012 22:37:03 +0000 (22:37 +0000)]
hack around yes quotes in wiki and add a simple sanity check against wiki accidents

12 years agoreturn a marginally better error message when query string is not in UTF-8,
Sarah Hoffmann [Sun, 12 Feb 2012 12:01:24 +0000 (12:01 +0000)]
return a marginally better error message when query string is not in UTF-8,
force UTF-8 in search formular

12 years agomove place=isolated_dwelling up to the same rank as place=locality
Sarah Hoffmann [Sun, 12 Feb 2012 10:12:51 +0000 (10:12 +0000)]
move place=isolated_dwelling up to the same rank as place=locality

12 years agoenable exact search of GB postcodes in aux postcode data,
Sarah Hoffmann [Sat, 11 Feb 2012 09:19:42 +0000 (09:19 +0000)]
enable exact search of GB postcodes in aux postcode data,
partial search still disabled due to performance problems

12 years agoduring initial setup defer creation of non-vital until after nominatim indexing,
Sarah Hoffmann [Fri, 10 Feb 2012 21:01:35 +0000 (21:01 +0000)]
during initial setup defer creation of non-vital until after nominatim indexing,
analyse DB during nominatim indexing so the query planer uses indexes correctly

12 years agoavoid warnings when geometry of object cannot be determined
Sarah Hoffmann [Mon, 6 Feb 2012 23:14:21 +0000 (23:14 +0000)]
avoid warnings when geometry of object cannot be determined

12 years agodon't print address details if they are not requested
Sarah Hoffmann [Mon, 6 Feb 2012 22:26:08 +0000 (22:26 +0000)]
don't print address details if they are not requested

12 years agoremove unused protolib
Sarah Hoffmann [Sat, 4 Feb 2012 08:20:51 +0000 (08:20 +0000)]
remove unused protolib

12 years agoremove trailing commas in HTML to make IE happy (thanks to TomH)
Sarah Hoffmann [Sat, 4 Feb 2012 07:53:02 +0000 (07:53 +0000)]
remove trailing commas in HTML to make IE happy (thanks to TomH)

12 years agomunin graph for the import lag
Sarah Hoffmann [Wed, 1 Feb 2012 21:13:05 +0000 (21:13 +0000)]
munin graph for the import lag

12 years agodon't classify normal SQL errors as deadlocks
Sarah Hoffmann [Sat, 28 Jan 2012 23:33:28 +0000 (23:33 +0000)]
don't classify normal SQL errors as deadlocks

12 years agoimprove import performance for special phrases
Sarah Hoffmann [Sat, 28 Jan 2012 23:27:25 +0000 (23:27 +0000)]
improve import performance for special phrases

- create a temporary index on placex
- create indices on place_classtype_* tables after insert
- grant www-data permission to tables

12 years agoextensions where introduced in postgresql in 9.1, not in 9.0
Sarah Hoffmann [Sat, 21 Jan 2012 12:09:43 +0000 (12:09 +0000)]
extensions where introduced in postgresql in 9.1, not in 9.0

12 years ago- remove dependency on intarray extension
Sarah Hoffmann [Sat, 21 Jan 2012 10:21:42 +0000 (10:21 +0000)]
- remove dependency on intarray extension
- new config options for postgresql version and
  location of osm2pgsql and osmosis binaries
- new option --no-npi for update.php that supresses writing of NPIs in
  osmosis update mode
- add more GRANTs for www-data

13 years agofix typo mentioned by mathieu monney on mapquest's forum two weeks ago. this typo...
Frederik Ramm [Fri, 21 Oct 2011 06:48:04 +0000 (06:48 +0000)]
fix typo mentioned by mathieu monney on mapquest's forum two weeks ago. this typo is responsible for 'location_property_tiger does not exist' errors.

13 years agocreate 'file' sequence required by update.php
Frederik Ramm [Fri, 9 Sep 2011 16:02:31 +0000 (16:02 +0000)]
create 'file' sequence required by update.php

13 years agobugfix nominatim
Frederik Ramm [Fri, 9 Sep 2011 16:00:34 +0000 (16:00 +0000)]
bugfix nominatim

13 years agofix miss-parsed regex with - sign in lat,lon query
Brian Quinion [Tue, 2 Aug 2011 19:39:32 +0000 (19:39 +0000)]
fix miss-parsed regex with - sign in lat,lon query

13 years agoupdate place_id to BIGINT
Brian Quinion [Tue, 14 Jun 2011 13:42:46 +0000 (13:42 +0000)]
update place_id to BIGINT

13 years agobigint update script
Brian Quinion [Fri, 10 Jun 2011 13:41:51 +0000 (13:41 +0000)]
bigint update script

13 years agoover tokenising 'la'
Brian Quinion [Tue, 7 Jun 2011 12:31:46 +0000 (12:31 +0000)]
over tokenising 'la'

13 years agode-deplicate terms
Brian Quinion [Mon, 23 May 2011 17:51:02 +0000 (17:51 +0000)]
de-deplicate terms

13 years agoallow for offset paramater in amenity searches
Brian Quinion [Mon, 23 May 2011 16:36:36 +0000 (16:36 +0000)]
allow for offset paramater in amenity searches

13 years agowoops
Brian Quinion [Mon, 23 May 2011 16:23:50 +0000 (16:23 +0000)]
woops

13 years agohandle 'order state level queries better
Brian Quinion [Mon, 23 May 2011 16:22:25 +0000 (16:22 +0000)]
handle 'order state level queries better

13 years agohandle 'order state level queries better
Brian Quinion [Mon, 23 May 2011 16:12:54 +0000 (16:12 +0000)]
handle 'order state level queries better

13 years agohandle 'in/near' for state and country level features differently
Brian Quinion [Mon, 23 May 2011 14:30:43 +0000 (14:30 +0000)]
handle 'in/near' for state and country level features differently

13 years agohack to handle state abreviations that overlap with 'the' in various non-english...
Brian Quinion [Tue, 17 May 2011 16:22:21 +0000 (16:22 +0000)]
hack to handle state abreviations that overlap with 'the' in various non-english languages

13 years agomemory leak on large imports
Brian Quinion [Mon, 16 May 2011 14:46:57 +0000 (14:46 +0000)]
memory leak on large imports

13 years agocountry searches not filtered by countrycodes param, fixes #3756
Brian Quinion [Wed, 11 May 2011 10:30:58 +0000 (10:30 +0000)]
country searches not filtered by countrycodes param, fixes #3756

13 years agoremove debuing information
Brian Quinion [Wed, 4 May 2011 16:27:18 +0000 (16:27 +0000)]
remove debuing information

13 years agohandle pure lat,lon search by passing to reverse geocoding and returning first match...
Brian Quinion [Tue, 3 May 2011 17:34:51 +0000 (17:34 +0000)]
handle pure lat,lon search by passing to reverse geocoding and returning first match as a search result

13 years agoenforce limit as maximum number of results
Brian Quinion [Tue, 3 May 2011 14:22:22 +0000 (14:22 +0000)]
enforce limit as maximum number of results

13 years agoDo not apply limit where we have a sub-search
Brian Quinion [Thu, 28 Apr 2011 14:55:25 +0000 (14:55 +0000)]
Do not apply limit where we have a sub-search

13 years agoretry loop on osmosis
Brian Quinion [Wed, 27 Apr 2011 12:14:33 +0000 (12:14 +0000)]
retry loop on osmosis

13 years agoaddresses not claculated for some named poi
Brian Quinion [Fri, 8 Apr 2011 15:10:31 +0000 (15:10 +0000)]
addresses not claculated for some named poi

13 years agoreturn actual centroid lat,lon of reverse geocoding result
Brian Quinion [Thu, 7 Apr 2011 15:57:57 +0000 (15:57 +0000)]
return actual centroid lat,lon of reverse geocoding result

13 years agomove partiondef config file to settings, add --create-website option to build symlink...
Brian Quinion [Wed, 6 Apr 2011 18:19:40 +0000 (18:19 +0000)]
move partiondef config file to settings, add --create-website option to build symlinks automatically

13 years agoextra validation on import
Brian Quinion [Wed, 6 Apr 2011 18:16:55 +0000 (18:16 +0000)]
extra validation on import

13 years agoconsider possibility that values with number in near start of search might be a house...
Brian Quinion [Tue, 5 Apr 2011 14:51:32 +0000 (14:51 +0000)]
consider possibility that values with number in near start of search might be a house number (even if we have never seen them before).  Also add better label for building:yes

13 years agofallback housenumber for items containing a number - not just number only
Brian Quinion [Sat, 2 Apr 2011 15:07:48 +0000 (15:07 +0000)]
fallback housenumber for items containing a number - not just number only

13 years agodon't classify region as a type of state in address details output
Brian Quinion [Thu, 31 Mar 2011 16:02:37 +0000 (16:02 +0000)]
don't classify region as a type of state in address details output

13 years agolimit fallback to pure number housenumbers
Brian Quinion [Mon, 28 Mar 2011 11:37:17 +0000 (11:37 +0000)]
limit fallback to pure number housenumbers

13 years agoorder final data set by importance, ignore search query score (importance seems to...
Brian Quinion [Fri, 25 Mar 2011 11:55:13 +0000 (11:55 +0000)]
order final data set by importance, ignore search query score (importance seems to be better)

13 years agooption to get list of search keywords
Brian Quinion [Fri, 25 Mar 2011 11:53:17 +0000 (11:53 +0000)]
option to get list of search keywords

13 years agoadd option to filter by countrycodes=gb,fr list
Brian Quinion [Wed, 23 Mar 2011 12:50:25 +0000 (12:50 +0000)]
add option to filter by countrycodes=gb,fr list

13 years agoconfigure tile set
Brian Quinion [Wed, 23 Mar 2011 12:16:57 +0000 (12:16 +0000)]
configure tile set

13 years agoloading rank wrong way round
Brian Quinion [Mon, 21 Mar 2011 10:15:29 +0000 (10:15 +0000)]
loading rank wrong way round

13 years agooutput importance on details.php page
Brian Quinion [Sun, 20 Mar 2011 23:34:36 +0000 (23:34 +0000)]
output importance on details.php page

13 years agodiff updates and npi diff updates
Brian Quinion [Fri, 18 Mar 2011 12:36:17 +0000 (12:36 +0000)]
diff updates and npi diff updates

13 years agocalculate search position based to 'importance' rather than address rank
Brian Quinion [Fri, 18 Mar 2011 09:52:16 +0000 (09:52 +0000)]
calculate search position based to 'importance' rather than address rank

13 years agodrop requirement for zero distance record for each place_addressline, add import_npi_...
Brian Quinion [Fri, 11 Mar 2011 14:03:18 +0000 (14:03 +0000)]
drop requirement for zero distance record for each place_addressline, add import_npi_log for import logging

13 years agopreserve importance in search_name
Brian Quinion [Fri, 11 Mar 2011 14:01:18 +0000 (14:01 +0000)]
preserve importance in search_name

13 years agodeduplicate search term graph slightly earlier
Brian Quinion [Mon, 7 Mar 2011 16:16:05 +0000 (16:16 +0000)]
deduplicate search term graph slightly earlier

13 years agoDon't let character walk outside translation table
Brian Quinion [Mon, 7 Mar 2011 12:44:04 +0000 (12:44 +0000)]
Don't let character walk outside translation table

13 years agobetter error checking for middle of the sea
Brian Quinion [Tue, 22 Feb 2011 20:01:26 +0000 (20:01 +0000)]
better error checking for middle of the sea

13 years agolog progress to stderr instead of stdout, to make use of unbuffered output
Frederik Ramm [Mon, 21 Feb 2011 12:41:44 +0000 (12:41 +0000)]
log progress to stderr instead of stdout, to make use of unbuffered output

13 years agofix potential deadlock when writing a lot of data to a psql pipe and not reading...
Frederik Ramm [Mon, 21 Feb 2011 00:02:17 +0000 (00:02 +0000)]
fix potential deadlock when writing a lot of data to a psql pipe and not reading what comes back;
stdout/stderr weren't used anyway so just connect them through

13 years ago* use osm2pgsql from $PATH if none present locally
Frederik Ramm [Fri, 18 Feb 2011 09:18:37 +0000 (09:18 +0000)]
* use osm2pgsql from $PATH if none present locally
* do not display usage() on successful postcode generation

13 years agofilter by feature rank, current options: country, state, city
Brian Quinion [Tue, 8 Feb 2011 14:45:17 +0000 (14:45 +0000)]
filter by feature rank, current options: country, state, city