[postgis-tickets] [PostGIS] #4965: getPoint2d_p_ro is redundant
PostGIS
trac at osgeo.org
Wed Aug 11 07:33:45 PDT 2021
#4965: getPoint2d_p_ro is redundant
--------------------------+---------------------------
Reporter: strk | Owner: strk
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 3.2.0
Component: liblwgeom | Version: main
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by strk):
The comment above the definition of getPoint2d_p_ro, which is in
lwgeodetic.c, says:
{{{
/**
* This function can only be used on LWGEOM that is built on top of
* GSERIALIZED, otherwise alignment errors will ensue.
*/
int getPoint2d_p_ro(const POINTARRAY *pa, uint32_t n, POINT2D **point)
}}}
Is that true, Paul ? Doesn't sound correct to me ? How can you build a
POINTARRAY which is not aligned ?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4965#comment:1>
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