]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
11 years agoOnly use placex that are fully indexed for reverse geocoding
Brian Quinion [Wed, 8 May 2013 11:16:45 +0000 (12:16 +0100)]
Only use placex that are fully indexed for reverse geocoding

11 years agoremove debug putput
Sarah Hoffmann [Mon, 6 May 2013 19:33:01 +0000 (21:33 +0200)]
remove debug putput

11 years agofix missing number conversion for coordinates
Sarah Hoffmann [Mon, 6 May 2013 19:19:12 +0000 (21:19 +0200)]
fix missing number conversion for coordinates

11 years agofix 500 on reverse via search without result
Sarah Hoffmann [Mon, 6 May 2013 19:04:09 +0000 (21:04 +0200)]
fix 500 on reverse via search without result

e.g. /search?q=1,1

11 years agoupdate osm2pgsql (addr:place)
Sarah Hoffmann [Wed, 1 May 2013 09:06:20 +0000 (11:06 +0200)]
update osm2pgsql (addr:place)

11 years agoinvalidation of non-street house numbers on update
Sarah Hoffmann [Tue, 30 Apr 2013 18:31:48 +0000 (20:31 +0200)]
invalidation of non-street house numbers on update

11 years agoadd support for house numbers without street
Sarah Hoffmann [Fri, 26 Apr 2013 22:57:18 +0000 (00:57 +0200)]
add support for house numbers without street

11 years agofix inconsistency between getNearestNamendRoadFeature() and house number search
Sarah Hoffmann [Tue, 23 Apr 2013 19:25:56 +0000 (21:25 +0200)]
fix inconsistency between getNearestNamendRoadFeature() and house number search

11 years agoremove worldboundaries.sql
Sarah Hoffmann [Sat, 20 Apr 2013 08:27:56 +0000 (10:27 +0200)]
remove worldboundaries.sql

fixes #22

11 years agorestrict depth of word set calculation
Sarah Hoffmann [Fri, 19 Apr 2013 22:18:08 +0000 (00:18 +0200)]
restrict depth of word set calculation

11 years agoallow to disable default language
Sarah Hoffmann [Fri, 12 Apr 2013 21:12:03 +0000 (23:12 +0200)]
allow to disable default language

If CONST_Default_Language is set to false, the fallback will be to
name tags without a language suffix. Make this the default.

11 years agoharmonize formatting of frontend php
Sarah Hoffmann [Fri, 12 Apr 2013 20:45:24 +0000 (22:45 +0200)]
harmonize formatting of frontend php

11 years agoupdate Tiger extract scripts for 2012 edition
Sarah Hoffmann [Fri, 12 Apr 2013 18:07:03 +0000 (20:07 +0200)]
update Tiger extract scripts for 2012 edition

11 years agoupdate osm2pgsql
Sarah Hoffmann [Thu, 11 Apr 2013 21:19:28 +0000 (23:19 +0200)]
update osm2pgsql

11 years agoupdate osm2pgsql version
Sarah Hoffmann [Wed, 10 Apr 2013 21:48:27 +0000 (23:48 +0200)]
update osm2pgsql version

11 years agouse correct viewbox variable in search XML
Sarah Hoffmann [Wed, 10 Apr 2013 18:33:10 +0000 (20:33 +0200)]
use correct viewbox variable in search XML

11 years agoadapt status page to new word table layout
Sarah Hoffmann [Wed, 10 Apr 2013 17:50:38 +0000 (19:50 +0200)]
adapt status page to new word table layout

11 years agoremove unused columns from word and search_name_* tables
Sarah Hoffmann [Tue, 9 Apr 2013 20:44:05 +0000 (22:44 +0200)]
remove unused columns from word and search_name_* tables

  Removes 'trigram' and 'location' from word.
  Removes 'address', 'importance' and 'country_code' from search_name_*.
  Use full geometry in centroid column of search_name_*.

  Requires migration of existing tables. For more info see pull request
  https://github.com/twain47/Nominatim/pull/45

11 years agoallow any unicode letter and spaces in special terms
Sarah Hoffmann [Sun, 7 Apr 2013 15:53:34 +0000 (17:53 +0200)]
allow any unicode letter and spaces in special terms

Allows to search for things like [fish shop].

11 years agomake osmosis-init also work for older planets
Sarah Hoffmann [Sun, 7 Apr 2013 13:34:29 +0000 (15:34 +0200)]
make osmosis-init also work for older planets

Use planet_osm_nodes instead of places to get the very last node even if it is
untagged. Then ask for version 1 to avoid being mislead if the node has been
changed in the meantime.

