[postgis-tickets] [PostGIS] #4827: Accept NaN from WKT parser

PostGIS trac at osgeo.org
Fri Jan 29 08:47:16 PST 2021


#4827: Accept NaN from WKT parser
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.1.2
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 The reason to _allow_ it, is to make PostGIS a useful tool
 to _fix_ them. You can't fix them if you can't take them.

 The other reason is to be able to restore what you dump.
 If due to a bug your geometries end up with infinite or Nan
 ordinate values you can get stuck, can't upgrade or transfer
 (dump/restore) because PostGIS won't accept them...

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4827#comment:9>
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