]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
9 years agofix json output of empty arrays
Sarah Hoffmann [Sat, 15 Aug 2015 07:52:48 +0000 (09:52 +0200)]
fix json output of empty arrays

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 11 Aug 2015 21:19:51 +0000 (23:19 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
website/reverse.php
website/search.php

9 years agouse url with php prefix in more url
Sarah Hoffmann [Tue, 11 Aug 2015 21:09:50 +0000 (23:09 +0200)]
use url with php prefix in more url

User may not want to set up URL rewriting for suffixes.

Fixes #241

9 years agomake search with reverse plan default
Sarah Hoffmann [Tue, 11 Aug 2015 20:30:07 +0000 (22:30 +0200)]
make search with reverse plan default

The old behaviour with reverse planning for only selected languages
can be reinstated by setting CONST_Search_ReversePlanForAll to
false.

Fixes #293

9 years agoMerge pull request #305 from lonvia/api-extratags
Sarah Hoffmann [Tue, 11 Aug 2015 20:19:36 +0000 (22:19 +0200)]
Merge pull request #305 from lonvia/api-extratags

Add new parameters to export name and extratags information

9 years agoadd basic tests for namedetails and extratags parameters
Sarah Hoffmann [Mon, 10 Aug 2015 21:18:19 +0000 (23:18 +0200)]
add basic tests for namedetails and extratags parameters

9 years agomake sure names/extratags is enabled for postgres > 9.2 only
Sarah Hoffmann [Mon, 10 Aug 2015 19:53:13 +0000 (21:53 +0200)]
make sure names/extratags is enabled for postgres > 9.2 only

Support for hstore_to_json() needed.

9 years agoadd namedetails and extratags to lookup call
Sarah Hoffmann [Mon, 10 Aug 2015 19:45:22 +0000 (21:45 +0200)]
add namedetails and extratags to lookup call

9 years agoimplement namedetails and extratags parameter for search
Sarah Hoffmann [Mon, 10 Aug 2015 19:42:40 +0000 (21:42 +0200)]
implement namedetails and extratags parameter for search

9 years agoadd extratags and name details to PlaceLookup (reverse)
Sarah Hoffmann [Sun, 9 Aug 2015 13:14:59 +0000 (15:14 +0200)]
add extratags and name details to PlaceLookup (reverse)

9 years agorespect --osm2pgsql-cache setting
Sarah Hoffmann [Sat, 8 Aug 2015 16:15:14 +0000 (18:15 +0200)]
respect --osm2pgsql-cache setting

fixes #260

9 years agofix HTTP return on status when database is down
Sarah Hoffmann [Sat, 8 Aug 2015 15:50:29 +0000 (17:50 +0200)]
fix HTTP return on status when database is down

9 years agoignore man_made objects in reverse search
Sarah Hoffmann [Tue, 4 Aug 2015 19:44:19 +0000 (21:44 +0200)]
ignore man_made objects in reverse search

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

9 years agotests for update of search_name table
Sarah Hoffmann [Sun, 12 Jul 2015 15:12:17 +0000 (17:12 +0200)]
tests for update of search_name table

9 years agoVagrant: use 2GB by default, dont overwrite local.php which would be unexpected
marc tobias [Thu, 9 Jul 2015 01:45:31 +0000 (03:45 +0200)]
Vagrant: use 2GB by default, dont overwrite local.php which would be unexpected

9 years agoassume PHP test suite is run from the tests-php directory. Matches documentation...
marc tobias [Thu, 9 Jul 2015 01:43:59 +0000 (03:43 +0200)]
assume PHP test suite is run from the tests-php directory. Matches documentation in VAGRANT.md

9 years agocorrect documentation on how to start PHP tests
Marc Tobias Metten [Sat, 4 Jul 2015 17:16:09 +0000 (19:16 +0200)]
correct documentation on how to start PHP tests

9 years agoVagrant: remove nonworking Digitalocean configuration
Marc Tobias Metten [Sun, 28 Jun 2015 21:54:48 +0000 (23:54 +0200)]
Vagrant: remove nonworking Digitalocean configuration

9 years agofirst version of Vagrant installation instructions
Marc Tobias Metten [Thu, 25 Jun 2015 02:21:32 +0000 (04:21 +0200)]
first version of Vagrant installation instructions

9 years agoignore man_made objects in reverse search
Sarah Hoffmann [Tue, 4 Aug 2015 19:44:19 +0000 (21:44 +0200)]
ignore man_made objects in reverse search

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

9 years agotests for update of search_name table
Sarah Hoffmann [Sun, 12 Jul 2015 15:12:17 +0000 (17:12 +0200)]
tests for update of search_name table

9 years agoMerge pull request #290 from mtmail/vagrant
Sarah Hoffmann [Fri, 10 Jul 2015 18:56:09 +0000 (20:56 +0200)]
Merge pull request #290 from mtmail/vagrant

first version of Vagrant installation instructions

9 years agoVagrant: use 2GB by default, dont overwrite local.php which would be unexpected
marc tobias [Thu, 9 Jul 2015 01:45:31 +0000 (03:45 +0200)]
Vagrant: use 2GB by default, dont overwrite local.php which would be unexpected

9 years agoassume PHP test suite is run from the tests-php directory. Matches documentation...
marc tobias [Thu, 9 Jul 2015 01:43:59 +0000 (03:43 +0200)]
assume PHP test suite is run from the tests-php directory. Matches documentation in VAGRANT.md

9 years agocorrect documentation on how to start PHP tests
Marc Tobias Metten [Sat, 4 Jul 2015 17:16:09 +0000 (19:16 +0200)]
correct documentation on how to start PHP tests

9 years agoforbid bots on new lookup call
Sarah Hoffmann [Tue, 30 Jun 2015 07:35:45 +0000 (09:35 +0200)]
forbid bots on new lookup call

9 years agoRevert "restrict viewbox size"
Sarah Hoffmann [Mon, 29 Jun 2015 20:46:57 +0000 (22:46 +0200)]
Revert "restrict viewbox size"

This reverts commit 5be0f828c1cdf9f69aefdcc158fc06f2f5a67cfc.

Conflicts:
lib/Geocode.php

9 years agoVagrant: remove nonworking Digitalocean configuration
Marc Tobias Metten [Sun, 28 Jun 2015 21:54:48 +0000 (23:54 +0200)]
Vagrant: remove nonworking Digitalocean configuration

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sat, 27 Jun 2015 10:19:18 +0000 (12:19 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agofirst version of Vagrant installation instructions
Marc Tobias Metten [Thu, 25 Jun 2015 02:21:32 +0000 (04:21 +0200)]
first version of Vagrant installation instructions

9 years agomethod /lookup.php: incorporate better PHP variable naming and other feedback in...
Marc Tobias Metten [Thu, 25 Jun 2015 02:12:44 +0000 (04:12 +0200)]
method /lookup.php: incorporate better PHP variable naming and other feedback in pull request

9 years agoremove tag in test suite used during debugging
Marc Tobias Metten [Tue, 16 Jun 2015 19:13:12 +0000 (21:13 +0200)]
remove tag in test suite used during debugging

9 years agonew method /lookup.php - Reverse search by multiple osm ids
Marc Tobias Metten [Tue, 16 Jun 2015 19:11:21 +0000 (21:11 +0200)]
new method /lookup.php - Reverse search by multiple osm ids

9 years agofurther decrease bbox size in tests
Sarah Hoffmann [Fri, 12 Jun 2015 22:11:56 +0000 (00:11 +0200)]
further decrease bbox size in tests

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 12 Jun 2015 21:54:08 +0000 (23:54 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agofix top-bottom mixup in bounding box
Sarah Hoffmann [Fri, 12 Jun 2015 21:53:40 +0000 (23:53 +0200)]
fix top-bottom mixup in bounding box

9 years agoalso return bbox ccordinates as string for nodes
Sarah Hoffmann [Fri, 12 Jun 2015 21:26:38 +0000 (23:26 +0200)]
also return bbox ccordinates as string for nodes

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

9 years agorestrict viewbox size
Sarah Hoffmann [Thu, 11 Jun 2015 13:51:47 +0000 (15:51 +0200)]
restrict viewbox size

9 years agodisable ua direct blocks
Sarah Hoffmann [Thu, 28 May 2015 19:28:44 +0000 (21:28 +0200)]
disable ua direct blocks

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Thu, 28 May 2015 19:27:11 +0000 (21:27 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agofix parameter name
Sarah Hoffmann [Thu, 28 May 2015 19:25:55 +0000 (21:25 +0200)]
fix parameter name

Fixes trac ticket 5319.

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 22 May 2015 20:10:56 +0000 (22:10 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoupdate API tests
Sarah Hoffmann [Fri, 22 May 2015 19:49:31 +0000 (21:49 +0200)]
update API tests

9 years agoMerge branch 'http_proxy' of https://github.com/simonlopez/Nominatim
Sarah Hoffmann [Fri, 22 May 2015 19:20:51 +0000 (21:20 +0200)]
Merge branch 'http_proxy' of https://github.com/simonlopez/Nominatim

9 years agoget rid of sector index, no longer used
Sarah Hoffmann [Thu, 21 May 2015 21:35:04 +0000 (23:35 +0200)]
get rid of sector index, no longer used

9 years agobring back area bboxes for nodes
Sarah Hoffmann [Thu, 21 May 2015 20:33:05 +0000 (22:33 +0200)]
bring back area bboxes for nodes

9 years agoallow usage behind an HTTP Proxy. Fixes twain47/Nominatim#33
Simon Lopez [Tue, 19 May 2015 13:16:07 +0000 (15:16 +0200)]
allow usage behind an HTTP Proxy. Fixes twain47/Nominatim#33

9 years agoforgot include
Sarah Hoffmann [Mon, 18 May 2015 22:09:13 +0000 (00:09 +0200)]
forgot include

9 years agoupdate block message
Sarah Hoffmann [Mon, 18 May 2015 22:05:14 +0000 (00:05 +0200)]
update block message

9 years agotweak block script (use established connections as metric)
Sarah Hoffmann [Mon, 18 May 2015 21:55:06 +0000 (23:55 +0200)]
tweak block script (use established connections as metric)

9 years agowrite correct ban list out
Sarah Hoffmann [Thu, 14 May 2015 10:29:01 +0000 (12:29 +0200)]
write correct ban list out

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Fri, 8 May 2015 18:05:36 +0000 (20:05 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoamke Tiger import script work with python3
Sarah Hoffmann [Fri, 8 May 2015 18:04:22 +0000 (20:04 +0200)]
amke Tiger import script work with python3

9 years agomake Tiger data path configurable
Sarah Hoffmann [Fri, 8 May 2015 17:48:27 +0000 (19:48 +0200)]
make Tiger data path configurable

9 years agoMerge branch 'tiger2014' of https://github.com/mtmail/Nominatim
Sarah Hoffmann [Fri, 8 May 2015 17:37:40 +0000 (19:37 +0200)]
Merge branch 'tiger2014' of https://github.com/mtmail/Nominatim

9 years agomerge addr:postcode from houses into search index of attached road
Sarah Hoffmann [Fri, 8 May 2015 17:34:33 +0000 (19:34 +0200)]
merge addr:postcode from houses into search index of attached road

Makes house number searchable by postcode when the postcode is
only available in addr:postcode.

9 years agoremove debug output
Sarah Hoffmann [Wed, 6 May 2015 19:51:35 +0000 (21:51 +0200)]
remove debug output

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 6 May 2015 19:28:11 +0000 (21:28 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoset SQL statement timeout to php execution timeout
Sarah Hoffmann [Wed, 6 May 2015 19:27:12 +0000 (21:27 +0200)]
set SQL statement timeout to php execution timeout

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 4 May 2015 19:24:51 +0000 (21:24 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoincrease relevance of class/type importance
Sarah Hoffmann [Mon, 4 May 2015 19:14:34 +0000 (21:14 +0200)]
increase relevance of class/type importance

fixes #273

9 years agoupdate Tiger import script to use 2014 data
Marc Tobias Metten [Sun, 3 May 2015 23:13:20 +0000 (01:13 +0200)]
update Tiger import script to use 2014 data

9 years agoupdate Tiger import script to use 2014 data
Marc Tobias Metten [Sun, 3 May 2015 23:07:54 +0000 (01:07 +0200)]
update Tiger import script to use 2014 data

9 years agoremove create-road function, no longer used
Sarah Hoffmann [Sun, 3 May 2015 17:56:08 +0000 (19:56 +0200)]
remove create-road function, no longer used

The road tables are filled during indexing. Fixes #21.

9 years agoplaces marked as linked should use the address of the link origin
Sarah Hoffmann [Sun, 3 May 2015 15:31:14 +0000 (17:31 +0200)]
places marked as linked should use the address of the link origin

fixes #269

9 years agotake ip6 addresses into account for log regex
Sarah Hoffmann [Sun, 3 May 2015 11:20:35 +0000 (13:20 +0200)]
take ip6 addresses into account for log regex

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sun, 3 May 2015 07:19:23 +0000 (09:19 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoadd test for TIGER reverse with lower zoom
Sarah Hoffmann [Thu, 30 Apr 2015 20:17:00 +0000 (22:17 +0200)]
add test for TIGER reverse with lower zoom

9 years agoMerge branch 'reverse-lookup-including-tiger-lookup' of https://github.com/mtmail...
Sarah Hoffmann [Thu, 30 Apr 2015 19:48:25 +0000 (21:48 +0200)]
Merge branch 'reverse-lookup-including-tiger-lookup' of https://github.com/mtmail/Nominatim

9 years agoadd tests for new polygon_threshold feature
Sarah Hoffmann [Thu, 30 Apr 2015 19:39:41 +0000 (21:39 +0200)]
add tests for new polygon_threshold feature

9 years agoMerge branch 'feature/polygon-simplification' of https://github.com/a1exsh/Nominatim
Sarah Hoffmann [Thu, 30 Apr 2015 19:26:11 +0000 (21:26 +0200)]
Merge branch 'feature/polygon-simplification' of https://github.com/a1exsh/Nominatim

9 years agoCheck for positive polygon simplification threshold
Oleksandr Shulgin [Wed, 29 Apr 2015 14:13:39 +0000 (16:13 +0200)]
Check for positive polygon simplification threshold

Don't run the simplification function if no threshold was given
(or in case of a negative one).  Also process the query string
parameter in case of html out format.

9 years agoapply Sarah's pull request feedback
Marc Tobias Metten [Tue, 28 Apr 2015 23:34:32 +0000 (01:34 +0200)]
apply Sarah's pull request feedback

9 years agoremove check for class/type shortcuts which were never implemented
Sarah Hoffmann [Tue, 28 Apr 2015 19:37:51 +0000 (21:37 +0200)]
remove check for class/type shortcuts which were never implemented

fixes #266

9 years agopostgres coalesce() looks for null values, not 0. Result remains in this case 0
Marc Tobias Metten [Tue, 28 Apr 2015 19:14:36 +0000 (21:14 +0200)]
postgres coalesce() looks for null values, not 0. Result remains in this case 0

9 years agoduring reverse geocode lookup we also check the (optional) Tiger data for house numbers
Marc Tobias Metten [Tue, 28 Apr 2015 19:07:34 +0000 (21:07 +0200)]
during reverse geocode lookup we also check the (optional) Tiger data for house numbers

9 years agoset new development version
Sarah Hoffmann [Tue, 28 Apr 2015 18:46:57 +0000 (20:46 +0200)]
set new development version

9 years agoAdd polygon simplification
Oleksandr Shulgin [Mon, 27 Apr 2015 13:16:38 +0000 (15:16 +0200)]
Add polygon simplification

New query string parameter polygon_threshold=<0.0..1> is introduced.
The float value of this parameter (defaults to 0) is passed to
ST_SimplifyPreserveTopology() on geometry we're about to output in
one (or many) requested formats such as GeoJSON, KML, etc.

This is useful when getting border polygons for whole countries, but
rendering them at large scale, when most of the high resolution details
cannot be seen anyway.  For example, the unsimplified polygon data for
Germany in GeoJSON format currently makes for about 3 MB response body.
With use of this new parameter, the application can greatly reduce the
amount of downloaded data and server response time while providing its
users with the same picture.  On a typical laptop screen resolution,
zooming out to fit the whole country borders on screen, only 1/100 amount
of details could be well enough.

9 years agoset software version defaults to something more recent v2.4.0
Sarah Hoffmann [Sun, 19 Apr 2015 21:49:40 +0000 (23:49 +0200)]
set software version defaults to something more recent

9 years agoprepare next release
Sarah Hoffmann [Sat, 18 Apr 2015 20:48:46 +0000 (22:48 +0200)]
prepare next release

9 years agochange scale in munin slowest response graph
Sarah Hoffmann [Sat, 18 Apr 2015 16:42:36 +0000 (18:42 +0200)]
change scale in munin slowest response graph

9 years agolock log file for writing
Sarah Hoffmann [Sat, 18 Apr 2015 16:41:13 +0000 (18:41 +0200)]
lock log file for writing

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sat, 18 Apr 2015 16:40:31 +0000 (18:40 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoignore places without housenumber in interpolations
Sarah Hoffmann [Sat, 18 Apr 2015 15:47:49 +0000 (17:47 +0200)]
ignore places without housenumber in interpolations

fixes trac ticket 5311

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Sat, 11 Apr 2015 17:45:41 +0000 (19:45 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoVarious places where conversion from to ->aStructuredQuery had been missed
Brian Quinion [Tue, 7 Apr 2015 13:04:08 +0000 (14:04 +0100)]
Various places where conversion from  to ->aStructuredQuery had been missed

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 31 Mar 2015 21:09:55 +0000 (23:09 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
sql/functions.sql

9 years agofix boundary test
Sarah Hoffmann [Tue, 31 Mar 2015 21:07:52 +0000 (23:07 +0200)]
fix boundary test

9 years agoclean out dead sql code
Sarah Hoffmann [Mon, 30 Mar 2015 21:43:27 +0000 (23:43 +0200)]
clean out dead sql code

9 years agomake sure place exists before printing hierarchy
Sarah Hoffmann [Sun, 29 Mar 2015 17:03:51 +0000 (19:03 +0200)]
make sure place exists before printing hierarchy

9 years agoforbid crawling of place hierarchy
Sarah Hoffmann [Sun, 29 Mar 2015 16:43:42 +0000 (18:43 +0200)]
forbid crawling of place hierarchy

9 years agocorrectly handle comma-only exclude_place_ids
Sarah Hoffmann [Sun, 29 Mar 2015 16:17:52 +0000 (18:17 +0200)]
correctly handle comma-only exclude_place_ids

9 years agofix utf8 in tests for jsonp
Sarah Hoffmann [Sun, 29 Mar 2015 16:17:28 +0000 (18:17 +0200)]
fix utf8 in tests for jsonp

9 years agocorrectly quote regular expression
Sarah Hoffmann [Sun, 29 Mar 2015 15:23:06 +0000 (17:23 +0200)]
correctly quote regular expression

9 years agouse unescaped unicode in json where supported by PHP
Sarah Hoffmann [Sun, 29 Mar 2015 10:55:12 +0000 (12:55 +0200)]
use unescaped unicode in json where supported by PHP

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Wed, 25 Mar 2015 21:32:54 +0000 (22:32 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoavoid calling add_location for non-addressing features
Sarah Hoffmann [Wed, 25 Mar 2015 21:22:36 +0000 (22:22 +0100)]
avoid calling add_location for non-addressing features

9 years agoonly address features can be linked with placex
Sarah Hoffmann [Mon, 23 Mar 2015 21:04:43 +0000 (22:04 +0100)]
only address features can be linked with placex

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Mon, 23 Mar 2015 21:01:52 +0000 (22:01 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge remote-tracking branch 'upstream/master'
Sarah Hoffmann [Tue, 17 Mar 2015 20:09:44 +0000 (21:09 +0100)]
Merge remote-tracking branch 'upstream/master'