]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/tokenizer/place_sanitizer.py
use line interpolation to create centroid for lines
[nominatim.git] / src / nominatim_db / tokenizer / place_sanitizer.py
index 546d0da33c4b9ecb16844f099179c935f3ce5fa0..68322f9fd5cdf5c488d0f2dca322d31d7ba1c5f6 100644 (file)
@@ -10,8 +10,8 @@ is handed to the token analysis.
 """
 from typing import Optional, List, Mapping, Sequence, Callable, Any, Tuple
 
-from nominatim_core.errors import UsageError
-from nominatim_core.config import Configuration
+from ..errors import UsageError
+from ..config import Configuration
 from .sanitizers.config import SanitizerConfig
 from .sanitizers.base import SanitizerHandler, ProcessInfo
 from ..data.place_name import PlaceName