[postgis-tickets] [PostGIS] #3181: Output POINT EMPTY in WKB using NaN as coordinate values
PostGIS
trac at osgeo.org
Thu Jun 25 13:01:05 PDT 2015
#3181: Output POINT EMPTY in WKB using NaN as coordinate values
-------------------------+---------------------------
Reporter: pramsey | Owner: pramsey
Type: enhancement | Status: new
Priority: high | Milestone: PostGIS 2.2.0
Component: postgis | Version: trunk
Keywords: |
-------------------------+---------------------------
Our old handling of overloading POINT EMPTY to convert into MULTIPOINT
EMPTY results in outputs that are not actually consistent in type (that's
a problem). A better hack would be using POINT(NaN NaN) to proxy for POINT
EMPTY, since there's not much practical use for a POINT(NaN NaN) anyways.
This means that database with "legitimate" POINT(NaN NaN) values would get
them converted into POINT EMPTY on dump/restore, but that seems a small
price to pay for the greater good.
This was discussed in #3031.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3181>
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