Marc Tobias Metten
9746629fd3
during reverse geocode lookup we also check the (optional) Tiger data for house numbers
2015-04-28 21:07:34 +02:00
Sarah Hoffmann
b7fd7ef169
set new development version
2015-04-28 20:46:57 +02:00
Oleksandr Shulgin
ab47773604
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.
2015-04-27 15:16:38 +02:00
Sarah Hoffmann
07cbf1535b
set software version defaults to something more recent
2015-04-19 23:49:40 +02:00
Sarah Hoffmann
5eb56c11ba
prepare next release
2015-04-18 22:48:46 +02:00
Sarah Hoffmann
b82c8ceab9
ignore places without housenumber in interpolations
...
fixes trac ticket 5311
2015-04-18 17:47:49 +02:00
Brian Quinion
a5a0e1dd0b
Various places where conversion from to ->aStructuredQuery had been missed
2015-04-07 14:04:08 +01:00
Sarah Hoffmann
ddcb95ca39
fix boundary test
2015-03-31 23:07:52 +02:00
Sarah Hoffmann
4a3dc3187c
clean out dead sql code
2015-03-30 23:43:27 +02:00
Sarah Hoffmann
133dd2e974
make sure place exists before printing hierarchy
2015-03-29 19:03:51 +02:00
Sarah Hoffmann
eb1d8894b9
correctly handle comma-only exclude_place_ids
2015-03-29 18:17:52 +02:00
Sarah Hoffmann
59be7846e9
fix utf8 in tests for jsonp
2015-03-29 18:17:28 +02:00
Sarah Hoffmann
aaabf70a1c
correctly quote regular expression
2015-03-29 17:23:06 +02:00
Sarah Hoffmann
987b6a70c9
use unescaped unicode in json where supported by PHP
2015-03-29 13:02:21 +02:00
Sarah Hoffmann
2bcd1aa194
avoid calling add_location for non-addressing features
2015-03-25 22:25:03 +01:00
Sarah Hoffmann
86b4df1e81
only address features can be linked with placex
2015-03-23 22:04:43 +01:00
Sarah Hoffmann
753227ae25
more strict parameter checking for reverse
2015-03-17 21:06:58 +01:00
Sarah Hoffmann
ef48ee5f80
update osm2pgsql (coastline typo)
2015-03-09 21:45:01 +01:00
Sarah Hoffmann
0930f6e728
state setup: get latest node from place, planet_osm_nodes may be empty
2015-03-09 21:33:02 +01:00
Sarah Hoffmann
6f98fa0fb3
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
2015-03-08 18:25:51 +01:00
Sarah Hoffmann
555362eabe
simplify bounding box computation
...
Makes highlighting of points reappear.
2015-03-06 20:58:09 +01:00
Sarah Hoffmann
9f4c7f4e6d
update osm2pgsql (get rid of way-node index)
2015-03-05 23:09:00 +01:00
Sarah Hoffmann
1eb52879c6
replace final reference to way-node index with spatial lookup
2015-03-05 22:00:27 +01:00
Sarah Hoffmann
27ce2afbcf
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.
2015-03-05 22:00:27 +01:00
Sarah Hoffmann
9d9745b378
add more tests for interpolations (mostly updating)
2015-03-05 22:00:27 +01:00
Sarah Hoffmann
30f087b168
switch interpolation node to using the interpolation osm id
2015-03-05 22:00:27 +01:00
Sarah Hoffmann
1ce3307b7a
fix typos and make interpolation tests run
2015-03-05 22:00:26 +01:00
Sarah Hoffmann
a25810d317
write interpolated house numbers complete out and avoid reindexing
2015-03-05 22:00:26 +01:00
Sarah Hoffmann
394a00f521
computation of parent of interpolations
2015-03-05 22:00:26 +01:00
Sarah Hoffmann
9e3e7bf791
switch remaining GRANTs to configurable web user
...
fixes #252
2015-03-05 21:55:20 +01:00
Sarah Hoffmann
6dcdf34fda
Merge pull request #250 from mtmail/patch-1
...
Update README.md
2015-03-03 19:55:33 +01:00
mtmail
f4d7337266
Update README.md
...
Added missing `shapely` library and instructions how to install `pip` on Ubuntu
2015-03-02 23:57:41 +01:00
Sarah Hoffmann
7ed580f1d5
enable NameOnlySearch per default
2015-02-27 19:55:31 +01:00
Sarah Hoffmann
c6d8e91b88
add script for recomputing word frequencies
2015-02-27 19:53:11 +01:00
Sarah Hoffmann
340b9793d6
update scene builder to compile with latest libosmium
2015-02-21 16:35:54 +01:00
Sarah Hoffmann
82e5a95f16
also drop interpolation index
2015-02-21 14:17:34 +01:00
Sarah Hoffmann
822ca14480
add makefile for test scene extractor
2015-02-21 14:11:05 +01:00
Sarah Hoffmann
b41a5c962c
drop unnecessary index
2015-02-19 08:07:04 +01:00
Marc Tobias Metten
3c2c3ab674
check database results before using variable
2015-02-18 17:53:49 +01:00
Sarah Hoffmann
2b2b6ffadc
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.
2015-02-15 19:36:39 +01:00
Sarah Hoffmann
02cd91d251
update osm2pgsql (bug in relation update)
2015-02-11 22:31:30 +01:00
Sarah Hoffmann
5d87136969
reduce search area for secondary adresses when areas are involved
2015-02-09 19:35:15 +01:00
Sarah Hoffmann
0de6f37647
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).
2015-02-09 19:35:15 +01:00
Sarah Hoffmann
c9f3d7d08b
disable housenumber-specific search when no address details are provided
2015-02-05 21:13:33 +01:00
Sarah Hoffmann
62ed8b9e0c
add test for house number search
2015-02-04 20:39:20 +01:00
Sarah Hoffmann
cf5ced6618
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.
2015-02-04 20:31:30 +01:00
Sarah Hoffmann
0f84371748
actually write back the reversed final phrase when reversing the query
2015-02-04 20:29:38 +01:00
Sarah Hoffmann
43b925b258
slightly relax API tests
2015-02-03 23:17:51 +01:00
Sarah Hoffmann
b145dadd63
correctly quote display name in html search result
2015-02-03 23:12:21 +01:00
Sarah Hoffmann
7769b0a823
junctions should not appear as roads in addresses
...
fixes #228
2015-01-30 22:25:08 +01:00