Click or drag to resize

LatLon

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Description

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.

Example

When importing a POI from a CSV file, a LatLon data type can be created from the text columns of the CSV file.

Alchemy
IMPORT POI [
        GEOM = LATLON(float.parse(%lat), float.parse(%lon)),
        LABEL = %name
] FROM "mycsvfile.csv";
See Also