ST_LocateBetweenElevations failing on typed collections

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ST_LocateBetweenElevations failing on typed collections

Darafei "Komяpa" Praliaskouski
Hi, 

I observe the following inconsistency:

[local] gis@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@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

_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel
Reply | Threaded
Open this post in threaded view
|

Re: ST_LocateBetweenElevations failing on typed collections

Sandro Santilli-4
On Wed, Aug 03, 2016 at 10:59:34AM +0000, Komяpa wrote:

> Hi,
>
> I observe the following inconsistency:
>
> [local] gis@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@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;
_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel