Sarah Hoffmann
23fa6018a4
make sure linked places get recomputed when unlinked
...
When linked the place may not be in the search index,
so it must be reindexed when being unlinked. The status
change will only have an effect during the subsequent
update, so change tests to that effect.
2016-03-28 09:51:29 +02:00
Sarah Hoffmann
53eb9a5f14
fix syntax errors in tiger code and adapt format of dummy tables
2016-03-27 23:45:20 +02:00
Markus Gail
7dd0a63b68
Fix coding style.
2016-03-23 09:34:36 +01:00
Markus Gail
291fdd1894
Tested Version of new Tiger line storage format.
2016-03-21 14:14:01 +01:00
Markus Gail
46cef36184
Implement geocoding and reverse geocoding with tiger interpolation lines instead of points.
2016-03-21 14:14:01 +01:00
Markus Gail
bc449e10be
change tiger housenumber format to save as lines instead of points and thus new interpolation
2016-03-21 14:07:12 +01:00
Sarah Hoffmann
9fb2bf36be
streamline get_name_by_language()
...
patch by mdeweerd
2015-09-24 23:52:03 +02:00
Sarah Hoffmann
134553b184
ignore man_made objects in reverse search
...
fixes https://trac.openstreetmap.org/ticket/5339
2015-08-04 21:44:19 +02:00
Sarah Hoffmann
dd97528726
get rid of sector index, no longer used
2015-05-21 23:35:04 +02:00
Sarah Hoffmann
2f8a29ba39
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.
2015-05-08 19:34:33 +02:00
Sarah Hoffmann
4ba93dcb50
remove debug output
2015-05-06 21:51:35 +02:00
Sarah Hoffmann
6727c36298
places marked as linked should use the address of the link origin
...
fixes #269
2015-05-03 17:31:14 +02:00
Sarah Hoffmann
b82c8ceab9
ignore places without housenumber in interpolations
...
fixes trac ticket 5311
2015-04-18 17:47:49 +02:00
Sarah Hoffmann
4a3dc3187c
clean out dead sql code
2015-03-30 23:43:27 +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
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
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
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
c6d8e91b88
add script for recomputing word frequencies
2015-02-27 19:53:11 +01:00
Sarah Hoffmann
82e5a95f16
also drop interpolation index
2015-02-21 14:17:34 +01:00
Sarah Hoffmann
b41a5c962c
drop unnecessary index
2015-02-19 08:07:04 +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
021702f190
tablespace definition belongs before the where clause
2015-01-20 20:45:16 +01:00
Sarah Hoffmann
138b8a2ada
remove unused functions
2015-01-16 21:36:35 +01:00
Sarah Hoffmann
f156da6b63
support tablespaces and www user config in tiger import
2015-01-11 13:44:39 +01:00
Sarah Hoffmann
a855bfc6e5
be more restrictive with sql select when computing linked waterways
2014-12-30 22:55:24 +01:00
Sarah Hoffmann
c391479c58
reorganise table creation
...
- remove unused tables
- make apache user configurable
- introduce configurable tablespaces
2014-12-02 00:05:21 +01:00
Sarah Hoffmann
59de7c5a9b
fix address interpolation for self-intersecting ways
2014-11-03 22:42:34 +01:00
Sarah Hoffmann
dd18e74079
remove all unidentified large areas from addresses
2014-10-08 23:33:46 +02:00
Sarah Hoffmann
8989776bfd
remove most landuses from addresses
2014-10-08 20:47:32 +02:00
Sarah Hoffmann
d899b3b04c
reintroduce index on gb_postcode
2014-10-08 20:43:19 +02:00
Sarah Hoffmann
2d6f00945a
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
2014-10-05 22:16:02 +02:00
Sarah Hoffmann
b6fd7b1857
lower significance of postcodes in Singapure
...
Postcodes with 6 digits designate delivery points, i.e. houses.
2014-09-11 19:42:52 +02:00
Sarah Hoffmann
a7d3146967
remove special casing of houses and postcodes in place import
2014-09-08 22:27:24 +02:00
Sarah Hoffmann
031f20c3e6
add simplified geometry index for reverse queries
2014-09-07 17:17:49 +02:00
Sarah Hoffmann
a27bf64a55
disable unused function get_coonected_ways()
...
interferes with testing because of a reverse dependency on planet_osm_ways
2014-08-29 22:13:57 +02:00
Sarah Hoffmann
6b0ecb0e2f
support colon in wikipedia article names
...
fixes #172
2014-08-17 22:31:18 +02:00
Sarah Hoffmann
8a4bd7fa4c
consider side_streams as part of waterways if they have the same name
...
fixes #155
2014-07-21 23:11:28 +02:00
Sarah Hoffmann
2643225b72
fix member lookup in empty waterway relations
2014-07-06 23:15:53 +02:00
Sarah Hoffmann
c3dcb6535a
go through entire member list when checking waterway relations
2014-07-06 21:23:11 +02:00
Brian Quinion
7c54c81b77
update tiger import for changes to functions.sql
2014-06-26 17:12:39 +01:00
Sarah Hoffmann
0ab547793d
inherit postcode from street to poi
2014-05-26 22:42:03 +02:00
Sarah Hoffmann
665446e1a6
omit places with zero address rank from address lookup tables
2014-05-18 21:45:29 +02:00