11 years agoupdate osm2pgsql (conscription number patch)
Sarah Hoffmann [Thu, 4 Apr 2013 18:57:49 +0000 (20:57 +0200)]
update osm2pgsql (conscription number patch)

11 years agocorrect rank_address range for postalcodes
Sarah Hoffmann [Wed, 3 Apr 2013 20:29:47 +0000 (22:29 +0200)]
correct rank_address range for postalcodes

11 years agoupdate osm2pgsql to use reinitialized github repo
Sarah Hoffmann [Wed, 3 Apr 2013 19:26:57 +0000 (21:26 +0200)]
update osm2pgsql to use reinitialized github repo

11 years agobetter osmosis error message
Brian Quinion [Wed, 3 Apr 2013 16:03:39 +0000 (17:03 +0100)]
better osmosis error message

11 years agofix typo for baseUrl when configuring configuration.txt
IrlJidel [Tue, 26 Mar 2013 14:49:35 +0000 (14:49 +0000)]
fix typo for baseUrl when configuring configuration.txt

use osmosis --read-replication-lag to determine if there are changes before trying to process updates, useful when we are tracking hourly or daily replication updates

set CONST_Replication_Recheck_Interval to 60

skip lag check if CONST_Replication_Update_Interval > 60, for minutelies there's always new diffs to process

use tabs for indent

change sleep for non-minutely updates so that we dont drift tto much or poll excessively

unset $aReplicationLag before each exec attempt

unset $aReplicationLag inside while loop

11 years agodefault to planet.openstreetmap.org/replication/minute
IrlJidel [Fri, 22 Mar 2013 13:23:18 +0000 (13:23 +0000)]
default to planet.openstreetmap.org/replication/minute

11 years agomake planet replication url configurable so we can use geofabrik's awesome daily...
IrlJidel [Fri, 22 Mar 2013 12:44:21 +0000 (12:44 +0000)]
make planet replication url configurable so we can use geofabrik's awesome daily country diffs

11 years agocalculate the importance value
Brian Quinion [Tue, 19 Mar 2013 19:44:33 +0000 (19:44 +0000)]
calculate the importance value

11 years agodownload dbpedia attempt at geocoords
Brian Quinion [Tue, 19 Mar 2013 19:29:39 +0000 (19:29 +0000)]
download dbpedia attempt at geocoords

11 years agoreminder about dsn format in settings.php
Brian Quinion [Mon, 18 Mar 2013 23:42:16 +0000 (19:42 -0400)]
reminder about dsn format in settings.php

11 years agoadd mysql to pgsql tool as lib
Brian Quinion [Mon, 18 Mar 2013 23:47:57 +0000 (00:47 +0100)]
add mysql to pgsql tool as lib

11 years agofirst draft of wikipedia article/importance import script
Brian Quinion [Mon, 18 Mar 2013 22:57:10 +0000 (23:57 +0100)]
first draft of wikipedia article/importance import script

11 years agomore bigint fixes
Sarah Hoffmann [Sat, 2 Mar 2013 19:56:46 +0000 (20:56 +0100)]
more bigint fixes

