[PostGIS] #5624: Provide more info about out of date geos when checking PostGIS_Full_Version() ;

PostGIS trac at osgeo.org
Mon Nov 27 23:43:44 PST 2023


#5624: Provide more info about out of date geos when checking
PostGIS_Full_Version() ;
--------------------------------+---------------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  pramsey
      Type:  defect             |     Status:  new
  Priority:  medium             |  Milestone:  PostGIS 3.4.2
 Component:  postgis            |    Version:  3.4.x
Resolution:                     |   Keywords:
--------------------------------+---------------------------

Old description:

> == 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

New description:

 == 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

--
Comment (by Lars Aksel Opsahl):

 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.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5624#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list