]>
git.openstreetmap.org Git - nominatim.git/log
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.
Sarah Hoffmann [Sat, 18 Apr 2015 20:48:46 +0000 (22:48 +0200)]
prepare next release
Sarah Hoffmann [Sat, 18 Apr 2015 15:47:49 +0000 (17:47 +0200)]
ignore places without housenumber in interpolations
fixes trac ticket 5311
Brian Quinion [Tue, 7 Apr 2015 13:04:08 +0000 (14:04 +0100)]
Various places where conversion from to ->aStructuredQuery had been missed
Sarah Hoffmann [Tue, 31 Mar 2015 21:07:52 +0000 (23:07 +0200)]
fix boundary test
Sarah Hoffmann [Mon, 30 Mar 2015 21:43:27 +0000 (23:43 +0200)]
clean out dead sql code
Sarah Hoffmann [Sun, 29 Mar 2015 17:03:51 +0000 (19:03 +0200)]
make sure place exists before printing hierarchy
Sarah Hoffmann [Sun, 29 Mar 2015 16:17:52 +0000 (18:17 +0200)]
correctly handle comma-only exclude_place_ids
Sarah Hoffmann [Sun, 29 Mar 2015 16:17:28 +0000 (18:17 +0200)]
fix utf8 in tests for jsonp
Sarah Hoffmann [Sun, 29 Mar 2015 15:23:06 +0000 (17:23 +0200)]
correctly quote regular expression
Sarah Hoffmann [Sun, 29 Mar 2015 10:55:12 +0000 (12:55 +0200)]
use unescaped unicode in json where supported by PHP
Sarah Hoffmann [Wed, 25 Mar 2015 21:22:36 +0000 (22:22 +0100)]
avoid calling add_location for non-addressing features
Sarah Hoffmann [Mon, 23 Mar 2015 21:04:43 +0000 (22:04 +0100)]
only address features can be linked with placex
Sarah Hoffmann [Tue, 17 Mar 2015 20:05:54 +0000 (21:05 +0100)]
more strict parameter checking for reverse
Sarah Hoffmann [Sun, 8 Mar 2015 20:47:53 +0000 (21:47 +0100)]
update osm2pgsql (coastline typo)
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
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
Sarah Hoffmann [Fri, 6 Mar 2015 19:58:09 +0000 (20:58 +0100)]
simplify bounding box computation
Makes highlighting of points reappear.
Sarah Hoffmann [Thu, 5 Mar 2015 22:09:00 +0000 (23:09 +0100)]
update osm2pgsql (get rid of way-node index)
Sarah Hoffmann [Wed, 25 Feb 2015 22:33:30 +0000 (23:33 +0100)]
replace final reference to way-node index with spatial lookup
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.
Sarah Hoffmann [Tue, 24 Feb 2015 21:10:31 +0000 (22:10 +0100)]
add more tests for interpolations (mostly updating)
Sarah Hoffmann [Mon, 23 Feb 2015 22:29:31 +0000 (23:29 +0100)]
switch interpolation node to using the interpolation osm id
Sarah Hoffmann [Wed, 18 Feb 2015 23:38:54 +0000 (00:38 +0100)]
fix typos and make interpolation tests run
Sarah Hoffmann [Wed, 18 Feb 2015 22:25:46 +0000 (23:25 +0100)]
write interpolated house numbers complete out and avoid reindexing
Sarah Hoffmann [Mon, 16 Feb 2015 23:00:36 +0000 (00:00 +0100)]
computation of parent of interpolations
Sarah Hoffmann [Thu, 5 Mar 2015 20:55:20 +0000 (21:55 +0100)]
switch remaining GRANTs to configurable web user
fixes #252
Sarah Hoffmann [Tue, 3 Mar 2015 18:55:33 +0000 (19:55 +0100)]
Merge pull request #250 from mtmail/patch-1
Update 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
Sarah Hoffmann [Fri, 27 Feb 2015 18:55:31 +0000 (19:55 +0100)]
enable NameOnlySearch per default
Sarah Hoffmann [Fri, 27 Feb 2015 18:53:11 +0000 (19:53 +0100)]
add script for recomputing word frequencies
Sarah Hoffmann [Sat, 21 Feb 2015 15:35:54 +0000 (16:35 +0100)]
update scene builder to compile with latest libosmium
Sarah Hoffmann [Thu, 19 Feb 2015 21:56:22 +0000 (22:56 +0100)]
also drop interpolation index
Sarah Hoffmann [Sat, 21 Feb 2015 13:10:27 +0000 (14:10 +0100)]
add makefile for test scene extractor
Sarah Hoffmann [Thu, 19 Feb 2015 07:07:04 +0000 (08:07 +0100)]
drop unnecessary index
Marc Tobias Metten [Wed, 18 Feb 2015 16:53:49 +0000 (17:53 +0100)]
check database results before using variable
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.
Sarah Hoffmann [Wed, 11 Feb 2015 21:31:30 +0000 (22:31 +0100)]
update osm2pgsql (bug in relation update)
Sarah Hoffmann [Fri, 6 Feb 2015 22:22:20 +0000 (23:22 +0100)]
reduce search area for secondary adresses when areas are involved
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).
Sarah Hoffmann [Thu, 5 Feb 2015 20:13:33 +0000 (21:13 +0100)]
disable housenumber-specific search when no address details are provided
Sarah Hoffmann [Wed, 4 Feb 2015 19:39:20 +0000 (20:39 +0100)]
add test for house number search
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.
Sarah Hoffmann [Wed, 4 Feb 2015 19:29:38 +0000 (20:29 +0100)]
actually write back the reversed final phrase when reversing the query
Sarah Hoffmann [Tue, 3 Feb 2015 22:17:51 +0000 (23:17 +0100)]
slightly relax API tests
Sarah Hoffmann [Tue, 3 Feb 2015 22:12:21 +0000 (23:12 +0100)]
correctly quote display name in html search result
Sarah Hoffmann [Fri, 30 Jan 2015 21:22:17 +0000 (22:22 +0100)]
junctions should not appear as roads in addresses
fixes #228
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
Sarah Hoffmann [Tue, 27 Jan 2015 21:22:26 +0000 (22:22 +0100)]
show class instead of yes in html search output
Sarah Hoffmann [Mon, 26 Jan 2015 21:33:56 +0000 (22:33 +0100)]
remove hack for fixing adminitrative typo
Sarah Hoffmann [Mon, 26 Jan 2015 21:24:16 +0000 (22:24 +0100)]
details view: use class name if type is yes
fixes #209
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
Sarah Hoffmann [Mon, 26 Jan 2015 20:34:21 +0000 (21:34 +0100)]
need phrase types in getGroupedSearches
Sarah Hoffmann [Fri, 23 Jan 2015 15:46:50 +0000 (16:46 +0100)]
Merge remote-tracking branch 'lonvia/inverse-query-II'
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.
Sarah Hoffmann [Wed, 21 Jan 2015 23:06:44 +0000 (00:06 +0100)]
adapt API tests to latest data
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.
Sarah Hoffmann [Tue, 20 Jan 2015 19:45:16 +0000 (20:45 +0100)]
tablespace definition belongs before the where clause
Sarah Hoffmann [Fri, 16 Jan 2015 20:36:35 +0000 (21:36 +0100)]
remove unused functions
Sarah Hoffmann [Wed, 14 Jan 2015 22:13:38 +0000 (23:13 +0100)]
finish osm2pgsql tag tests
Sarah Hoffmann [Tue, 13 Jan 2015 21:16:00 +0000 (22:16 +0100)]
more osm2pgsql tag tests
Sarah Hoffmann [Sun, 11 Jan 2015 12:44:39 +0000 (13:44 +0100)]
support tablespaces and www user config in tiger import
Sarah Hoffmann [Fri, 9 Jan 2015 22:17:17 +0000 (23:17 +0100)]
tests for name import in osm2pgsql
Sarah Hoffmann [Fri, 9 Jan 2015 22:16:53 +0000 (23:16 +0100)]
properly close connection in test
Sarah Hoffmann [Fri, 9 Jan 2015 22:16:31 +0000 (23:16 +0100)]
reuse template db for tests by default
Sarah Hoffmann [Tue, 30 Dec 2014 21:55:24 +0000 (22:55 +0100)]
be more restrictive with sql select when computing linked waterways
Sarah Hoffmann [Sun, 28 Dec 2014 22:10:10 +0000 (23:10 +0100)]
support tablespaces for special phrase table
Sarah Hoffmann [Sat, 20 Dec 2014 13:55:08 +0000 (14:55 +0100)]
add underscore back to derelict canal
fixes #212 (again)
Sarah Hoffmann [Fri, 19 Dec 2014 23:02:26 +0000 (00:02 +0100)]
remove duplicate derelict canal
fixes #212
Sarah Hoffmann [Fri, 19 Dec 2014 22:44:54 +0000 (23:44 +0100)]
add hint about osm2pgsql submodule
Sarah Hoffmann [Thu, 27 Nov 2014 20:54:09 +0000 (21:54 +0100)]
reorganise table creation
- remove unused tables
- make apache user configurable
- introduce configurable tablespaces
Sarah Hoffmann [Fri, 28 Nov 2014 21:16:56 +0000 (22:16 +0100)]
remove debug output
Sarah Hoffmann [Thu, 27 Nov 2014 21:23:04 +0000 (22:23 +0100)]
more tolerant regexp for parsing replication state directories
Apache 2.4 has changed the date format, so that the current regexp
doesn't match anymore, so be more tolerant with the date format.
Also force less fancy output formatting without tables.
Sarah Hoffmann [Mon, 3 Nov 2014 21:41:12 +0000 (22:41 +0100)]
fix address interpolation for self-intersecting ways
Sarah Hoffmann [Sun, 2 Nov 2014 18:06:01 +0000 (19:06 +0100)]
transliterate precomputed house numbers
Sarah Hoffmann [Wed, 29 Oct 2014 20:04:28 +0000 (21:04 +0100)]
only check for postgres major and minor version
fixes #192
Sarah Hoffmann [Wed, 29 Oct 2014 19:37:56 +0000 (20:37 +0100)]
use unique function name for test step
Marc Tobias Metten [Tue, 28 Oct 2014 14:40:01 +0000 (15:40 +0100)]
add regression test
Marc Tobias Metten [Tue, 28 Oct 2014 13:27:40 +0000 (14:27 +0100)]
for PlaceLookup if we look for nodes then the centroid does not exist in the placex table
Sarah Hoffmann [Sun, 19 Oct 2014 22:02:29 +0000 (00:02 +0200)]
fix typo in osm test file generator
Sarah Hoffmann [Wed, 15 Oct 2014 22:33:56 +0000 (00:33 +0200)]
PATH_INFO is delivered URL encoded on newer apache 2.4
Sarah Hoffmann [Thu, 9 Oct 2014 19:04:16 +0000 (21:04 +0200)]
adapt API tests to latest OSM data changes
Sarah Hoffmann [Wed, 8 Oct 2014 21:33:46 +0000 (23:33 +0200)]
remove all unidentified large areas from addresses
Sarah Hoffmann [Wed, 8 Oct 2014 21:31:33 +0000 (23:31 +0200)]
respect bounded in country searches
fixes trac 5238
Sarah Hoffmann [Wed, 8 Oct 2014 18:47:32 +0000 (20:47 +0200)]
remove most landuses from addresses
Sarah Hoffmann [Wed, 8 Oct 2014 18:43:19 +0000 (20:43 +0200)]
reintroduce index on gb_postcode
Sarah Hoffmann [Fri, 3 Oct 2014 19:55:18 +0000 (21:55 +0200)]
rewrite address interpolation so that planet_osm_node is not needed
This allows address interpolations to work correctly when flatnode storage
is used for node coordinates.
To fix interpolations in an existing database, follow these steps:
* invalidate all interpolations (in psql):
`UPDATE placex SET indexed_status=2 WHERE rank_search = 28`
* disable updates:
./utils/setup.php --create-functions --create-partition-functions
* reindex the whole lot:
./utils/update.php --index --index-instances <number of your cpus>
* enable updates again:
./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
Sarah Hoffmann [Sat, 4 Oct 2014 20:50:04 +0000 (22:50 +0200)]
officially drop support for postgres 8.4
Sarah Hoffmann [Sat, 4 Oct 2014 20:20:40 +0000 (22:20 +0200)]
bump development version to 2.4
Sarah Hoffmann [Fri, 3 Oct 2014 20:48:39 +0000 (22:48 +0200)]
prepare next release
Sarah Hoffmann [Mon, 29 Sep 2014 17:31:37 +0000 (19:31 +0200)]
add finished message to setup.php
Sarah Hoffmann [Thu, 1 May 2014 15:53:13 +0000 (17:53 +0200)]
experimental tweaking of ranks of searches
- completely removes partial words with spaces from addresses
- ensure that frequent partial search terms appear in NonAddress
- higher penalty for partial words consisting of numbers
Sarah Hoffmann [Wed, 24 Sep 2014 21:19:20 +0000 (23:19 +0200)]
update osm2pgsql (protobuf lib)
fixes #175
Marc Tobias Metten [Tue, 23 Sep 2014 20:53:20 +0000 (22:53 +0200)]
move looksLikeLatLonPair into lib.php, basic PHP test suite using phpunit
Sarah Hoffmann [Sun, 21 Sep 2014 20:44:06 +0000 (22:44 +0200)]
fix adding of spaces in GB postcode
Based on https://github.com/twain47/Nominatim/pull/180 by arunkmp.
Sarah Hoffmann [Thu, 11 Sep 2014 17:42:52 +0000 (19:42 +0200)]
lower significance of postcodes in Singapure
Postcodes with 6 digits designate delivery points, i.e. houses.
Sarah Hoffmann [Wed, 10 Sep 2014 18:55:17 +0000 (20:55 +0200)]
update osm2pgsql (nameless landuses) and add tests for it
Sarah Hoffmann [Wed, 10 Sep 2014 18:52:37 +0000 (20:52 +0200)]
fix running of DB tests via Makefile
Selecting tags for tests to run does not work when the tags are
on the features instead of the scenarios.
Sarah Hoffmann [Mon, 8 Sep 2014 20:27:24 +0000 (22:27 +0200)]
remove special casing of houses and postcodes in place import
Sarah Hoffmann [Sun, 7 Sep 2014 18:11:21 +0000 (20:11 +0200)]
change default nominatim path for tests to obvious '..'