Sarah Hoffmann
d6960c72e4
Merge pull request #3190 from lonvia/fix-internal-server-errors
...
Fix more failing queries
2023-09-05 17:00:31 +02:00
Sarah Hoffmann
b529e054cf
Merge pull request #3189 from lonvia/add-country-area-restriction
...
Implement NOMINATIM_SEARCH_WITHIN_COUNTRIES for Python frontend
2023-09-05 14:29:44 +02:00
Sarah Hoffmann
b4a4ca81d1
actions: update to checkout v4
2023-09-05 11:44:12 +02:00
Sarah Hoffmann
c284df2dc9
restrict range for interpolated housenumbers
...
Interpolations are only supported up to 2^32 by the database.
Limit to 8 digits, which is still more than should be needed.
2023-09-05 11:41:41 +02:00
Sarah Hoffmann
18b2a4c204
avoid interpreting integral numbers as coordinates
...
There are addresses of type '123 W 345 N, Reigh', where 'W 345 N' is
the actual name of the street.
2023-09-05 11:26:47 +02:00
Sarah Hoffmann
e1303fb592
Merge pull request #3188 from lonvia/update-osm2pgsql
...
Update osm2pgsql to 1.9.2
2023-09-05 10:44:32 +02:00
Sarah Hoffmann
bd25cf04ed
update osm2pgsql to 1.9.2
2023-09-04 14:53:46 +02:00
Sarah Hoffmann
ce1f4cbbdc
allow lower case OSM types in lookup query
2023-09-04 14:39:35 +02:00
Sarah Hoffmann
e0aea0f27a
Merge pull request #3186 from lonvia/tablespaces-for-flex
...
Make tablespace arguments work again for flex tables
2023-09-04 14:25:45 +02:00
Sarah Hoffmann
9848c4c56c
implement NOMINATIM_SEARCH_WITHIN_COUNTRIES setting
2023-09-04 14:10:36 +02:00
Sarah Hoffmann
cb8149f8ea
reenable tablespace arguments for flex tables
2023-09-04 10:45:52 +02:00
Sarah Hoffmann
0e74e82a38
add a shutdown handler for falcon server closing DB connections
2023-08-31 09:40:56 +02:00
Sarah Hoffmann
15e09f2b24
remove alias where it does not work with lambdas
...
Fixes #3177 .
2023-08-30 21:55:34 +02:00
Sarah Hoffmann
2de8256863
fix parameter name for layer filter
2023-08-30 09:57:46 +02:00
Sarah Hoffmann
aff43fb1a3
Merge pull request #3178 from lonvia/library-documentation
...
Update documentation for new Python frontend
2023-08-30 09:17:24 +02:00
Sarah Hoffmann
cafd8e2b1e
fix typos and grammar issues
2023-08-29 12:14:44 +02:00
Sarah Hoffmann
3794080327
rename documentation to 'Nominatim Manual'
2023-08-28 10:59:26 +02:00
Sarah Hoffmann
4e2683f068
adapt installation instruction for different frontends
2023-08-28 10:48:34 +02:00
Sarah Hoffmann
6e5f595d48
update API documentation
2023-08-28 10:31:58 +02:00
Sarah Hoffmann
2c24ba6d2d
add deployment documentation for Python frontend
2023-08-27 21:27:16 +02:00
Sarah Hoffmann
3bb27fbee6
update documentation for configuration
2023-08-27 16:08:06 +02:00
Sarah Hoffmann
ef1b52eee5
add getting started section for library docs
2023-08-27 14:42:04 +02:00
Sarah Hoffmann
f917fa67aa
switch to material theme
...
Needed for tabbed code blocks.
2023-08-25 22:47:07 +02:00
Sarah Hoffmann
386b4c82da
preliminary library reference finished
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
a987f22cfb
more library documentation
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
558c42ec83
finish configuration section
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
309ac46b98
restructure library documentation
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
399b04596e
initial configuration documentation
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
75513a23a8
docs: documentation of API classes
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
e672de036e
more adaptions for mkdocstrings griffin plugin
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
6533af6a91
add base framework for library reference
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
d3372e69ec
update to modern mkdocstrings python handler
2023-08-25 21:40:20 +02:00
Sarah Hoffmann
f3809a52e8
Merge pull request #3174 from lonvia/osm2pgsql-update-fix
...
Be more precise on what is deleted on updates
2023-08-25 21:26:23 +02:00
Sarah Hoffmann
c5f5ab5363
be more strict about removal from place_to_be_deleted
...
If the type of a place is changed and then the same insert issued
again, the old data will effectively remain in the table.
Fixed #3168 .
2023-08-25 14:22:49 +02:00
Sarah Hoffmann
26dfb868e9
add test case for bad update
2023-08-25 14:22:49 +02:00
Sarah Hoffmann
d5b6042118
Merge pull request #3172 from lonvia/query-timeout
...
Introduce timeouts for queries
2023-08-25 10:00:22 +02:00
Sarah Hoffmann
1115705cbc
add additional timeout for entire request
2023-08-25 09:16:53 +02:00
Sarah Hoffmann
161d17d85b
use backwards-compatible asyncio timeout implementation
2023-08-25 08:50:03 +02:00
Sarah Hoffmann
5a2ebfcd4a
translate query timeouts into proper HTTP responses
...
Need to use a 503 here because a 408 (Request timeout) will motivate
browsers to immediately resent the request.
2023-08-25 08:50:03 +02:00
Sarah Hoffmann
06a974df36
add a timeout for DB queries
2023-08-25 08:50:03 +02:00
Sarah Hoffmann
2762c45569
apply adjusted counts only to final result
2023-08-24 21:37:02 +02:00
Sarah Hoffmann
fd85483ce3
Merge pull request #3169 from lonvia/tweak-search-with-frequent-names
...
Further tweak detection of queries that would return a massive amount of results
2023-08-24 14:22:35 +02:00
Sarah Hoffmann
0a2d0c3b5c
allow terms with frequent searches together with viewbox
2023-08-24 09:21:09 +02:00
Sarah Hoffmann
de7f9a4bd9
Merge pull request #3167 from lonvia/explicit-encoding
...
Send explicit charset in content-type when returning json
2023-08-24 08:53:11 +02:00
Sarah Hoffmann
c5836c8090
Merge pull request #3139 from mtmail/update-search-examples
...
Search.md - update XML and JSON example output
2023-08-23 23:41:30 +02:00
Sarah Hoffmann
dcdda314e2
further tweak search containing very frequent tokens
...
Excluding non-rare full names is not really possible because it makes
addresses with street names like 'main st' unsearchable. This tries to
leav all names in but refrain from ordering results by accuracy
when too many results are expected. This means that the DB will simply
get the first n results without any particular order.
2023-08-23 23:04:12 +02:00
Sarah Hoffmann
a9edd57fe2
send charset again in content-type when returning json
...
There are quite a few applications out there that will use some local
encoding when the charset is not explicitly given.
2023-08-23 20:55:57 +02:00
Sarah Hoffmann
cbd9fad94b
Merge pull request #3165 from lonvia/update-osm2pgsql
...
Update osm2pgsql to 1.9.1
2023-08-23 15:57:55 +02:00
Sarah Hoffmann
bc1009f8c2
vagrant scripts: add missing yaml library
2023-08-23 08:34:12 +02:00
Sarah Hoffmann
719b66e5ed
add new required json library for osm2pgsql
2023-08-23 00:24:31 +02:00