Opened 12 months ago

Last modified 11 months ago

#5624 new defect

Provide more info about out of date geos when checking PostGIS_Full_Version() ; — at Version 1

Reported by: Lars Aksel Opsahl Owned by: pramsey
Priority: medium Milestone: PostGIS 3.5.0
Component: upgrade Version: 3.4.x
Keywords: Cc: Lars Aksel Opsahl

Description (last modified by Lars Aksel Opsahl)

Case 1 (using a EOL geos)

POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="120" GEOS="3.10.1-CAPI-1.16.0" SFCGAL="1.3.7" PROJ="8.2.0 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/usr/share/proj/proj.db" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)" TOPOLOGY

Then a message like this could be added

Your geos has reached EOL, please try to upgrade your geos. To be sure to get all feature supported latest geos at [https://libgeos.org/usage/download/]

Case 2 (Using a valid geos, but not latest)

POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="120" GEOS="3.10.6" SFCGAL="1.3.7" PROJ="8.2.0 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/usr/share/proj/proj.db" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)" TOPOLOGY

Then a message like this could be added

Your geos is valid, but to be sure to get all feature supported try to use latest geos at [https://libgeos.org/usage/download/]

Case 3 (Using a latest geos or newer)

POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="120" GEOS="3.12.1" SFCGAL="1.3.7" PROJ="8.2.0 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/usr/share/proj/proj.db" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)" TOPOLOGY

There is no printed message about geos

Change History (1)

comment:1 by Lars Aksel Opsahl, 12 months ago

Description: modified (diff)

A assume doing online check here maybe out off scope ? So if you install postgis and never touch server the next 5 years there may not be passed out any info about EOL geos.

I thinks what's more important is that when you install a new postgis and you think that you have an update to date system, it would be nice with a warning message about geos if that is not fully up to date.

Note: See TracTickets for help on using tickets.