<div dir="ltr"><div><div><div><div><div><div><br></div>Hey,<br><br></div>I recently discovered a strange behavior :<br>in the function<br>ST_LineLocatePoint <br><br></div>if using empty geom,<br></div>it gives the error :<br>
"ERROR:  getPoint2d_p: point offset out of range"<br><br></div>the code :<br>SELECT ST_LineLocatePoint( <br>        ST_GeomFromtext('LINESTRING EMPTY')<br>        ,ST_GeomFromtext('point(1 2)')<br>
        )<br><br></div>In my humble opinion it should return NULL when any input is empty. <br>What do you think?<br><br>Cheers,<br>Rémi-C<br></div>