X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/8b1a509442a3fa051146f82b8293126916ad8617..b9a09129fa20a901b20f03ddf2d2547d289b7225:/nominatim/tools/refresh.py?ds=inline diff --git a/nominatim/tools/refresh.py b/nominatim/tools/refresh.py index 6720465f..805bd634 100644 --- a/nominatim/tools/refresh.py +++ b/nominatim/tools/refresh.py @@ -13,12 +13,6 @@ from nominatim.version import NOMINATIM_VERSION LOG = logging.getLogger() -def update_postcodes(dsn, sql_dir): - """ Recalculate postcode centroids and add, remove and update entries in the - location_postcode table. `conn` is an opne connection to the database. - """ - execute_file(dsn, sql_dir / 'update-postcodes.sql') - def recompute_word_counts(dsn, sql_dir): """ Compute the frequency of full-word search terms.