[postgis-tickets] [PostGIS] #2951: ST_Centroid for geography
PostGIS
trac at osgeo.org
Mon Jul 31 11:48:53 PDT 2017
#2951: ST_Centroid for geography
--------------------------+---------------------------
Reporter: Mike Toews | Owner: robe
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.4.0
Component: liblwgeom | Version:
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by robe):
here is the bt where it comes from centroid:
{{{
[Switching to Thread 8460.0x1d80]
lwpoint_get_y (point=0xc051c8d73f5ce5f6) at lwpoint.c:76
76 if ( lwpoint_is_empty(point) )
(gdb) bt
#0 lwpoint_get_y (point=0xc051c8d73f5ce5f6) at lwpoint.c:76
#1 0x00000000633f90e0 in geography_centroid_from_mpoly ()
from
C:\ming64gcc48\projects\postgresql\rel\pg10w64gcc48\lib\postgis-2.4.dll
#2 0x00000000633f83ca in geography_centroid ()
from
C:\ming64gcc48\projects\postgresql\rel\pg10w64gcc48\lib\postgis-2.4.dll
#3 0x00000000005aa1ed in ExecInterpExpr (state=0x55998f0,
econtext=0x55994a0, isnull=<optimized out>) at execExprInterp.c:672
#4 0x00000000005b3f77 in ExecEvalExprSwitchContext (isNull=0x2e3ec2f "",
econtext=0x55994a0, state=0x55998f0)
at ../../../src/include/executor/executor.h:290
#5 ExecProject (projInfo=0x55998e8)
at ../../../src/include/executor/executor.h:324
#6 ExecScan (node=node at entry=0x5599388,
accessMtd=accessMtd at entry=0x5cffa0 <SeqNext>,
recheckMtd=recheckMtd at entry=0x5cff90 <SeqRecheck>) at execScan.c:201
#7 0x00000000005d0033 in ExecSeqScan (node=node at entry=0x5599388)
at nodeSeqscan.c:130
#8 0x00000000005b2a78 in ExecProcNode (node=node at entry=0x5599388)
at execProcnode.c:447
#9 0x00000000005adb63 in ExecutePlan (execute_once=<optimized out>,
dest=0x5586590, direction=<optimized out>, numberTuples=0,
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2951#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