PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ PG_FUNCTION_INFO_V1() [12/23]

PG_FUNCTION_INFO_V1 ( LWGEOM_pointn_linestring  )

PointN(GEOMETRY,INTEGER) – find the first linestring in GEOMETRY,.

Returns
the point at index INTEGER (1 is 1st point). Return NULL if there is no LINESTRING(..) in GEOMETRY or INTEGER is out of bounds.