Skip to content

Commit ae81363

Browse files
authored
docs: Reword section in "How it works" to reflect GeoParquet 1.1 (#804)
Closes #785
1 parent 8930876 commit ae81363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/how-it-works/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Lonboard is built on four foundational technologies: deck.gl, GeoArrow, GeoParqu
88
- [GeoParquet](https://geoparquet.org/) is a file format for efficiently encoding and decoding geospatial vector data. As a file format, GeoParquet contains very efficient compression, and needs to be parsed before it can be used. [^1]
99
- [anywidget](https://anywidget.dev/) is a framework for building custom Jupyter widgets that makes the process much easier than before.
1010

11-
[^1]: lonboard currently doesn't use "official" GeoParquet 1.0, because the 1.0 spec requires encoding geometries as Well-Known Binary (WKB) inside of the Parquet file. lonboard uses the highly-efficient GeoArrow encoding inside of GeoParquet (which may [become part of the GeoParquet spec in 1.1](https://github.com/opengeospatial/geoparquet/issues/185)). This is faster and easier to write when the writer and reader are both using GeoArrow anyways.
11+
[^1]: For subtle technical reasons, Lonboard's internal data transfer doesn't match the exact GeoParquet specification. Lonboard uses the highly-efficient GeoArrow encoding inside of GeoParquet instead of storing geometries as Well-Known Binary (WKB). While the GeoParquet 1.1 spec does support a "native" GeoArrow-like encoding, note that GeoArrow defines two [_coordinate layouts_](https://geoarrow.org/format.html#coordinate): "separated" and "interleaved". Only "separated" is allowed in the GeoParquet spec because only the "separated" layout generates useful column statistics to be used for cloud-native spatial queries. However, deck.gl expects the "interleaved" layout. So Lonboard prepares Arrow data in that exact format to avoid an extra memory copy on the JavaScript side before uploading to the GPU.
1212

1313
## How is it so fast?
1414

0 commit comments

Comments
 (0)