LatLon |
A LatLon data type is used to hold a WGS84 location, that is, a latitude and longitude pair.
A LatLon data type can be created with the LATLON statement or can be retrieved from a shapefile.
The geometry from a shapefile with points will be of type LatLon. Using the built-in function first() on a line geometry will return a LatLon variable.
When importing a POI from a CSV file, a LatLon data type can be created from the text columns of the CSV file.
IMPORT POI [ GEOM = LATLON(float.parse(%lat), float.parse(%lon)), LABEL = %name ] FROM "mycsvfile.csv";
LATLON