]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 agomore strict parameter checking for reverse
Sarah Hoffmann [Tue, 17 Mar 2015 20:05:54 +0000 (21:05 +0100)]
more strict parameter checking for reverse

9 years agoupdate osm2pgsql (coastline typo)
Sarah Hoffmann [Sun, 8 Mar 2015 20:47:53 +0000 (21:47 +0100)]
update osm2pgsql (coastline typo)

9 years agostate setup: get latest node from place, planet_osm_nodes may be empty
Sarah Hoffmann [Mon, 9 Mar 2015 20:33:02 +0000 (21:33 +0100)]
state setup: get latest node from place, planet_osm_nodes may be empty

9 years agointerpolations: snap lines to points, not vice versa
Sarah Hoffmann [Sun, 8 Mar 2015 17:25:51 +0000 (18:25 +0100)]
interpolations: snap lines to points, not vice versa

Avoids the occasional rounding problem which might occur when splitting
a line anywhere but on a support point, see postgis doc for ST_Split.

Fixes #253

9 years agosimplify bounding box computation
Sarah Hoffmann [Fri, 6 Mar 2015 19:58:09 +0000 (20:58 +0100)]
simplify bounding box computation

Makes highlighting of points reappear.

9 years agoupdate osm2pgsql (get rid of way-node index)
Sarah Hoffmann [Thu, 5 Mar 2015 22:09:00 +0000 (23:09 +0100)]
update osm2pgsql (get rid of way-node index)

9 years agoreplace final reference to way-node index with spatial lookup
Sarah Hoffmann [Wed, 25 Feb 2015 22:33:30 +0000 (23:33 +0100)]
replace final reference to way-node index with spatial lookup

9 years agoreorder parenting search for POI level
Sarah Hoffmann [Wed, 25 Feb 2015 22:04:24 +0000 (23:04 +0100)]
reorder parenting search for POI level

Push back the more expensive node-on-way parenting which is rather
rare anyways. Prefer assodicatedStreet relations and addr:* tags
instead.

9 years agoadd more tests for interpolations (mostly updating)
Sarah Hoffmann [Tue, 24 Feb 2015 21:10:31 +0000 (22:10 +0100)]
add more tests for interpolations (mostly updating)

9 years agoswitch interpolation node to using the interpolation osm id
Sarah Hoffmann [Mon, 23 Feb 2015 22:29:31 +0000 (23:29 +0100)]
switch interpolation node to using the interpolation osm id

9 years agofix typos and make interpolation tests run
Sarah Hoffmann [Wed, 18 Feb 2015 23:38:54 +0000 (00:38 +0100)]
fix typos and make interpolation tests run

9 years agowrite interpolated house numbers complete out and avoid reindexing
Sarah Hoffmann [Wed, 18 Feb 2015 22:25:46 +0000 (23:25 +0100)]
write interpolated house numbers complete out and avoid reindexing

9 years agocomputation of parent of interpolations
Sarah Hoffmann [Mon, 16 Feb 2015 23:00:36 +0000 (00:00 +0100)]
computation of parent of interpolations

9 years agoswitch remaining GRANTs to configurable web user
Sarah Hoffmann [Thu, 5 Mar 2015 20:55:20 +0000 (21:55 +0100)]
switch remaining GRANTs to configurable web user

fixes #252

9 years agoMerge pull request #250 from mtmail/patch-1
Sarah Hoffmann [Tue, 3 Mar 2015 18:55:33 +0000 (19:55 +0100)]
Merge pull request #250 from mtmail/patch-1

Update README.md

9 years agoUpdate README.md
mtmail [Mon, 2 Mar 2015 22:57:41 +0000 (23:57 +0100)]
Update README.md

Added missing `shapely` library and instructions how to install `pip` on Ubuntu

9 years agoenable NameOnlySearch per default
Sarah Hoffmann [Fri, 27 Feb 2015 18:55:31 +0000 (19:55 +0100)]
enable NameOnlySearch per default

9 years agoadd script for recomputing word frequencies
Sarah Hoffmann [Fri, 27 Feb 2015 18:53:11 +0000 (19:53 +0100)]
add script for recomputing word frequencies

