Commit Graph

4900 Commits

Author SHA1 Message Date
Sarah Hoffmann
79836e51d6
Merge pull request #3593 from lonvia/order-by-bbox
Use bbox size for secondary order of results
2024-11-19 11:50:55 +01:00
Sarah Hoffmann
0770eaa5d0 use bbox size for secondary order of results
Helps to return the largest object when deduplicating results.
2024-11-19 10:38:50 +01:00
Sarah Hoffmann
c172ca8c6c
Merge pull request #3592 from lonvia/remove-cmake
Remove cmake building and bundled osm2pgsql
2024-11-19 10:02:53 +01:00
Sarah Hoffmann
4e59efa178 update instructions for Vagrant 2024-11-19 09:26:59 +01:00
Sarah Hoffmann
9cf5970e22 update release instructions 2024-11-19 09:17:50 +01:00
Sarah Hoffmann
4cce681ead switch actions to pip-based install 2024-11-18 18:52:26 +01:00
Sarah Hoffmann
c4a726c96b update Ubuntu22 install script for pip install 2024-11-18 18:51:54 +01:00
Sarah Hoffmann
a408da4ccc remove cmake and related installation instructions 2024-11-18 18:51:03 +01:00
Sarah Hoffmann
e0318344f6 remove vendored osm2pgsql 2024-11-18 13:38:03 +01:00
Sarah Hoffmann
02364ce6c8
Merge pull request #3591 from lonvia/increase-required-postgresql
Increase version requirements for PostgreSQL and PostGIS
2024-11-18 13:37:03 +01:00
Sarah Hoffmann
bf683d434b adapt BDD tests to changed simplification 2024-11-18 13:02:35 +01:00
Sarah Hoffmann
f1ba285319 actions: update to latest supported versions 2024-11-18 13:02:35 +01:00
Sarah Hoffmann
98c1b923fc remove code only needed for older PostgreSQL/PostGIS versions 2024-11-18 10:11:09 +01:00
Sarah Hoffmann
fd1f2bc719 increase minimum versions for PostgreSQL and PostGIS 2024-11-18 09:28:06 +01:00
Sarah Hoffmann
689bcbd6ea
Merge pull request #3590 from lonvia/lookup-per-osm-type
Look up different OSM types in placex separately
2024-11-15 09:44:16 +01:00
Sarah Hoffmann
3acd7df5c4
Merge pull request #3588 from lonvia/optional-reverse-api
Add support for adding endpoints to server conditionally
2024-11-14 19:33:57 +01:00
Sarah Hoffmann
7d418da564 look up different OSM types in placex separately
There are separate indexes on placex for the different OSM types.
PostgreSQL can only use these indexes if the type is fixed per query.
2024-11-14 17:47:01 +01:00
Sarah Hoffmann
04d5f674eb fix grammar in issue template 2024-11-14 17:24:19 +01:00
Sarah Hoffmann
23369ce970
Merge pull request #3587 from danieldegroot2/lookup-spelling
Update lookup.py - Correct spelling for "simultaneously"
2024-11-14 16:53:11 +01:00
Sarah Hoffmann
20d0fb35ce enable search endpoint only when search table is available 2024-11-14 08:53:09 +01:00
Sarah Hoffmann
754ff15ebd move server route creation into async function 2024-11-13 21:27:14 +01:00
danieldegroot2
7c9002cae7
Update lookup.py - Correct spelling for "simultaneously"
Corrects minor spelling mistake.
2024-11-13 20:35:37 +01:00
Sarah Hoffmann
1a64c3bfcd
Merge pull request #3586 from lonvia/reduce-lookup-calls
Reduce number of SQL queries for lookup call
2024-11-13 19:33:22 +01:00
Sarah Hoffmann
2735ea768a look up all places at once 2024-11-13 14:21:05 +01:00
Sarah Hoffmann
ae8694a6a6
Merge pull request #3582 from lonvia/switch-to-flake
Switch from pylint to flake8 for linting
2024-11-11 11:20:21 +01:00
Sarah Hoffmann
5ec07321d4
Merge pull request #3580 from lonvia/about-ai-prs
Contributions: some additional rules for AI use
2024-11-11 10:12:36 +01:00
Sarah Hoffmann
d77aa7dfc9 replace pylint with flake8 everywhere 2024-11-10 23:14: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
8c14df55a6 contributions: some additional rules for AI use 2024-11-10 10:39:40 +01:00
Sarah Hoffmann
af756d61dd
Merge pull request #3576 from lonvia/test-updating
Github action for testing migration
2024-11-04 15:56:20 +01:00
Sarah Hoffmann
2d115ea412 actions: add test for database migration 2024-11-04 10:19:56 +01:00
Sarah Hoffmann
981b879830 do not rename parameters in existing SQL function 2024-11-04 09:46:20 +01:00
Sarah Hoffmann
6415c9cf95
Merge pull request #3575 from lonvia/improve-centroid
Improve centroid computation for line strings
2024-11-04 09:09:40 +01:00
Sarah Hoffmann
7b21354a8a avoid multiple centroid computations 2024-11-03 22:06:36 +01:00
Sarah Hoffmann
ad50016c49 use line interpolation to create centroid for lines
ST_PointOnSurface always returns one of the vertices of a line.
This means that a two-point line will have the centroid at
one of the ends, which is less then ideal.
2024-11-03 22:06:36 +01:00
Sarah Hoffmann
b9e4563beb fix backward compatibility issues with Python 3.7 2024-10-25 23:43:59 +02:00
Sarah Hoffmann
2c0f2e1ede remove now unnecessary type-ignores 2024-10-25 17:56:47 +02:00
Sarah Hoffmann
ea98317370
Merge pull request #3558 from otbutz/patch-1
Fix gunicorn invocation
2024-10-25 15:33:59 +02:00
otbutz
2fe8b98d55
Fix gunicorn invocation 2024-10-09 10:07:43 +02:00
Sarah Hoffmann
6299afcad7
Merge pull request #3554 from lonvia/postcode-bbox
Improve bounding boxes for postcodes
2024-09-30 10:50:43 +02:00
Sarah Hoffmann
5160a1d577 get bbox of postcode areas into results 2024-09-30 08:58:40 +02:00
Sarah Hoffmann
83013f819b derive bbox size for postcode nodes from rank_search 2024-09-30 08:58:40 +02:00
Sarah Hoffmann
15eb7f0bb1 add new format 'raw' for CLI commands
This dumps the original results with all details available.
2024-09-30 08:58:40 +02: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
c2aa7a9b43
Merge pull request #3552 from lonvia/drop-some-migrations
Restrict migrations to versions 4.3+
2024-09-27 19:46:37 +02:00
Sarah Hoffmann
90e207a497 drop automatic migration from versions <4.3 2024-09-27 12:07:48 +02:00
Sarah Hoffmann
d856788bf5
Merge pull request #3542 from lonvia/remove-legacy-tokenizer
Remove legacy tokenizer
2024-09-24 15:42:40 +02:00
Sarah Hoffmann
f960a9bf7f work round typing bug in pyosmium 4.0 2024-09-24 11:51:01 +02:00
Sarah Hoffmann
188c770f5c supress new pylint errors 2024-09-22 21:58:25 +02:00