[postgis-users] error: Directed line merging requires GEOS-3.11 or higher

Karsten Tebling tebling at masuch.de
Tue Dec 20 03:07:13 PST 2022


I'm trying to restore a backup from a windows installation to a new 
linux mint 21 installation but it always fails with "error: Directed 
line merging requires GEOS-3.11 or higher". According to the 
postgis_full_version both installations should support geos 3.11, but I 
do get the error anyway. I'm using pgadmin4-desktop (installed via apt 
https://www.pgadmin.org/download/pgadmin-4-apt/) to execute the queries.


  * windows: POSTGIS="3.3.2 3.3.2" [EXTENSION] PGSQL="140"
    GEOS="3.11.1-CAPI-1.17.1" PROJ="7.2.1" LIBXML="2.9.9" LIBJSON="0.12"
    LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)"
  * linux mint: POSTGIS="3.3.2 4975da8" [EXTENSION] PGSQL="150"
    GEOS="3.11.1-CAPI-1.17.1" PROJ="8.2.1" LIBXML="2.9.13"
    LIBJSON="0.15" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)"

The linux mint is a fresh installation, I installed postgresql and 
postgis via PostgreSQL Apt Repository 
(https://www.postgresql.org/download/linux/ubuntu/), using the command:

  * sudo apt install postgresql-15 postgis postgresql-15-postgis-3

Another ppa I have in use is ubuntugis-unstable, it also includes 
postgis - could this be a reason for the problem?

Help would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20221220/5597e173/attachment.htm>

More information about the postgis-users mailing list