Skip to content

Commit

Permalink
docs: Add GeoArrow to supported formats (#2503)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniele Santini <danysan95@gmail.com>
  • Loading branch information
Danysan1 committed Jan 27, 2024
1 parent 084d807 commit ac0d357
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
10 changes: 9 additions & 1 deletion docs/user-guides/b-kepler-gl-workflow/a-add-data-to-the-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Geometry coordinates should be presented with a geographic coordinate reference
## Supported File Formats
- [CSV](#csv)
- [GeoJSON](#geojson)
- [kepler.gl Json](#kepler-gl-json): exported from kepler.gl. See [export map](https://github.com/keplergl/kepler.gl/blob/master/docs/user-guides/k-save-and-export.md#export-map-as-json)
- [GeoArrow](#geoarrow)
- [kepler.gl Json](#keplergl-json)


### CSV
Expand Down Expand Up @@ -190,6 +191,13 @@ kepler.gl will read styles from GeoJSON files. If you are a GeoJSON expert, you
}
```

### GeoArrow

[GeoArrow](https://geoarrow.org/) file, a binary data format which can be visualized with the [PolygonLayer](https://docs.kepler.gl/docs/user-guides/c-types-of-layers/e-polygon).

### kepler.gl JSON

JSON file exported from kepler.gl. See "[Export Map as JSON](https://docs.kepler.gl/docs/user-guides/k-save-and-export#export-map-as-json)".

### Load Map Using URL

Expand Down
7 changes: 2 additions & 5 deletions docs/user-guides/c-types-of-layers/e-polygon.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Polygon

Polygon layer can display [GeoJSON](https://tools.ietf.org/html/rfc7946) features. GeoJSON supports the following geometry types: `Point`, `LineString`, `Polygon`, `MultiPoint`, `MultiLineString`, `MultiPolygon`.
Polygon layer can display all geometry types defined by [RFC 7946 (GeoJSON)](https://tools.ietf.org/html/rfc7946): `Point`, `LineString`, `Polygon`, `MultiPoint`, `MultiLineString`, `MultiPolygon`.

kepler.gl supports all the GeoJSON types above. You can pass in either a single [`Feature`][features] or a [`FeatureCollection`][feature_collection]

[feature_collection]: https://tools.ietf.org/html/rfc7946#section-3.3
[features]: https://tools.ietf.org/html/rfc7946#section-3.2
You can load a GeoJSON file (with a single [`Feature`](https://tools.ietf.org/html/rfc7946#section-3.2) or a [`FeatureCollection`](https://tools.ietf.org/html/rfc7946#section-3.3)) or a GeoArrow file.


![GeoJSON layer](https://d1a3f4spazzrp4.cloudfront.net/kepler.gl/documentation/image20.png "GeoJSON layer")
Expand Down

0 comments on commit ac0d357

Please sign in to comment.