PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
LWGEOM * lwgeom_from_twkb_state | ( | twkb_parse_state * | s | ) |
Internal function declarations.
Generic handling for TWKB geometries.
The front of every TWKB geometry (including those embedded in collections) is a type byte and metadata byte, then optional size, bbox, etc. Read those, then switch to particular type handling code.
Definition at line 562 of file lwin_twkb.c.
References LWGEOM::bbox, COLLECTIONTYPE, twkb_parse_state::coords, twkb_parse_state::factor, twkb_parse_state::factor_m, twkb_parse_state::factor_z, GBOX::flags, gbox_clone(), gflags(), twkb_parse_state::has_bbox, twkb_parse_state::has_m, twkb_parse_state::has_z, header_from_twkb_state(), LINETYPE, LW_FALSE, lwcollection_as_lwgeom(), lwcollection_from_twkb_state(), lwerror(), lwline_as_lwgeom(), lwline_from_twkb_state(), lwmultiline_from_twkb_state(), lwmultipoint_from_twkb_state(), lwmultipoly_from_twkb_state(), lwpoint_as_lwgeom(), lwpoint_from_twkb_state(), lwpoly_as_lwgeom(), lwpoly_from_twkb_state(), twkb_parse_state::lwtype, lwtype_name(), GBOX::mmax, GBOX::mmin, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, POINTTYPE, POLYGONTYPE, TWKB_IN_MAXCOORDS, twkb_parse_state_double(), GBOX::xmax, GBOX::xmin, GBOX::ymax, GBOX::ymin, GBOX::zmax, and GBOX::zmin.
Referenced by lwcollection_from_twkb_state(), and lwgeom_from_twkb().