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

9 years agodetails view: use class name if type is yes
Sarah Hoffmann [Mon, 26 Jan 2015 21:24:16 +0000 (22:24 +0100)]
details view: use class name if type is yes

fixes #209

9 years agodon't use tokens from country parameter in address field of searches
Sarah Hoffmann [Mon, 26 Jan 2015 20:59:36 +0000 (21:59 +0100)]
don't use tokens from country parameter in address field of searches

fixes #218

9 years agoneed phrase types in getGroupedSearches
Sarah Hoffmann [Mon, 26 Jan 2015 20:34:21 +0000 (21:34 +0100)]
need phrase types in getGroupedSearches

9 years agoMerge remote-tracking branch 'lonvia/inverse-query-II'
Sarah Hoffmann [Fri, 23 Jan 2015 15:46:50 +0000 (16:46 +0100)]
Merge remote-tracking branch 'lonvia/inverse-query-II'

9 years agoswitch to enhanced osm2pgsql C++ version
Sarah Hoffmann [Fri, 23 Jan 2015 07:13:11 +0000 (08:13 +0100)]
switch to enhanced osm2pgsql C++ version

This includes a major rewrite of the tag processing code. Much more
data is already rejected during osm2pgsql processing and names are
choosen more selectively depending on the class/type.

9 years agoadapt API tests to latest data
Sarah Hoffmann [Wed, 21 Jan 2015 23:06:44 +0000 (00:06 +0100)]
adapt API tests to latest data

9 years agofully evaluate reverse order of queries
Sarah Hoffmann [Thu, 30 Oct 2014 22:00:47 +0000 (23:00 +0100)]
fully evaluate reverse order of queries

Factors out computation of search group and calls the code once
for forward evaluation and wants with reversed word order.

9 years agotablespace definition belongs before the where clause
Sarah Hoffmann [Tue, 20 Jan 2015 19:45:16 +0000 (20:45 +0100)]
tablespace definition belongs before the where clause

9 years agoremove unused functions
Sarah Hoffmann [Fri, 16 Jan 2015 20:36:35 +0000 (21:36 +0100)]
remove unused functions

9 years agofinish osm2pgsql tag tests
Sarah Hoffmann [Wed, 14 Jan 2015 22:13:38 +0000 (23:13 +0100)]
finish osm2pgsql tag tests

9 years agomore osm2pgsql tag tests
Sarah Hoffmann [Tue, 13 Jan 2015 21:16:00 +0000 (22:16 +0100)]
more osm2pgsql tag tests

9 years agosupport tablespaces and www user config in tiger import
Sarah Hoffmann [Sun, 11 Jan 2015 12:44:39 +0000 (13:44 +0100)]
support tablespaces and www user config in tiger import

9 years agotests for name import in osm2pgsql
Sarah Hoffmann [Fri, 9 Jan 2015 22:17:17 +0000 (23:17 +0100)]
tests for name import in osm2pgsql

9 years agoproperly close connection in test
Sarah Hoffmann [Fri, 9 Jan 2015 22:16:53 +0000 (23:16 +0100)]
properly close connection in test