Sarah Hoffmann
fe773c12b2
Merge pull request #3946 from lonvia/enable-entrances-for-reverse
...
Enable entrance lookup for reverse and lookup
2026-01-23 22:10:43 +01:00
Sarah Hoffmann
cc96912580
Merge pull request #3906 from AyushDharDubey/fix/issue_2463-Use-search_name-table-for-TIGER-data-imports-on-'dropped'-databases
...
Use `search_name` as fallback for TIGER imports when update tables are dropped
2026-01-23 20:52:40 +01:00
Sarah Hoffmann
6a6a064ef7
enable entrances for reverse and lookup
2026-01-23 17:38:47 +01:00
Sri Charan Chittineni
c4dc2c862e
fix mypy typing for Starlette state object ( #3944 )
2026-01-22 13:21:34 +01:00
Ayush Dhar Dubey
2698382552
permit import of tiger after freeze
2026-01-09 17:35:01 +05:30
Sarah Hoffmann
a4a2176ded
immediately terminate indexing when a task catches an exception
2026-01-07 09:58:40 +01:00
Sarah Hoffmann
2e2ce2c979
fix version counts
2026-01-01 14:42:12 +01:00
Sarah Hoffmann
99643aa0e9
ignore postcode areas in countries without postcodes properly
2026-01-01 11:21:40 +01:00
Sarah Hoffmann
c05b8f241c
make sure we use exactly the same table structure as osm2pgsql
2025-12-31 00:21:27 +01:00
Sarah Hoffmann
da94d7eea3
need an analyse after the migration
2025-12-30 19:49:07 +01:00
Sarah Hoffmann
f9864b7ec7
grant access right to www user for new postcode table
2025-12-30 17:48:33 +01:00
Sarah Hoffmann
42d139a5d0
analyze postcode table during import
2025-12-30 15:21:20 +01:00
Sarah Hoffmann
f2110e12d6
simplify postcode area for lookups
2025-12-30 15:21:20 +01:00
Sarah Hoffmann
deb6654cfd
add migration for new postcode table
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
6a67cfcddf
adapt search frontend to new postcode table
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
d1cb578535
rework postcode computation
...
Now adds areas to location_postcodes, ignores postcode points
inside areas and supports customizable extents.
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
a97b5d97cb
add support for custom per-country postcode extents
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
9ec607b556
change confusing value in debug output for missing importance
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
89821d01e0
reorganise layout of location_postcode table
...
Also renames the table as this will make it easier to migrate.
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
7ef3f99fa4
drop new place sub-tables on freezing
2025-12-30 15:20:46 +01:00
Sarah Hoffmann
0aa9eee3e7
remove special casing for postcodes in trigger code
2025-12-30 15:20:46 +01:00
Ayush Dhar Dubey
4fd616254a
update Locales constructor:
...
expect output names as argument and avoid redundant configuration initialization
2025-12-20 19:15:33 +05:30
Ayush Dhar Dubey
049164086a
fix: ensure Locales is not initialized when provided in options
2025-12-20 19:12:15 +05:30
Sarah Hoffmann
58e56ec53d
Merge pull request #3901 from AyushDharDubey/fix/issue_3829-use-mwparserfromhell-to-parse-sp-wiki-page
...
Replace regex with `mwparserfromhell` based MW WikiCode Parsing for Special Phrases
2025-12-08 11:51:50 +01:00
Ayush Dhar Dubey
49454048c4
use mwparserfromhell to parse SP wiki page reliably
2025-12-08 11:01:14 +05:30
Sarah Hoffmann
35060164ab
reverse: only return housenumbers near street
2025-12-07 11:00:23 +01:00
Sarah Hoffmann
3bb5d00848
avoid extra query for finding closest housenumber in reverse
2025-12-05 17:09:13 +01:00
Sarah Hoffmann
b366b9df6f
reverse: avoid interpolation lookup when result is already perfect
2025-12-05 17:08:46 +01:00
Sarah Hoffmann
ffd5c32f17
fix comparision between countr tokens and country restriction
2025-12-04 18:29:25 +01:00
Sarah Hoffmann
8188946394
ignore typing isssue
2025-12-03 10:22:11 +01:00
Sarah Hoffmann
cd1b1736a9
add migration for changed country token format
2025-12-01 13:10:18 +01:00
Sarah Hoffmann
81c6cb72e6
add normalised country name to word table
...
Country tokens now follow the usual convetion of having the
normalized version in the word column and the extra info about the
country code in the info column.
2025-12-01 13:10:18 +01:00
Sarah Hoffmann
922667b650
Merge pull request #3892 from daishu0000/master
...
Add success message to setup.log: related to #3891
2025-11-30 14:13:51 +01:00
Sarah Hoffmann
fba803167c
fix imprecise import
2025-11-30 11:50:55 +01:00
daishu0000
782df52ea0
Add success message to db log
2025-11-30 01:53:40 +08:00
Vytautas Liuolia
7b4a3c8500
Add from __future__ import annotations to delay evaluation
2025-11-16 14:41:25 +01:00
Vytautas Liuolia
7751f9a6b6
Adapt type annotations to Falcon App type changes
...
See also: https://falcon.readthedocs.io/en/latest/api/typing.html#generic-app-types
2025-11-10 20:09:17 +01:00
Sarah Hoffmann
303ac42b47
Merge pull request #3862 from mtmail/skip-all-zero-postcodes
...
Postcode sanetizer now skips values which are only zeros
2025-10-31 10:36:05 +01:00
marc tobias
362088775f
postcode sanetizer skips postcodes which are only zeros
2025-10-30 13:45:29 +01:00
Sarah Hoffmann
9a13b62fb9
prepare release 5.2.0
2025-10-29 10:01:30 +01:00
Sarah Hoffmann
e2330ff4c1
add migration for separate entrance table
2025-10-23 17:25:20 +02:00
Sarah Hoffmann
7715a9d500
fix new mypy issue
2025-09-12 19:32:49 +02:00
Sarah Hoffmann
72592da0cc
reduce penalty for artificial housenumbers
2025-09-12 17:44:54 +02:00
Sarah Hoffmann
193d6c4173
in-word penalty for final address token
2025-09-12 12:05:29 +02:00
Sarah Hoffmann
4fd881bcb2
housenumber and postcode cross penalties for partials
2025-09-12 11:50:01 +02:00
Sarah Hoffmann
54620f9566
base penalty for housenumber searches on similar address searches
2025-09-12 10:52:42 +02:00
Sarah Hoffmann
42b687f545
stop searching earlier after the first results was found
2025-09-12 10:01:13 +02:00
Sarah Hoffmann
43ffceff27
remove base penalty for postcodes
...
This is a relict from having base penalties for all terms.
2025-09-12 09:45:57 +02:00
Sarah Hoffmann
670cf98f93
fix query time logging for structured queries
2025-09-11 10:54:02 +02:00
Sarah Hoffmann
bf49f6a46f
Merge pull request #3833 from lonvia/rework-logging
...
Introduce generic query statistics and make log output configurable
2025-09-11 08:46:44 +02:00