GeoPoint Transform
The geopoint transform projects (longitude, latitude) pairs to (x, y) coordinates according to a given cartographic projection.
Example
Transform Parameters
| Property | Type | Description |
|---|---|---|
| projection | String | Required. The name of the projection to use. |
| fields | Field[ ] | Required. The data fields containing the longitude and latitude values, respectively. |
| as | String[ ] | The output fields to write. The default is ["x", "y"]. |
Usage
{
"type": "geopoint",
"projection": "myprojection",
"fields": ["lon", "lat"]
}
Projects (longitude, latitude) pairs pulled from the lon and lat data fields, and writes the results to the x and y fields.