mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
Ported functions for the import of special phrases from php to python.
- the command is now --import-special-phrases - the output is not an sql file anymore, data are directly imported to the database. - the little part on the documentation (section data import) has been modified.
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
import sys
|
||||
import os
|
||||
|
||||
sys.path.insert(1, '@NOMINATIM_LIBDIR@/lib-python')
|
||||
sys.path.insert(0, '@NOMINATIM_LIBDIR@/lib-python')
|
||||
#Add config directory to the python path for module importation
|
||||
sys.path.insert(1, '@NOMINATIM_CONFIGDIR@/..')
|
||||
|
||||
os.environ['NOMINATIM_NOMINATIM_TOOL'] = os.path.abspath(__file__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user