|
static bool | gis::is_valid_type (Geometry_type type) |
| Checks if a given type is a valid (and supported) WKB type. More...
|
|
static bool | gis::is_subtype_of (Geometry_type sub, Geometry_type super) |
| Checks if a given type is a subtype of a given supertype. More...
|
|
static bool | gis::is_valid_type_or_subtype (Geometry_type sub, Geometry_type super) |
| Checks if a given type is a valid type and that it is a subtype of a given supertype. More...
|
|
std::unique_ptr< Geometry > | gis::parse_wkb (THD *thd, const dd::Spatial_reference_system *srs, const char *wkb, std::size_t length, bool ignore_axis_order=false) |
| Parses a geometry WKB string and constructs a geometry object. More...
|
|
bool | gis::parse_srid (const char *str, std::size_t length, srid_t *srid) |
| Parses an SRID from a little-endian string. More...
|
|
bool | gis::parse_geometry (THD *thd, const char *func_name, const String *str, const dd::Spatial_reference_system **srs, std::unique_ptr< Geometry > *geometry, bool treat_unknown_srid_as_cartesian=false) |
| Parses a little-endian geometry string (SRID + WKB). More...
|
|
bool | gis::write_geometry (const dd::Spatial_reference_system *srs, Geometry &geometry, String *str) |
| Writes a little-endian geometry string (SRID + WKB). More...
|
|