ConvertFromLatLng (open)
Convert a latitude/longitude coordinate to another coordinates system
Syntax
LOADLIB "wh::util/geo.whlib";
RECORD FUNCTION ConvertFromLatLng(RECORD latlng, STRING type)Parameters
RECORD latlngA [FLOAT lat, FLOAT lng ] record
STRING typeThe coordinate system name to convert to
Return value
RECORDA coordinates record in for requested coordinates system, or a default record if an invalid input record was given or an unsupported coordinates system was specified
Description
Currently only the "RD" (Dutch Rijksdriehoeksmeting) type is supported, returning a [ INTEGER x, INTEGER y ] coordinates record.