[postgis-devel] ST_LocateBetweenElevations failing on typed collections

Sandro Santilli strk at kbt.io
Wed Aug 3 14:13:24 PDT 2016


On Wed, Aug 03, 2016 at 10:59:34AM +0000, Komяpa wrote:
> Hi,
> 
> I observe the following inconsistency:
> 
> [local] gis at gis=# select
> ST_AsText(ST_LocateBetweenElevations('MULTILINESTRING Z((0 0 0, 10 10
> 10))'::geometry, 11, 11));
> ERROR:  XX000: lwgeom_clip_to_ordinate_range clipping routine returned NULL
> LOCATION:  pg_error, lwgeom_pg.c:164
> Time: 0,408 ms
> [local] gis at gis=# select ST_AsText(ST_LocateBetweenElevations('LINESTRING
> Z(0 0 0, 10 10 10)'::geometry, 11, 11));
> ┌─────────────────────────┐
> │        st_astext        │
> ├─────────────────────────┤
> │ MULTILINESTRING Z EMPTY │
> └─────────────────────────┘
> (1 row)
> 
> Time: 0,393 ms

I suggest you file a ticket, it's more easily tracked.

--strk;



More information about the postgis-devel mailing list