spherely.get_type_id

Contents

spherely.get_type_id#

spherely.get_type_id(geography: Geography | array_like) object#

Returns the type ID of a geography.

  • None (missing) is -1

  • POINT is 0

  • LINESTRING is 1

Parameters:

geography (Geography or array_like) – Geography object(s).