-
-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update failed with: psycopg2.errors.InternalError_: Splitting of Point geometries is unsupported
#3022
Comments
I wonder if this is another incarnation of #2989. Can you check if the Postgres log has the list of place_id in the interpolation table that failed and then follow the instructions for debugging in #2989 (comment) |
Running with
However for all of the place ids listed, I always got the same message of success:
|
Same issues occurred 2 days ago using Postgresql |
Similar here on multiple separate servers. Postgresql
SELECT count(*) FROM location_property_osmline WHERE startnumber IS NULL and endnumber IS NOT NULL;
217 On other servers it's 212. SELECT count(*) FROM location_property_osmline where startnumber is NOT NULL and endnumber is NULL;
0 Concentrating on one street https://www.openstreetmap.org/way/321394425 SELECT nodes FROM planet_osm_ways WHERE id = 321394425;
nodes
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{2537172992,10778202927,3281370112,3281370103,3281370139,10778943965,10778943964,3281370106,10776573766,10778932134,10763637214,10763637218,10778932132,10763637213,3281374561,3281370111,3281374574,3281370115}
(that's 18 ids)
SELECT osm_id, address, indexed_date, ST_AsText(geometry)
FROM placex, planet_osm_ways
WHERE osm_type = 'N' and osm_id = any(nodes) and id = 321394425;
osm_id | address | indexed_date | st_astext
------------+----------------------------------------------------------------+----------------------------+--------------------------------
2537172992 | "street"=>"Avenida Bernardino de Campos", "housenumber"=>"12" | 2023-04-03 05:12:23.216256 | POINT(-46.7693884 -22.7055954)
3281370103 | "street"=>"Avenida Bernardino de Campos", "housenumber"=>"404" | 2023-04-03 05:12:23.216256 | POINT(-46.77254 -22.7078928)
3281370106 | "street"=>"Avenida Bernardino de Campos", "housenumber"=>"512" | 2023-04-03 05:12:20.206303 | POINT(-46.7734441 -22.7083393)
3281370111 | "street"=>"Avenida Bernardino de Campos", "housenumber"=>"840" | 2023-04-03 05:12:23.216256 | POINT(-46.7757961 -22.7100661)
3281370112 | "street"=>"Avenida Bernardino de Campos", "housenumber"=>"86" | 2023-04-03 05:12:23.216256 | POINT(-46.7699327 -22.7059685)
3281370115 | "street"=>"Avenida Bernardino de Campos", "housenumber"=>"950" | 2023-04-03 05:12:23.216256 | POINT(-46.7767706 -22.710945)
(6 rows) |
Horribly broken interpolation lines in Taiwan: https://www.openstreetmap.org/way/780098768 Oddly enough they have been horribly broken for a while. I'm not sure why they would fail now. It also looks like this is a problem with Postgis <= 3.2 only. |
Possible workaround for people using Nominatim 4.2x (including 4.1.99) is to enable forward dependencies. This is only for people who know what they are doing:
|
Thanks, this seems to have fixed my problem. 🙂 |
Describe the bug
nominatim-updates
started failing at 2023-04-01T19 with a PostGIS error:psycopg2.errors.InternalError_: Splitting of Point geometries is unsupported
. It has continued to fail since. The database was about 14hrs behind at the time. The command ran ispython3 /srv/nominatim/build/nominatim replication --once
. Worldwide nominatim data.Full output from
nominatim-updates.service
:To Reproduce
Run an update. The error occurs always constantly now, on many servers.
Software Environment (please complete the following information):
Hardware Configuration (please complete the following information):
The text was updated successfully, but these errors were encountered: