anqixxx
|
6220bde2d6
|
Added mypy ignore fix for logging.py (library change), as well as quick mac fix on mem.cached
|
2025-05-21 11:11:56 -07:00 |
|
anqixxx
|
618fbc63d7
|
Added testing to test get classtype pairs in import special phrases
|
2025-05-21 10:39:51 -07:00 |
|
anqixxx
|
3f51cb3fd1
|
Made the limit configurable with an optional argument, updating the testing as well to reflect this. default is now 0, meaning that it will return everything that occurs more than once. Removed mock database test, and got rid of fetch all. Rebased all tests to monkeypatch
|
2025-05-21 10:38:34 -07:00 |
|
anqixxx
|
59a947c5f5
|
Removed class type pair getter that used style sheets from both spi_importer and the associated testing function
|
2025-05-21 10:38:08 -07:00 |
|
anqixxx
|
1952290359
|
Removed magic mocking, using monkeypatch instead, and using a placex table to simulate a 'real database'
|
2025-05-21 10:37:42 -07:00 |
|
anqixxx
|
1a323165f9
|
Filter special phrases by style and frequency to fix #235
|
2025-05-21 10:36:46 -07:00 |
|
Sarah Hoffmann
|
97d9e3c548
|
allow updating postcodes without a project directory
Postcodes will then be updated without looking for external postcodes.
|
2025-04-09 20:04:01 +02:00 |
|
Sarah Hoffmann
|
f5755a7a82
|
remove code for setting osm2pgsql via config.lib_dir
With the internal osm2pgsql gone, configuration of the binary location
via settings is the only option left that makes sense.
|
2025-03-11 09:04:05 +01:00 |
|
Miroslav Šedivý
|
6ff51712fe
|
Simplify int/float manipulation
|
2025-03-06 19:26:56 +01:00 |
|
Sarah Hoffmann
|
eeb3d5dd0a
|
make nominatim callable with themepark style
|
2024-12-16 10:26:55 +01:00 |
|
Sarah Hoffmann
|
98c1b923fc
|
remove code only needed for older PostgreSQL/PostGIS versions
|
2024-11-18 10:11:09 +01:00 |
|
Sarah Hoffmann
|
122ecd4626
|
remove remaining pylint hints
|
2024-11-10 22:49:29 +01:00 |
|
Sarah Hoffmann
|
1f07967787
|
fix style issue found by flake8
|
2024-11-10 22:47:14 +01:00 |
|
Sarah Hoffmann
|
b2dc01ad81
|
Revert "work round typing bug in pyosmium 4.0"
This reverts commit f960a9bf7f.
|
2024-09-27 20:19:49 +02:00 |
|
Sarah Hoffmann
|
90e207a497
|
drop automatic migration from versions <4.3
|
2024-09-27 12:07:48 +02:00 |
|
Sarah Hoffmann
|
f960a9bf7f
|
work round typing bug in pyosmium 4.0
|
2024-09-24 11:51:01 +02:00 |
|
Sarah Hoffmann
|
7717bbf59d
|
remove remaining references to php code
|
2024-09-15 15:33:59 +02:00 |
|
Sarah Hoffmann
|
6bc044d9c7
|
remove website setup
The website directory was for PHP scripts only and is no longer
needed.
|
2024-09-15 11:58:55 +02:00 |
|
Sarah Hoffmann
|
7f11de0db9
|
allow None and str for project_dir in NominatimAPI init
|
2024-08-22 22:49:12 +02:00 |
|
Sarah Hoffmann
|
fd9437277e
|
import requests library later than osmium
requests will usually be pulled in by osmium and is therefore not
a direct dependency of nominatim. Make sure it is only used, when
osmium is present.
|
2024-08-19 16:36:09 +02:00 |
|
Sarah Hoffmann
|
6527b7cdcd
|
fail if osm2pgsql is not recent enough
|
2024-08-09 19:25:15 +02:00 |
|
Sarah Hoffmann
|
3cc20581ae
|
osm2pgsq: do not use deprecated tablespace options
|
2024-08-09 19:25:15 +02:00 |
|
marc tobias
|
0ba3d01982
|
Development environment: add missing dependencies
|
2024-08-09 17:57:18 +02:00 |
|
marc tobias
|
7cf21f8caf
|
check-database: check for another required db index
|
2024-08-07 15:19:40 +02:00 |
|
Sarah Hoffmann
|
9659afbade
|
port code to psycopg3
|
2024-07-29 08:50:19 +02:00 |
|
Sarah Hoffmann
|
3742fa2929
|
make DB helper functions free functions
Also changes the drop function so that it can drop multiple tables
at once.
|
2024-07-29 08:49:30 +02:00 |
|
Sarah Hoffmann
|
71249bd94a
|
remove extension existence helper
This is only used in one place.
|
2024-07-29 08:49:02 +02:00 |
|
Mateusz Konieczny
|
e51973f8b1
|
fix some typos
|
2024-07-01 15:03:57 +02:00 |
|
Sarah Hoffmann
|
4da4cbfe27
|
reduce from 3 to 2 packages
|
2024-06-28 09:13:22 +02:00 |
|
Sarah Hoffmann
|
44d5148e5f
|
fix merge issues
|
2024-06-26 11:52:47 +02:00 |
|
Sarah Hoffmann
|
6e89310a92
|
split code into submodules
|
2024-06-26 11:52:47 +02:00 |
|