PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwt_CreateTopology()

LWT_TOPOLOGY* lwt_CreateTopology ( LWT_BE_IFACE iface,
const char *  name,
int  srid,
double  prec,
int  hasz 
)

Initializes a new topology.

Parameters
ifacethe backend interface handler (see lwt_CreateBackendIface)
namename of the new topology
sridthe topology SRID
precthe topology precision/tolerance
hasznon-zero if topology primitives should have a Z ordinate
Returns
the handler of the topology, or NULL on error (liblwgeom error handler will be invoked with error message)