The GeoPolygon data type is derived from the Geography data type. This means it has a similar functionality to the Geography data type but is specific to represent the Geometry areas.
GeoPolygon |
|
|
Srid |
int |
Spatial Reference System Identifier (SRID), identifies the reference system for the represented Geographic object. See https://en.wikipedia.org/wiki/SRID |
GeoPolygon |
|
|
FromWkt() ...Intersect(GeoPolygon) |
|
|
ToGeography(GeoPolygon object) |
Geography |
Converts GeoPolygon to Geography type (cast). |
Note: FromString and ToString methods for Geography data types are enabled only for compatibility reasons. Use FromWkt and ToWkt instead.
For detailed information about the data type Properties and Methods, refer to Geography data type.
DBMSs: SQL Server, Oracle, MySQL, SAP Hana, and PostgreSQL.
Generators: .NET, .NET Framework, Java, Android, Apple