updated geo docs to address PR feedback

pull/1345/head
Scott Anderson 2020-08-11 14:18:15 -06:00
parent ed94e2e216
commit f672739514
2 changed files with 10 additions and 2 deletions

View File

@ -74,6 +74,14 @@ to add `s2_cell_id` tags to data that includes fields with latitude and longitud
) )
``` ```
## Latitude and longitude values
Flux supports latitude and longitude values in **decimal degrees** (WGS 84).
| Coordinate | Minimum | Maximum |
|:---------- | -------:| -------:|
| Latitude | -90.0 | 90.0 |
| Longitude | -180.0 | 180.0 |
## Region definitions ## Region definitions
Many functions in the Geo package filter data based on geographic region. Many functions in the Geo package filter data based on geographic region.
Define geographic regions using the following shapes: Define geographic regions using the following shapes:
@ -162,7 +170,7 @@ Define GIS geometry using the following:
### linestring ### linestring
Define a geographic linestring path using an object containing the following properties: Define a geographic linestring path using an object containing the following properties:
- **linestring**: string containing comma-separatedlongitude and latitude - **linestring**: string containing comma-separated longitude and latitude
coordinate pairs (`lon lat,`): coordinate pairs (`lon lat,`):
```js ```js

View File

@ -49,7 +49,7 @@ _See [GIS geometry definitions](/v2.0/reference/flux/stdlib/experimental/geo/#gi
_**Data type:** Object_ _**Data type:** Object_
### distance ### distance
Maximum allowed distance between the region and geometry. Maximum distance allowed between the region and geometry.
_Define distance units with the [`geo.units` option](/v2.0/reference/flux/stdlib/experimental/geo/#define-distance-units)._ _Define distance units with the [`geo.units` option](/v2.0/reference/flux/stdlib/experimental/geo/#define-distance-units)._
_**Data type:** Float_ _**Data type:** Float_