Sarah Hoffmann
40b87bbadf
Merge pull request #3363 from mtmail/docs-link-correction
...
Docs: correct URL of an internal link
2024-03-14 17:46:34 +01:00
marc tobias
1c195eb1e4
docs: correct URL of an internal link
2024-03-14 13:50:24 +01:00
Sarah Hoffmann
9c48726691
add geometry details for postcode area output
2024-03-12 13:51:29 +01:00
Sarah Hoffmann
4fa349315b
Merge pull request #3362 from lonvia/find-postcode-areas
...
Lookup postcode areas for postcode results
2024-03-12 10:05:16 +01:00
Sarah Hoffmann
50beac8305
remove BDD test for place_id details
...
It is not reliable.
2024-03-11 21:07:14 +01:00
Sarah Hoffmann
9de6bdd7dd
exclude postcode test from legacy and php
2024-03-11 15:28:57 +01:00
Sarah Hoffmann
6e688a0113
postcodes: exclude seen places later
...
The seen list will only have the postcode area when available but
we want the postcode point excluded as well if the area has been seen.
2024-03-11 15:18:57 +01:00
Sarah Hoffmann
dc7cfd1708
look for postcode areas when finding something in the postcode table
2024-03-11 14:48:24 +01:00
Sarah Hoffmann
e5a5f02666
prepare release 4.4.0
2024-03-07 11:43:01 +01:00
Sarah Hoffmann
11ced26025
Merge pull request #3358 from lonvia/pg-module-for-pg16
...
Fix compilation of legacy module for PostgreSQL 16
2024-03-07 11:39:24 +01:00
Sarah Hoffmann
edb1eec46d
actions: run legacy test against newest postgresql 16
2024-03-05 19:38:06 +01:00
Sarah Hoffmann
63eacc5589
fix compilation of PG module for PostgreSQL 16
...
This version requires an additional include for the macros used.
2024-03-05 16:31:02 +01:00
Sarah Hoffmann
e929693cae
Merge pull request #3356 from lonvia/use-date-from-osm2pgsql-prop
...
Use import date from osm2pgsql property table if available
2024-03-05 15:32:16 +01:00
Sarah Hoffmann
ae7c584e28
use import date from osm2pgsql property table if available
2024-03-05 11:33:32 +01:00
Sarah Hoffmann
4d5faf9423
Merge pull request #3353 from mtmail/add-codespell
...
Github Actions: add codespell linter, warn only
2024-03-04 14:02:00 +01:00
marc tobias
b7eea4d53a
Github Actions: add codespell linter, warn only
2024-03-04 00:22:24 +01:00
Sarah Hoffmann
dd2c794de5
Merge pull request #3350 from lonvia/improve-postcode-handling
...
Improve handling of postcode areas
2024-02-28 18:45:31 +01:00
Sarah Hoffmann
3b6d35fc12
Merge pull request #3349 from lonvia/remove-way-geometry-table-after-import
...
Drop lower-rank-ways index after import
2024-02-28 17:47:34 +01:00
Sarah Hoffmann
9fa73cfb15
improve display name for postcodes
...
Don't add the postcode again in the list of address details and
make sure that the result proper always comes before anything else
independently of the address rank.
2024-02-28 16:50:40 +01:00
Sarah Hoffmann
62b7670e0c
for postcodes use rank_search as base rank for finding addresses
...
The rank_address reflects the position in the address which is
usually lower than what one would expect for a postcode area.
2024-02-28 14:40:36 +01:00
Sarah Hoffmann
d7bb449e74
drop lower-rank-ways index after import
...
The index becomes quite big and is only needed during import
because the full geometry import does not exist yet.
2024-02-28 14:35:56 +01:00
Sarah Hoffmann
247065ff6f
Merge pull request #3342 from mtmail/tyops
...
Correct some typos
2024-02-28 14:25:16 +01:00
Sarah Hoffmann
9a84adef59
Merge pull request #3347 from lonvia/tweak-boundary-imports
...
Assorted style tweaks
2024-02-28 14:22:08 +01:00
Sarah Hoffmann
1879cf902c
Merge pull request #3346 from lonvia/reduce-artificial-importance
...
Reduce default importance
2024-02-28 14:21:46 +01:00
Sarah Hoffmann
019a68a4bb
Merge pull request #3345 from lonvia/simplify-large-geometries
...
Simplify very large polygons that are not used in addresses
2024-02-28 12:06:49 +01:00
Sarah Hoffmann
110491011f
Merge pull request #3344 from lonvia/osm2pgsql-new-middle
...
Update osm2pgsql to latest 1.11.0 and add support for new middle format
2024-02-28 12:06:33 +01:00
Sarah Hoffmann
36b1660121
add support for new middle table format of osm2pgsql
...
Functions are adapted according to the format detected from the
osm2pgsql property table.
2024-02-27 18:18:19 +01:00
Sarah Hoffmann
56201feb28
simplify very large polygons non used in addresses
...
Polygons with rank_address = 0 are only used in search and (rarely)
for reverse lookup. Geometries do not need to be precise for that
because topology does not matter. OSM has some very large polygons
of natural features with sizes of more than 10MB. Simplify these
polygons to keep the database and indexes smaller.
2024-02-27 10:16:18 +01:00
Sarah Hoffmann
c6d40d4bf4
reduce importance when computed from search rank
2024-02-27 10:15:54 +01:00
Sarah Hoffmann
a4f2e6a893
do not send outdated parameters to osm2pgsql flex
2024-02-27 10:15:36 +01:00
Sarah Hoffmann
b427fc7965
update osm2pgsql to 1.11.0
2024-02-27 10:15:36 +01:00
Sarah Hoffmann
e264604894
drop more railway tags
2024-02-27 10:15:08 +01:00
Sarah Hoffmann
3a5d9f0377
drop amenity=parking_space/entrance objects
...
Parking is sufficiently covered with amenity=parking.
2024-02-27 10:15:08 +01:00
Sarah Hoffmann
8be27015b2
drop boundary=land_area
...
Usually a version of administrative boundaries without ocean area.
Resulting polygons are pretty larrge and having the boundaries
should be enough.
2024-02-27 10:15:08 +01:00
Sarah Hoffmann
100391fb8e
import leisure=natural_reserve as fallback only
...
About half of the natural reserves have a double tagging with
boundary=protected_area. Avoid importing these objects twice.
2024-02-27 10:15:08 +01:00
Sarah Hoffmann
dc1baaa0af
prefer min() function over if construct
...
Fixes a linter complaint.
2024-02-27 09:26:50 +01:00
marc tobias
7205491b84
Correct some typos
2024-02-26 18:13:30 +01:00
Sarah Hoffmann
918fec73c6
Merge pull request #3341 from mtmail/remove-php-faq-entries
...
PHP related FAQ entries are no longer needed
2024-02-21 08:56:18 +01:00
marc tobias
b6df486525
PHP related FAQ entries are no longer needed
2024-02-20 18:55:02 +01:00
Sarah Hoffmann
8bd8a040e0
Merge pull request #3340 from lonvia/fix-lua-liniting-issues
...
Fix some issues in the style files found by luacheck
2024-02-20 12:00:01 +01:00
Sarah Hoffmann
781e83ddc3
fix issues found by luacheck
...
The variable shadowing causes bad results when used with LuaJIT.
2024-02-20 10:43:51 +01:00
Sarah Hoffmann
5afd96d210
Merge pull request #3339 from lonvia/python-frontend-as-default
...
Switch to Python frontend as the default
2024-02-20 10:17:21 +01:00
Sarah Hoffmann
cf49a070fd
switch Ubuntu installation scripts to Python frontend
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
4aba36c5ac
API debug: properly escape non-highlighted code
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
ca6e65fff1
bdd: be more verbose on HTML parsing error
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
1e0025b095
also switch unit tests for cli
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
173e85c9e6
actions: make php the legacy tests
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
ffb467028e
update documentation to recommend Python frontend
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
05fad607ff
make Python frontend default and PHP optional
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
19360a9552
Merge pull request #3338 from lonvia/remove-nested-cli-groups
...
Add documentation for importing without superuser rights
2024-02-16 19:27:25 +01:00