[postgis-devel] [PostGIS] #1658: Crash in ST_Project on NULL input
PostGIS
trac at osgeo.org
Wed Mar 7 03:34:23 PST 2012
#1658: Crash in ST_Project on NULL input
----------------------------+-----------------------------------------------
Reporter: realityexists | Owner: pramsey
Type: defect | Status: closed
Priority: critical | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Resolution: fixed | Keywords:
----------------------------+-----------------------------------------------
Comment(by realityexists):
Thanks, that fixed it. Yes, a NULL azimuth with a zero distance was the
reason it's not strict, though it's a bit unexpected that NULL gets
treated as 0 for non-zero distances, eg.
{{{
SELECT ST_AsText(ST_Project('POINT(10 10)'::geography, 10000, NULL))
}}}
Then again, having it return NULL for non-zero distance, but non-NULL for
zero distance might seem strange, too. I don't know what the "right"
behaviour would be here.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1658#comment:3>
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-devel
mailing list