The GeoLine 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 Line.
DBMSs: SQL Server, Oracle, MySQL, SAP Hana, PostgreSQL
Generators: .NET, .NET Framework, Java, Android, Apple
To initialize an attribute or variable based on the GeoLine data type you must use the FromGeoJSON method or the FromWkt method.
&GeoLine.FromGeoJson('{ "type": "LineString", "coordinates": [ -56.18528366088867, -34.90571271703311 , -56.17850303649902, -34.90641660705113 , -56.15318298339844, -34.9140182347531 , -56.14863395690918, -34.91521472314688 ] }')
&GeoLine is a variable based on the GeoLine data type. It can also be an attribute based on the same data type.
Property |
Type |
Description |
Srid |
int |
Spatial Reference System Identifier (SRID), identifies the reference system for the represented Geographic object. See https://en.wikipedia.org/wiki/SRID |
Although the following method specifically apply to the GeoLine data type, all the methods that apply to the Geography data type can also be applied to the GeoLine data type, except Distance.
Method |
Type Returned |
Description |
ToGeography(GeoLine) |
Geography |
Converts the GeoLine to Geography type. |