PostGIS
2.4.9dev-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, and POLYGONTYPE.
Referenced by geography_from_geometry(), and gserialized_geography_from_lwgeom().