[PostGIS] #5718: `st_isvalid(point(NaN, NaN))` is true
PostGIS
trac at osgeo.org
Wed Apr 24 20:56:54 PDT 2024
#5718: `st_isvalid(point(NaN, NaN))` is true
----------------------+---------------------
Reporter: n0099 | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone:
Component: postgis | Version: 3.4.x
Resolution: wontfix | Keywords:
----------------------+---------------------
Changes (by robe):
* status: new => closed
* resolution: => wontfix
Comment:
Closing this out since there is nothing wrong with our NaN handling and
the wkb handling was a decision we made a while ago.
FWIW, I checked on MariaDB
and it can't handle NaNs or POINT EMPTY and just returns NULLS for both of
those
But interestingly for this
{{{
SELECT
ST_AsText(st_pointfromwkb(0x0101000000000000000000F8FF000000000000F8FF))
}}}
It returns POINT(0 0)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5718#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list