Opened 2 years ago

Last modified 2 years ago

#5163 closed defect

ST_OrientedEnvelope goes into infinite loop when giving a straight line — at Initial Version

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS GEOS
Component: postgis Version: 3.1.x
Keywords: Cc:

Description

SELECT ST_OrientedEnvelope(st_geomfromtext('LINESTRING(-99.48710639268086 34.79029839231914,-99.48370699999998 34.78689899963806,-99.48152167568102 34.784713675318976)',4326));

However this one works:

SELECT ST_OrientedEnvelope('LINESTRING(1 2,1.5 2,2 2)'::geometry);

Tested against latest released GEOS and PostGIS develop branch.

and also

POSTGIS="3.1.4 ded6c34" [EXTENSION] PGSQL="140" GEOS="3.9.1-CAPI-1.14.2" PROJ="8.0.1" GDAL="GDAL 3.3.0, released 2021/04/26" LIBXML="2.9.1" LIBJSON="0.15" LIBPROTOBUF="1.3.2" WAGYU="0.5.0 (Internal)" RASTER PostgreSQL 14.1 on aarch64-unknown-linux-gnu, compiled by gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-6), 64-bit

Change History (0)

Note: See TracTickets for help on using tickets.