PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ getNodeById

LWT_ISO_NODE*(* LWT_BE_CALLBACKS_T::getNodeById) (const LWT_BE_TOPOLOGY *topo, const LWT_ELEMID *ids, int *numelems, int fields)

Get nodes by id.

Parameters
topothe topology to act upon
idsan array of element identifiers
numelemsinput/output parameter, pass number of node identifiers in the input array, gets number of node in output array. TODO: Should be uint64 to match SPI_processed
fieldsfields to be filled in the returned structure, see LWT_COL_NODE_* macros
Returns
an array of nodes or NULL in the following cases:
  • no edge found ("numelems" is set to 0)
  • error ("numelems" is set to -1) (
See also
lastErrorMessage)

Definition at line 202 of file liblwgeom_topo.h.