Sarah Hoffmann
c897b96c41
don't delete names on unknown country boundaries
...
If a country boundary has a country_code that is unknown to
Nominatim, it would delete all names because the coalascing
with country_name would not yield any result.
2017-02-18 13:51:21 +01:00
Rémi BOURGAREL
8a2e401025
Change on get_addressdata check for matching the condition in placex_update
...
On placex_update we stop the indexing to the first parent if the rank_search is above 27. We should do the same check in get_adressdata, because place with a rank_address != 30 and a search_rank > 27 will have only 1 parent.
https://github.com/twain47/Nominatim/issues/534
2016-10-04 15:49:31 +02:00
Sarah Hoffmann
524bd47315
fill place and osmline independently for interpolations on update
...
interpolation lines may be missing in osmline when the interpolation
is broken, so we cannot conclude that a way is not in place, just
because there are no entries in location_property_osmline.
2016-05-28 18:18:18 +02:00
Sarah Hoffmann
8b91284f7f
reintroduce addr:place for interpolation
...
It is perfectly valid that interpolated addresses refer to
something else than a street.
Also gets rid of the maximum interpolation size. As we don't
expand, arbitrary sizes are fine.
2016-05-15 14:24:43 +02:00
Sarah Hoffmann
94d795883f
update comments and formatting
2016-05-15 12:37:20 +02:00
Sarah Hoffmann
28041cbbd9
remove duplicate index
2016-05-15 11:44:54 +02:00
Sarah Hoffmann
821949f087
get housenumber data for interpolations from place table
...
The placex table may not yet be filled when the interpolation
lines are computed.
2016-05-15 09:44:00 +02:00
markigail
190a72cab5
Fix bug in index.c and remove column admin_level from location_property_osmline.
2016-05-08 16:46:42 +02:00
Markus Gail
db719d489f
index on geometry of interpolation lines, and more improvements.
2016-04-27 17:42:59 +02:00
Markus Gail
b03be15442
Merge remote-tracking branch 'origin/master' into osmline
...
Conflicts:
lib/Geocode.php
lib/PlaceLookup.php
sql/functions.sql
sql/tables.sql
utils/setup.php
2016-04-25 11:01:04 +02:00
Markus Gail
7879ad44cd
Remove interpolation lines from placex and save them in an extra table.
2016-04-25 09:44:01 +02:00
Sarah Hoffmann
a32f6c66b8
remove unused location_property_-partion- tables
2016-04-23 10:07:57 +02:00
Sarah Hoffmann
d01d0c13f4
Merge pull request #425 from lonvia/disable-aux-tables
...
make tables for external data (Tiger and aux) configurable
2016-04-12 23:00:24 +02:00
Sarah Hoffmann
a86563cfb1
make tables for external data (Tiger and aux) configurable
...
Introduces two new settings CONST_Use_US_Tiger_Data and
CONST_Use_Aux_Location_data, which are disabled by default.
When false the corresponding tables are ignored in queries
and updates.
Aux and tiger tables are no longer created by default. This
has to be done by the corresponding import scripts. The former
aux table creation can be found in sql/aux_tables.sql for
reference.
2016-04-07 21:47:51 +02:00
Sarah Hoffmann
009882999f
clean up query logging
...
- remove query_log table, keeping only new_query_log
- drop unused import_npi_log table
- disable DB logging per default
- use file logging structure from osm.org
2016-04-07 20:37:27 +02:00
Sarah Hoffmann
02bd322c1d
remove explicitly set postgres/postgis version
...
Get the version from the database where necessary or simply
probe for existence of features. Fake hstore_to_json when
necessary.
Bumps the minimum required versions fro postgres to 9.1 and
for postgis to 2.0.
2016-03-30 22:48:18 +02:00
Sarah Hoffmann
a0a5100807
remove unused files
2016-03-28 22:30:56 +02:00
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
Sarah Hoffmann
ea48e50c60
Merge branch 'place-in-addressdetails' of https://github.com/lonvia/Nominatim
2014-05-16 11:23:05 +02:00
Sarah Hoffmann
052d219205
link waterway relations against contained ways
2014-05-07 22:47:36 +02:00
Sarah Hoffmann
bafd92093b
prefer place tag for address details
2014-04-30 23:31:28 +02:00
Sarah Hoffmann
ffe24a8a64
address inheritance from buildings to pois
...
POI nodes inherit the address tags from surrounding buildings
if they do not have an address of their own.
2014-04-30 20:05:59 +02:00
Sarah Hoffmann
00768d321e
fix addr:place lookup
2014-04-28 21:52:24 +02:00
Sarah Hoffmann
6a1e599f31
avoid unnamed streets in associated street relations
...
fixes https://trac.openstreetmap.org/ticket/4877
2014-04-28 20:27:09 +02:00
Sarah Hoffmann
5882a15bac
handle duplicate word entries correctly when looking for nearest street
2014-04-28 20:01:44 +02:00
Sarah Hoffmann
e3f90f8dcf
assign rank of sea and coastline before area catchall
2014-04-28 16:45:55 +02:00
Sarah Hoffmann
76a83b91d7
fix copying of extratags from linked places
...
Didn't work correctly when the extratags of the parent relation
was null.
2014-04-23 21:29:55 +02:00
Sarah Hoffmann
b4a8bc1fea
invalidate object itself in place_force_update()
2014-04-21 21:41:17 +02:00
Sarah Hoffmann
488cd726ed
suppress recursive updates for places that cannot appear in addresses
2014-04-11 22:57:00 +02:00
Sarah Hoffmann
496e1b0616
give waterways an address but remove them from being part of an address
2014-04-11 22:27:17 +02:00
Sarah Hoffmann
1bb47a6523
allow deletion of large areas of high rank
2014-04-11 22:28:07 +02:00
Sarah Hoffmann
589bad809e
force countries into partitions as determined by country code
...
Avoids to a certain extent propagation of misassignment of
partitions when a country is expanded so far into another
that the centroid ends up in this other country.
2014-04-10 22:55:49 +02:00
Sarah Hoffmann
49fa768f67
remove special handling for place tag values that have fallen out of use
2014-03-29 01:16:08 +01:00
Sarah Hoffmann
f6c7c4fcef
truely ignore country codes provided via tags
2014-03-25 23:52:07 +01:00
Sarah Hoffmann
c2417dd1c4
update ref for postcode boundaries
...
Fixes https://trac.openstreetmap.org/ticket/5140
2014-03-24 13:01:20 +01:00
Sarah Hoffmann
0bdcaa09ec
remove landuses if the name is removed
...
Fixes https://trac.openstreetmap.org/ticket/5104
2014-02-09 08:31:07 +01:00
Sarah Hoffmann
8c2765a000
restrict admin_level change detection to boundary=administrative
2014-02-08 19:23:06 +01:00
Sarah Hoffmann
98b93df83d
recreate place objects when admin_level changes
...
Also added a sanity check to ensure that accidental removal of admin_level
tags on large areas doesn't cause huge reindexing load. That can be disabled
by setting CONST_Limit_Reindexing to false.
2014-02-07 23:37:54 +01:00
Sarah Hoffmann
e0b1e3b66d
replace ST_Line_Interpolate_Point with ST_LineInterpolatePoint (DB adaption needed)
...
Name of function was changed in postgis 2.1 and now prints ugly
deprecation warnings. For older versions of postgis, function
will be renamed to the new name during the setup of the DB.
To update existing databases with postgis < 2.1 run:
ALTER FUNCTION st_line_interpolate_point(geometry, double precision) RENAME TO ST_LineInterpolatePoint
and then reinstall the SQL functions:
./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
2014-02-07 20:10:14 +01:00
Sarah Hoffmann
10f3a4df23
merge postcodes from address objects
...
Take the postcode from the first address object that
has one tagged and use that as display postcode.
2013-12-16 00:00:06 +01:00
Sarah Hoffmann
cbbcc2618f
make classtype table update work when special schemas are used
...
patch from https://trac.openstreetmap.org/ticket/5037
2013-11-23 13:31:29 +01:00
Sarah Hoffmann
bb18cc861c
avoid adding NULL tokens for frequent full names
2013-10-30 21:11:43 +01:00
Sarah Hoffmann
71429b91b4
take non-admin boundaries out of address computation
...
fixes #90
2013-10-15 21:10:46 +02:00
Sarah Hoffmann
b80c1cc774
revoke most of www-data's write rights
2013-09-29 17:22:49 +02:00
Sarah Hoffmann
e3aa2ea787
restrict max admin_level when patching in tag changes into placex
2013-09-19 23:42:15 +02:00
Sarah Hoffmann
f723eb1998
move blocking of highway objects into osm2pgsql
2013-09-19 22:12:33 +02:00
Sarah Hoffmann
de45bafc54
force delete from place if there is no corresponding object in placex
...
This might happen for nameless landuse/natural objects that are added to place
during initial import but then dropped when being copied to placex.
If they later receive a name, thus becoming valid, then place_insert should
delete the orphan object in place and reinsert it. If they are large enough,
the place_delete trigger prevents them from being removed. The additional
update fools the delete trigger.
2013-09-19 22:22:03 +02:00
Brian Quinion
5d147e76fa
only places that are part of the address should be used as a parent
2013-09-09 14:07:33 +01:00
Brian Quinion
1fb5964b0e
Allow linking of ways to points (by name) as well as for relation admin areas
2013-06-18 13:09:30 +01:00
Sarah Hoffmann
62b1fba68a
make isolated dwellings addressable
2013-05-24 23:37:13 +02:00
Sarah Hoffmann
7d24737e22
make POIs as interpolation points work
...
Accept any class/type place as an interpolation point.
2013-05-20 10:44:55 +02:00
Sarah Hoffmann
6ccfe99dc2
fix c&p typo
2013-05-16 21:59:06 +02:00
Sarah Hoffmann
7ca4259866
update admin_level when modifying place
2013-05-14 22:55:20 +02:00
Sarah Hoffmann
63a660ccdc
prefer local data over fallback for country codes
2013-05-11 21:36:36 +02:00
Sarah Hoffmann
e55abf8105
invalidation of non-street house numbers on update
2013-04-30 20:31:48 +02:00
Sarah Hoffmann
ddc46acd26
add support for house numbers without street
2013-04-27 00:57:18 +02:00
Sarah Hoffmann
23d303124e
remove unused columns from word and search_name_* tables
...
Removes 'trigram' and 'location' from word.
Removes 'address', 'importance' and 'country_code' from search_name_*.
Use full geometry in centroid column of search_name_*.
Requires migration of existing tables. For more info see pull request
https://github.com/twain47/Nominatim/pull/45
2013-04-09 22:44:05 +02:00
Sarah Hoffmann
ccf47f5370
more bigint fixes
2013-03-02 20:56:46 +01:00
Brian Quinion
b980f8e4e1
Import class:type from linked features to the extratags files. Use place tags (in extratags) as well as rank to determine feature type. i.e. allow a admin_level=6 feature also tagged as a place=city to still be found when doing a city search.
2013-02-28 12:50:47 +00:00
Sarah Hoffmann
b122ae960c
name patching with default language for the case where the linked place adds translations
2013-02-26 22:29:16 +01:00
Sarah Hoffmann
777e1cdbd9
remove special handling of mountain passes
...
clashes with use of place tags on same node,
needs updated osm2pgsql
2013-02-17 14:53:22 +01:00
Sarah Hoffmann
57facc4767
Revert "increase search radius for named roads"
...
This reverts commit c2d5303192
.
It causes serious performance problems in densely mapped areas.
2013-02-14 00:40:58 +01:00
Brian Quinion
ff61b90baf
another int => bigint issue in addressline
2013-02-12 13:28:07 +00:00
Brian Quinion
c461003f19
fix some mised INTEGER to BIGINT conversions
2013-02-09 15:02:06 +00:00
Sarah Hoffmann
12c0944d93
add partial word search term to keywords as well
2013-02-08 19:11:15 +01:00
Brian Quinion
9177a7f56c
merge in the postcode and is_in terms into the address vector for search
2013-02-07 18:41:17 +00:00
Brian Quinion
dd44ee625b
Delete all records for a linked place so that they are no longer attached to new places
2013-01-24 12:58:16 +00:00
Sarah Hoffmann
3dba772852
delete outdated entries from location_area_country
2013-01-22 08:01:30 +01:00
Sarah Hoffmann
87b250e739
split partition.sql into table and function parts
...
Makes it easier to patch partition functions on an already existing
database.
2013-01-19 17:23:21 +01:00
Brian Quinion
7d250895a5
include zip codes for addresses linked to the street in the address search terms
2012-12-20 17:49:37 +00:00
Brian Quinion
a293328f11
make sure rank 28 to 30 places are assigned a centroid value
2012-12-18 13:37:48 +00:00
Sarah Hoffmann
c2d5303192
increase search radius for named roads
...
alleviates symptoms of trac ticket #4719
2012-12-17 22:14:11 +01:00
Sarah Hoffmann
0eecadb091
invalidate rank >27 places around roads
...
Ensures that addresses are correctly reparented if a road is inserted
after the address itself was inserted.
2012-12-16 11:56:29 +01:00
Sarah Hoffmann
d45011cc32
add street to the address of rank >27 objects
...
fixes trac ticket #4711
2012-12-13 20:31:52 +01:00
Brian Quinion
ad89c1f0ca
better fallback for address component names (avoid labeling mutliple values 'boundary') and handle situation where a place doesn't have a valid name tag for fallback.
2012-12-12 02:09:18 +00:00
Sarah Hoffmann
69fb829dd0
remove unused SQL statements
2012-12-02 23:51:45 +01:00
Sarah Hoffmann
0772061958
select rights on import_polygon_delete for web view
2012-11-29 21:58:05 +01:00
Sarah Hoffmann
59cbfb91cf
add maintenance functions for deleting/updating regions
2012-11-29 21:43:33 +01:00
Brian Quinion
04134f380d
update osm country grid to fully ODBL compatible data set. Update country_grid generation script.
2012-11-14 21:46:48 +00:00
Sarah Hoffmann
fb9a0414ff
give www-data select rights on query_log
2012-11-11 16:41:06 +01:00
Sarah Hoffmann
0e3ac756c9
extend error reporting for invalid geometries
2012-11-08 00:06:47 +01:00
Brian Quinion
a5d5a92304
include a bit of extra details for polygon errors in output on details.php page
2012-11-05 14:00:54 +00:00
Brian Quinion
678dcbd82a
hstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and introduce compatability function for pre 9.1 postgresql
2012-11-01 01:47:30 +00:00
Brian Quinion
1d3ca4faa7
hstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and introduce compatability function for pre 9.1 postgresql
2012-11-01 01:46:19 +00:00
Sarah Hoffmann
491bc8c339
remove country name from address name vector
...
Country is already covered by the country_name entries in the
word table, so removing the country from the address vector will
not change results but reduce the size of search_name significantly.
Patch in names from OSM into the word table
to make sure we have complete coverage. Note that bad entries
still need to be removed by hand.
2012-10-08 00:05:23 +02:00
Sarah Hoffmann
ee2863200c
Merge remote-tracking branch 'lonvia/partial-search-terms'
2012-09-30 09:51:54 +02:00
Sarah Hoffmann
ce1df51d6e
remove mountain ranges from addresses
2012-09-29 18:25:22 +02:00
Sarah Hoffmann
199308ca5e
skip is_in items already in address vector
2012-09-29 18:02:32 +02:00
Sarah Hoffmann
3337515052
check for empty relation before linking
...
Empty relations may indeed appear, if the members of a relation
have been deleted but the tags have been retained. That is
detected as accidental error and the old geometry is retained
in placex while the slim tables contain the new version without members.
2012-09-28 22:58:29 +02:00
Sarah Hoffmann
e73e67001e
ignore frequent partial search terms
...
Adds word counts from a full planet to the word table. There is a
new configuration option CONST_Max_Word_Frequency which allows to
take into account the word count: the value that was set on import
is used to determine if a word is added to the search_name table.
The value during runtime determines if a single term should be
used for partial search or simply be ignored.
2012-09-25 00:36:34 +02:00
Sarah Hoffmann
f1063497ef
use rank_address for linking places and boundaries
...
This manages to match up a lot more places and boundaries below city level.
2012-09-24 20:32:43 +02:00
Sarah Hoffmann
2b8a563b52
fix edge cases when linking nodes
...
edge cases are: missing node in placex, empty name, empty extratags
2012-09-23 18:06:41 +02:00
Brian Quinion
1c75adb39f
defered delete should be done even if the place is otherwise blocked
2012-09-03 14:52:49 +01:00
Brian Quinion
afe30880b4
revert attempt to fix house number re-indexing on update, far too slow
2012-08-31 12:21:07 +01:00
Brian Quinion
8eb39d6a6f
limit reindexing to buildings / addresses
2012-08-29 11:33:33 +01:00
Brian Quinion
b1bd98f070
mark placex as needed re-indexin based on parent_place_id too
2012-08-28 19:05:01 +01:00
Brian Quinion
53466bb817
linked places not being updated on road modification
2012-08-28 18:41:02 +01:00
Sarah Hoffmann
9ab82a4f1f
avoid reassigning address rank of place itself
2012-08-20 23:33:35 +02:00
Sarah Hoffmann
8e004dca44
make sure first of each address rank is used
...
get_addressdata should not really return duplicates but if there are
the first result will be the best one, so make sure that one is used
2012-08-19 23:08:51 +02:00
Sarah Hoffmann
55b59ea139
import TIGER data into temporary table
...
Import TIGER data into a temporary table first that later replaces
the current location_property_tiger table. This way index creation
on the table can be delayed until after the import which should
speed up the import and result in significantly smaller indexes.
Also removed index on parent_place_id as it is covered by
idx_location_property_tiger_housenumber_parent_place_id.
2012-08-18 10:30:42 +02:00
Sarah Hoffmann
8ebc673ebf
places that cannot be part of an address still should get an address themselves
2012-07-31 08:27:59 +02:00