Open def- opened 2 years ago
Can not reproduce
yugabyte=# SELECT 'mic-box' AS name,
yugabyte-# st_astext(center, 4) AS center,
yugabyte-# st_astext(nearest, 4) AS nearest,
yugabyte-# round(radius::numeric,4) AS radius
yugabyte-# FROM ST_MaximumInscribedCircle('Polygon((0 0, 100 0, 99 98, 0 100, 0 0))'::geometry);
ERROR: The GEOS version this PostGIS binary was compiled against (30702) doesn't support 'GEOSMaximumInscribedCircle' function (3.9.0+ required)
Though query fails, the failure reason is valid and correct. Also see https://github.com/yugabyte/yugabyte-db/issues/11318#issuecomment-1040875605
See my comment for full setup instructions to get postgis working: https://github.com/yugabyte/yugabyte-db/issues/11318#issuecomment-1042798619 Can still reproduce with:
$ PATH=$PWD/bin:/usr/pgsql-11/bin:$PATH POSTGIS_SCRIPTDIR=/usr/pgsql-11/share/contrib/postgis-3.1 ./run_test.pl core/dumppoints.sql
Jira Link: DB-1149
Description
See https://docs.yugabyte.com/latest/api/ysql/extensions/#postgis for PostGIS installation instructions.
Can be reproduced against yugabyte-2.11.2.0 on CentOS using https://github.com/def-/postgis/tree/stable-3.1/regress by running
PATH=$CWD/bin/:$PATH ./run_test.pl core/dumppoints.sql
tserver log:
backtrace from gdb:
Coredump: core.3489.zip