PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
void geography_valid_type | ( | uint8_t | type | ) |
The geography type only support POINT, LINESTRING, POLYGON, MULTI* variants of same, and GEOMETRYCOLLECTION.
If the input type is not one of those, shut down the query.
Definition at line 70 of file geography_inout.c.
References COLLECTIONTYPE, LINETYPE, lwtype_name(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, POINTTYPE, POLYGONTYPE, and ovdump::type.
Referenced by geography_from_geometry(), and gserialized_geography_from_lwgeom().