9 years agoupdate scene builder to compile with latest libosmium
Sarah Hoffmann [Sat, 21 Feb 2015 15:35:54 +0000 (16:35 +0100)]
update scene builder to compile with latest libosmium

9 years agoalso drop interpolation index
Sarah Hoffmann [Thu, 19 Feb 2015 21:56:22 +0000 (22:56 +0100)]
also drop interpolation index

9 years agoadd makefile for test scene extractor
Sarah Hoffmann [Sat, 21 Feb 2015 13:10:27 +0000 (14:10 +0100)]
add makefile for test scene extractor

9 years agodrop unnecessary index
Sarah Hoffmann [Thu, 19 Feb 2015 07:07:04 +0000 (08:07 +0100)]
drop unnecessary index

9 years agocheck database results before using variable
Marc Tobias Metten [Wed, 18 Feb 2015 16:53:49 +0000 (17:53 +0100)]
check database results before using variable

9 years agodrop special handling of short exact terms in address
Sarah Hoffmann [Sun, 15 Feb 2015 18:36:39 +0000 (19:36 +0100)]
drop special handling of short exact terms in address

There is a double check against exact terms, so that results with
a matching exact short term will float to the top.

9 years agoupdate osm2pgsql (bug in relation update)
Sarah Hoffmann [Wed, 11 Feb 2015 21:31:30 +0000 (22:31 +0100)]
update osm2pgsql (bug in relation update)

9 years agoreduce search area for secondary adresses when areas are involved
Sarah Hoffmann [Fri, 6 Feb 2015 22:22:20 +0000 (23:22 +0100)]
reduce search area for secondary adresses when areas are involved

9 years agoremove address lines with fully duplicated keywords
Sarah Hoffmann [Fri, 6 Feb 2015 20:05:37 +0000 (21:05 +0100)]
remove address lines with fully duplicated keywords

Mainly there to avoid having many duplicated postcode entries
in place_addressline from nodes which have tags where only
addr:postcode is recognized by Nominatim (e.g. fire hydrants).

9 years agodisable housenumber-specific search when no address details are provided
Sarah Hoffmann [Thu, 5 Feb 2015 20:13:33 +0000 (21:13 +0100)]
disable housenumber-specific search when no address details are provided

9 years agoadd test for house number search
Sarah Hoffmann [Wed, 4 Feb 2015 19:39:20 +0000 (20:39 +0100)]
add test for house number search

9 years agoorder search results by existance of housenumbers
Sarah Hoffmann [Mon, 2 Feb 2015 06:41:28 +0000 (07:41 +0100)]
order search results by existance of housenumbers

When searching for an address with housenumber, include the house
number lookup already when searching in search_name so that we do
not cut away relevant results in cases where there are too many
street pieces.

9 years agoactually write back the reversed final phrase when reversing the query
Sarah Hoffmann [Wed, 4 Feb 2015 19:29:38 +0000 (20:29 +0100)]
actually write back the reversed final phrase when reversing the query

9 years agoslightly relax API tests
Sarah Hoffmann [Tue, 3 Feb 2015 22:17:51 +0000 (23:17 +0100)]
slightly relax API tests

9 years agocorrectly quote display name in html search result
Sarah Hoffmann [Tue, 3 Feb 2015 22:12:21 +0000 (23:12 +0100)]
correctly quote display name in html search result

9 years agojunctions should not appear as roads in addresses
Sarah Hoffmann [Fri, 30 Jan 2015 21:22:17 +0000 (22:22 +0100)]
junctions should not appear as roads in addresses

fixes #228

9 years agouse _st_intersects when dealing with countries, it does not use index
Sarah Hoffmann [Wed, 28 Jan 2015 20:40:08 +0000 (21:40 +0100)]
use _st_intersects when dealing with countries, it does not use index

9 years agoshow class instead of yes in html search output
Sarah Hoffmann [Tue, 27 Jan 2015 21:22:26 +0000 (22:22 +0100)]
show class instead of yes in html search output

9 years agoremove hack for fixing adminitrative typo
Sarah Hoffmann [Mon, 26 Jan 2015 21:33:56 +0000 (22:33 +0100)]
remove hack for fixing adminitrative typo