11 years agoImport class:type from linked features to the extratags files. Use place tags (in...
Brian Quinion [Thu, 28 Feb 2013 12:47:13 +0000 (12:47 +0000)]
Import class:type from linked features to the extratags files. Use place tags (in extratags) as well as rank to determine feature type. i.e. allow a admin_level=6 feature also tagged as a place=city to still be found when doing a city search.

11 years agoupdate osm2pgsql (for cemeteries)
Sarah Hoffmann [Wed, 27 Feb 2013 21:43:14 +0000 (22:43 +0100)]
update osm2pgsql (for cemeteries)

11 years agodisable warning about missing chars
Sarah Hoffmann [Wed, 27 Feb 2013 20:01:20 +0000 (21:01 +0100)]
disable warning about missing chars

11 years agoname patching with default language for the case where the linked place adds translations
Sarah Hoffmann [Tue, 26 Feb 2013 21:29:16 +0000 (22:29 +0100)]
name patching with default language for the case where the linked place adds translations

11 years agoswitch to main overpass server
Sarah Hoffmann [Tue, 26 Feb 2013 19:42:57 +0000 (20:42 +0100)]
switch to main overpass server

11 years agoremove full-word constraint for possible main words
Sarah Hoffmann [Sun, 24 Feb 2013 21:55:43 +0000 (22:55 +0100)]
remove full-word constraint for possible main words

Reversing the address did not work most of the time because
the address normally only contains the partial version of the word only.

See also
https://help.openstreetmap.org/questions/16317/warum-werden-straen-bei-suche-nicht-gefunden

11 years agoupdate to newest osm2pgsql
Sarah Hoffmann [Wed, 20 Feb 2013 23:03:18 +0000 (00:03 +0100)]
update to newest osm2pgsql

11 years agoadd PG_CONFIG path to module makefile
Sarah Hoffmann [Wed, 20 Feb 2013 22:32:04 +0000 (23:32 +0100)]
add PG_CONFIG path to module makefile

fixes #38

11 years agoremove special handling of mountain passes
Sarah Hoffmann [Sun, 17 Feb 2013 13:53:22 +0000 (14:53 +0100)]
remove special handling of mountain passes

clashes with use of place tags on same node,
needs updated osm2pgsql

11 years agoRevert "increase search radius for named roads"
Sarah Hoffmann [Wed, 13 Feb 2013 23:40:58 +0000 (00:40 +0100)]
Revert "increase search radius for named roads"

This reverts commit c2d5303192c960b456b2d2ab4b6e14cead2042ac.
It causes serious performance problems in densely mapped areas.

11 years agoMerge branch 'address-importance' of https://github.com/lonvia/Nominatim
Sarah Hoffmann [Wed, 13 Feb 2013 21:10:28 +0000 (22:10 +0100)]
Merge branch 'address-importance' of https://github.com/lonvia/Nominatim

11 years agoincrease initial search radius for reverse lookups
Sarah Hoffmann [Tue, 12 Feb 2013 18:10:36 +0000 (19:10 +0100)]
increase initial search radius for reverse lookups

On the osm.org instance, this saves 2 psql queries for about 87% of
reverse requests consequently increasing throughput significantly. A lower
value might make sense if an instance is used only in areas with very
high mapping density but for standard usage this one should be better
suited.

11 years agoanother int => bigint issue in addressline
Brian Quinion [Tue, 12 Feb 2013 13:28:07 +0000 (13:28 +0000)]
another int => bigint issue in addressline

11 years agofix some mised INTEGER to BIGINT conversions
Brian Quinion [Sat, 9 Feb 2013 15:02:06 +0000 (15:02 +0000)]
fix some mised INTEGER to BIGINT conversions

11 years agoadd partial word search term to keywords as well
Sarah Hoffmann [Fri, 8 Feb 2013 18:11:15 +0000 (19:11 +0100)]
add partial word search term to keywords as well

11 years agoinclude the type (not just class) in the dedupe
Brian Quinion [Thu, 7 Feb 2013 18:41:09 +0000 (18:41 +0000)]
include the type (not just class) in the dedupe

11 years agomore debug in reverse geocoding
Brian Quinion [Thu, 7 Feb 2013 18:39:33 +0000 (18:39 +0000)]
more debug in reverse geocoding

11 years agomerge in the postcode and is_in terms into the address vector for search
Brian Quinion [Thu, 7 Feb 2013 18:38:48 +0000 (18:38 +0000)]
merge in the postcode and is_in terms into the address vector for search

11 years agosplit query as utf8 string to avoid splitting on non-ascii characters
Sarah Hoffmann [Thu, 31 Jan 2013 19:52:04 +0000 (20:52 +0100)]
split query as utf8 string to avoid splitting on non-ascii characters

11 years agostack importance instead of multiplying it for order
Sarah Hoffmann [Thu, 31 Jan 2013 19:11:40 +0000 (20:11 +0100)]
stack importance instead of multiplying it for order

11 years agoorder results by importance of address parts
Sarah Hoffmann [Thu, 31 Jan 2013 19:10:58 +0000 (20:10 +0100)]
order results by importance of address parts

11 years agonow data isn't so lagy show the 'real' import date
Brian Quinion [Thu, 31 Jan 2013 15:36:51 +0000 (15:36 +0000)]
now data isn't so lagy show the 'real' import date

11 years agoavoid dropping tokens completely just because they are expensive. Use ' ' token...
Brian Quinion [Thu, 31 Jan 2013 14:17:41 +0000 (14:17 +0000)]
avoid dropping tokens completely just because they are expensive.  Use ' ' token in preference to just dropping

11 years agofor structured queries assume 2 char country param values are a iso country code
Brian Quinion [Thu, 24 Jan 2013 18:25:59 +0000 (18:25 +0000)]
for structured queries assume 2 char country param values are a iso country code

11 years agoexpose 'importance' value of place in xml/json/jsonv2 output
Brian Quinion [Thu, 24 Jan 2013 18:03:13 +0000 (18:03 +0000)]
expose 'importance' value of place in xml/json/jsonv2 output

11 years agoChange round how CONST_Max_Word_Frequency is applied. Was causing some valid combina...
Brian Quinion [Thu, 24 Jan 2013 18:00:29 +0000 (18:00 +0000)]
Change round how CONST_Max_Word_Frequency is applied.  Was causing some valid combinations to be skipped (e.g. Casal De São Tomé).  Change structured queries so the first search term can't end up in the address term

11 years agoremove OL touch controls
Sarah Hoffmann [Sat, 26 Jan 2013 20:03:28 +0000 (21:03 +0100)]
remove OL touch controls

They interfere with Shift-Zoom.

11 years agoA bunch more places that should be using calculated_country_code not country_code
Brian Quinion [Thu, 24 Jan 2013 16:17:37 +0000 (16:17 +0000)]
A bunch more places that should be using calculated_country_code not country_code

11 years agoclean up some of the debug output
Brian Quinion [Thu, 24 Jan 2013 16:06:56 +0000 (16:06 +0000)]
clean up some of the debug output

11 years agoDelete all records for a linked place so that they are no longer attached to new...
Brian Quinion [Thu, 24 Jan 2013 12:58:16 +0000 (12:58 +0000)]
Delete all records for a linked place so that they are no longer attached to new places

11 years agoBasic status page for monitoring nominatim is working
Brian Quinion [Thu, 24 Jan 2013 12:42:34 +0000 (12:42 +0000)]
Basic status page for monitoring nominatim is working

11 years agoupdate to OpenLayers 2.12
Sarah Hoffmann [Tue, 22 Jan 2013 20:06:29 +0000 (21:06 +0100)]
update to OpenLayers 2.12

11 years agodelete outdated entries from location_area_country
Sarah Hoffmann [Tue, 22 Jan 2013 07:01:30 +0000 (08:01 +0100)]
delete outdated entries from location_area_country

11 years agosplit partition.sql into table and function parts
Sarah Hoffmann [Sat, 19 Jan 2013 15:19:55 +0000 (16:19 +0100)]
split partition.sql into table and function parts

Makes it easier to patch partition functions on an already existing
database.

11 years agoFor structured queries remove type list for building / street level features
Brian Quinion [Sat, 19 Jan 2013 01:47:17 +0000 (01:47 +0000)]
For structured queries remove type list for building / street level features

11 years agorespect exclude_place_ids in poi searches
Sarah Hoffmann [Fri, 18 Jan 2013 21:27:18 +0000 (22:27 +0100)]
respect exclude_place_ids in poi searches

11 years agoallow country name at beginning for reverse order
Sarah Hoffmann [Fri, 18 Jan 2013 19:54:28 +0000 (20:54 +0100)]
allow country name at beginning for reverse order

11 years agoMerge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Mon, 14 Jan 2013 22:31:20 +0000 (22:31 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim

11 years agolittle bit more space to make the design work in chrome
Brian Quinion [Mon, 14 Jan 2013 22:29:54 +0000 (22:29 +0000)]
little bit more space to make the design work in chrome

11 years agosupport custom psql port in setup.php
Sarah Hoffmann [Mon, 14 Jan 2013 21:48:52 +0000 (22:48 +0100)]
support custom psql port in setup.php

patch by b3nn0 (see http://trac.openstreetmap.org/ticket/4736)

11 years agouse Postgis Version variable
appelflap [Sun, 6 Jan 2013 18:48:30 +0000 (19:48 +0100)]
use Postgis Version variable

11 years agoinclude zip codes for addresses linked to the street in the address search terms
Brian Quinion [Thu, 20 Dec 2012 17:49:37 +0000 (17:49 +0000)]
include zip codes for addresses linked to the street in the address search terms

11 years agoperformance: for low frequency name terms disable use of postgresql address index...
Brian Quinion [Thu, 20 Dec 2012 17:47:57 +0000 (17:47 +0000)]
performance: for low frequency name terms disable use of postgresql address index. Theshold is probably about 1000 but optimal value will probably depend on hardware.

11 years agowrong variable name in json output
Brian Quinion [Thu, 20 Dec 2012 01:28:10 +0000 (01:28 +0000)]
wrong variable name in json output

11 years agorelease in postgis version string is optional
Brian Quinion [Tue, 18 Dec 2012 17:39:01 +0000 (17:39 +0000)]
release in postgis version string is optional

11 years agomake sure rank 28 to 30 places are assigned a centroid value
Brian Quinion [Tue, 18 Dec 2012 13:37:48 +0000 (13:37 +0000)]
make sure rank 28 to 30 places are assigned a centroid value

11 years agoadd constant to define postgis version. Verify definted version constants are correc...
Brian Quinion [Tue, 18 Dec 2012 13:09:50 +0000 (13:09 +0000)]
add constant to define postgis version.  Verify definted version constants are correct during database creation.

11 years agouse the new centroid property of placex in queries rather than calculating using...
Brian Quinion [Tue, 18 Dec 2012 12:50:34 +0000 (12:50 +0000)]
use the new centroid property of placex in queries rather than calculating using st_centroid(geometry)

11 years agoincrease search radius for named roads
Sarah Hoffmann [Mon, 17 Dec 2012 21:14:11 +0000 (22:14 +0100)]
increase search radius for named roads

alleviates symptoms of trac ticket #4719

11 years agoInclude the centre point on the details page
Brian Quinion [Mon, 17 Dec 2012 15:28:37 +0000 (15:28 +0000)]
Include the centre point on the details page

11 years agoonly add Access-Control-Allow-Headers if needed
Brian Quinion [Mon, 17 Dec 2012 15:00:49 +0000 (15:00 +0000)]
only add Access-Control-Allow-Headers if needed

11 years agoChange access control to implement more of CORS. Change so OPTIONS requests don...
Brian Quinion [Mon, 17 Dec 2012 00:24:58 +0000 (00:24 +0000)]
Change access control to implement more of CORS.  Change so OPTIONS requests don't do an actual search/reverse request

11 years agoproperly close connections to postgres
Sarah Hoffmann [Sun, 16 Dec 2012 15:23:50 +0000 (16:23 +0100)]
properly close connections to postgres

11 years agoinvalidate rank >27 places around roads
Sarah Hoffmann [Sun, 16 Dec 2012 10:54:46 +0000 (11:54 +0100)]
invalidate rank >27 places around roads

Ensures that addresses are correctly reparented if a road is inserted
after the address itself was inserted.

11 years agocheck return of DB creation command
Sarah Hoffmann [Sat, 15 Dec 2012 10:31:25 +0000 (11:31 +0100)]
check return of DB creation command

11 years agoMerge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Fri, 14 Dec 2012 20:48:33 +0000 (20:48 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim

11 years agoadd support for boundary:postal_code, handle fallback address elements more elegantly
Brian Quinion [Fri, 14 Dec 2012 20:48:27 +0000 (20:48 +0000)]
add support for boundary:postal_code, handle fallback address elements more elegantly

11 years agoadd street to the address of rank >27 objects
Sarah Hoffmann [Thu, 13 Dec 2012 19:31:52 +0000 (20:31 +0100)]
add street to the address of rank >27 objects

fixes trac ticket #4711

11 years agomore isset checks for PHP variables
Sarah Hoffmann [Sun, 9 Dec 2012 08:35:34 +0000 (09:35 +0100)]
more isset checks for PHP variables

11 years agobetter fallback for address component names (avoid labeling mutliple values 'boundary...
Brian Quinion [Wed, 12 Dec 2012 02:09:18 +0000 (02:09 +0000)]
better fallback for address component names (avoid labeling mutliple values 'boundary') and handle situation where a place doesn't have a valid name tag for fallback.

11 years agoincluded calculated importance on details. Change importance calc to prefer places...
Brian Quinion [Wed, 12 Dec 2012 01:44:39 +0000 (01:44 +0000)]
included calculated importance on details.  Change importance calc to prefer places with a wikipedia tag now that the code is better tested

11 years agorestrict to one sleep per bucket. A second sleep while already sleeping results...
Brian Quinion [Mon, 10 Dec 2012 01:36:33 +0000 (01:36 +0000)]
restrict to one sleep per bucket.  A second sleep while already sleeping results in a block.

11 years agoUse Etc/UTC timezone for updates for reliability
Brian Quinion [Sat, 8 Dec 2012 21:42:12 +0000 (21:42 +0000)]
Use Etc/UTC timezone for updates for reliability

11 years agomove memcache bucket functions to their own file
Brian Quinion [Sat, 8 Dec 2012 21:41:09 +0000 (21:41 +0000)]
move memcache bucket functions to their own file

11 years agoif doing structured query limit the types of osm place returned
Brian Quinion [Sat, 8 Dec 2012 21:40:20 +0000 (21:40 +0000)]
if doing structured query limit the types of osm place returned

11 years agoprune list of blocked items if too large, different costs for different page types
Brian Quinion [Sat, 8 Dec 2012 21:39:24 +0000 (21:39 +0000)]
prune list of blocked items if too large, different costs for different page types

11 years agotiny formating change to utils/blocks.php
Brian Quinion [Sat, 8 Dec 2012 18:56:59 +0000 (18:56 +0000)]
tiny formating change to utils/blocks.php