mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
ST_LocateBetweenElevations should return NULL and not fail if intersection is void (#1250)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8969 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
8e4a050bb6
commit
04bf7dcc44
|
@ -734,10 +734,9 @@ lwline_clip_to_ordinate_range(const LWLINE *line, char ordinate, double from, do
|
|||
{
|
||||
lwgeom_drop_bbox((LWGEOM*)lwgeom_out);
|
||||
lwgeom_add_bbox((LWGEOM*)lwgeom_out);
|
||||
return lwgeom_out;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return lwgeom_out;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue