Sarah Hoffmann
9f7e6da971
minor adaptions for flex style
2023-03-22 10:50:08 +01:00
marc tobias
3729bdde7d
VAGRANT.md - replace local.php settings with .env
2023-03-22 10:48:42 +01:00
Sarah Hoffmann
f8df574b78
use canonical url for nominatim.org
2023-03-22 10:46:15 +01:00
Sarah Hoffmann
51f3485874
install new lua import scripts
2023-03-22 10:45:11 +01:00
Sarah Hoffmann
a0e107d57f
flez: add other default styles
2023-03-22 10:43:20 +01:00
Sarah Hoffmann
b6ae3f3f09
flex: hide compiled matchers
2023-03-22 10:42:38 +01:00
Sarah Hoffmann
4f1ddcd521
flex: switch to functions for substyles
...
This gives us a bit more flexibility about the implementation
in the future.
2023-03-22 10:42:09 +01:00
Sarah Hoffmann
34d629f677
explicit export for functions in flex-base
2023-03-22 10:41:51 +01:00
Sarah Hoffmann
bb613a1d85
flex: add combining clean function
2023-03-22 10:41:22 +01:00
Sarah Hoffmann
2fe0e0629a
flex: simplify name handling
2023-03-22 10:41:12 +01:00
Sarah Hoffmann
a0e4e123b1
flex: simplify address configuration
2023-03-22 10:40:59 +01:00
Sarah Hoffmann
92abae7850
update osm2pgsql (flex not building index)
2023-03-22 10:40:01 +01:00
Sarah Hoffmann
6fe3dc63f5
use grapheme_stripos instead of stripos in PHP code
...
The stripos() does not handle non-ASCII correctly.
2023-03-22 10:36:15 +01:00
Sarah Hoffmann
e2dcc9ebf8
do not assign postcodes to long linear features
...
This avoids a postcode in particular for waterway features and
long natural featues like ridges and valleys.
Fixes #2915 .
2023-03-22 10:35:13 +01:00
Frederik Ramm
9b233362c6
Fix typo in NOMINATIM_LOG_FILE ( #2919 )
...
* fix typo in docs (NOMINATIM_LOG_FILE uses s not ms)
2023-03-22 10:33:59 +01:00
Sarah Hoffmann
a727624b9e
add FAQ about finding bad postcodes
2023-03-22 10:33:22 +01:00
Sarah Hoffmann
3313369a39
contract duplicate spaces in transliteration string
...
There are some pathological cases where an isolated letter may
be deleted because it is in itself meaningless. If this happens in
the middle of a sentence, then the transliteration contains two
consecutive spaces. Add a final rule to fix this.
See #2909 .
2023-03-22 10:14:15 +01:00
Sarah Hoffmann
7d140970b7
prepare release 4.2.1
v4.2.1
2023-02-20 17:58:19 +01:00
Sarah Hoffmann
cfd631e99c
harmonize flags for PHP's htmlspecialchars
2023-02-20 17:54:38 +01:00
Sarah Hoffmann
3d39847e26
adapt PHP tests for debug output
2023-02-20 17:53:50 +01:00
Sarah Hoffmann
a664beb810
properly encode special HTML characters in debug mode
2023-02-20 17:53:48 +01:00
Sarah Hoffmann
04ee39467a
actions: install keys for postgres repo
v4.2.0
2022-11-24 14:04:05 +01:00
Sarah Hoffmann
1f3edf6eba
prepare release 4.2.0
2022-11-24 10:43:29 +01:00
Sarah Hoffmann
a15c197547
add checklist for releases
2022-11-24 10:43:25 +01:00
Sarah Hoffmann
13dbeb75c7
Merge pull request #2903 from lonvia/migration-for-index-reorganization
...
Add migration for reorganization of pending indexes
2022-11-24 10:13:38 +01:00
Sarah Hoffmann
6aded60045
add migration for reorganization of pending indexes
...
Fixes #2900 .
2022-11-24 08:48:05 +01:00
Sarah Hoffmann
8dfdf64dd5
Merge pull request #2902 from lonvia/tiger-county-sanitizer
...
Tiger county sanitizer
2022-11-23 17:58:42 +01:00
Sarah Hoffmann
41e8bddaa9
remove BDD test for tiger:county
...
We no longer rely on the import to strip the tag.
2022-11-23 10:37:27 +01:00
Sarah Hoffmann
fd3dec8efe
add sanitizer for TIGER tags
...
Currently only takes over cleaning the tiger:county data. This was
done by the import until now.
2022-11-23 10:37:27 +01:00
Sarah Hoffmann
55ee08f42b
Merge pull request #2892 from lonvia/optional-forward-dependecies
...
Add experimental configuration switch for enabling forward dependencies
2022-11-21 16:57:45 +01:00
Sarah Hoffmann
b6ff697ff0
add experimental option for enabling forward dependencies
2022-11-21 14:48:00 +01:00
Sarah Hoffmann
925ac1e1b9
Merge pull request #2890 from lonvia/use-rank-search-for-reverse-polygon-match
...
Use rank search for reverse polygon match
2022-11-20 22:11:35 +01:00
Sarah Hoffmann
77acc1c2be
force use of geometry index for reverse polygon lookup
2022-11-20 20:22:44 +01:00
Sarah Hoffmann
ebe489c227
use rank_search for reverse polygon match
2022-11-20 20:22:23 +01:00
Sarah Hoffmann
9c152a030a
fix condition under which place_to_be_deleted is created
...
It is needed for updates, independently if reverse-only is set.
2022-11-19 21:53:14 +01:00
Sarah Hoffmann
b310c86c55
Merge pull request #2889 from lonvia/fix-interpolation-updates
...
Drop illegal values for addr:interpolation on update
2022-11-18 18:51:11 +01:00
Sarah Hoffmann
c9ff7d2130
drop illegal values for addr:interpolation on update
2022-11-18 17:26:56 +01:00
Sarah Hoffmann
52456230cc
Merge pull request #2887 from lonvia/lookup-linked-places
...
Add support for lookup of linked places
2022-11-17 13:35:53 +01:00
Sarah Hoffmann
4422533adb
Merge pull request #2886 from lonvia/closest-street-in-associated
...
Handle associatedStreet relations with multiple streets correctly
2022-11-17 07:29:25 +01:00
Sarah Hoffmann
c4b13f2b7f
add support for lookup of linked places
2022-11-16 21:34:45 +01:00
Sarah Hoffmann
4f05a03d13
handle associatedStreet relations with multiple streets
...
When a associatedStreet relation has multiple street members
always take the closest one. Avoid geometry operations for
the frequent case that there is only one street.
2022-11-16 17:25:51 +01:00
Sarah Hoffmann
7a2e586cce
Merge pull request #2884 from lonvia/tweak-special-term-penalties
...
Correctly handle special term + name combination
2022-11-15 19:29:55 +01:00
Sarah Hoffmann
98ce424650
Merge pull request #2885 from lonvia/remove-unused-countries
...
Remove dependent territories from country list
2022-11-15 19:29:39 +01:00
Sarah Hoffmann
3059a3da4e
correctly handle special term + name combination
...
Special terms with operator name usually appear in combination with the
name. The current penalties only took name + special term into account
not special term + name.
Fixes #2876 .
2022-11-15 11:55:40 +01:00
Sarah Hoffmann
d63d7cb9a8
remove dependent territories from country list
...
Removes territories of US, France, Australia and Netherlands from the
country list. These territories have their own country code (which is
why they are in the list in the first place) but are mapped as part of
the admin_level 2 relations for the respective parent countries.
Therefore they never had any places attached. In practical terms, the
change only affects the number of tables created.
2022-11-15 11:37:30 +01:00
Sarah Hoffmann
f3f542e864
Merge pull request #2881 from lonvia/more-update-tests-for-osm2pgsql
...
Experimental support for osm2pgsql flex output
2022-11-15 09:39:46 +01:00
Sarah Hoffmann
93ada250f7
bdd: add tests for osm2pgsql update of postcode nodes
2022-11-14 17:27:04 +01:00
Sarah Hoffmann
d8e3ba3b54
bdd: add osm2pgsql tests for updating interpolations
2022-11-14 16:57:31 +01:00
Sarah Hoffmann
a46348da38
bdd: test placex content when updating with osm2pgsql
2022-11-14 14:48:44 +01:00
Sarah Hoffmann
36cf0eb922
reorganize handling of place type changes
...
Always replace existing entries in place, never delete them because
a direct delete will cause conflicts.
2022-11-14 13:57:26 +01:00