Skip to content

Commit

Permalink
more text
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Sep 21, 2024
1 parent 1da4a96 commit 0b73cca
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions chapters/01-spatial-data.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,25 @@ There is more to CRSs, as described in @sec-coordinate-reference-systems-intro a
TODO: explain the JuliaGeo ecosystem like they explain geopandas
E.g GeoInterface defines how to access any geometry, then LibGEOS (wrapping GEOS), GeometryOps, Proj, etc consume such geometries.

<!--
-->

### Vector data classes

Julia's geographic vector data model is based on the [Simple Features](https://en.wikipedia.org/wiki/Simple_Features) standard, which is an ISO standard for representing vector data. Simple Features defines types of geometries (points, lines, polygons, multipolygons, etc.), as well as "feature collections" that are basically tables of geometries associated with some data.

Starting with the highest level class, feature collections come in two flavours:
- Loaded from file (`Shapefile.Table`, `GeoJSON.FeatureCollection`, ...)
- Tables with geometry columns (e.g. `DataFrame`, but can be any [Julia table](https://github.com/JuliaData/Tables.jl))

One can easily convert from feature collections to

<!--
-->


```{julia}
using GeoDataFrames
df = GeoDataFrames.read("data/world.gpkg")
Expand Down

0 comments on commit 0b73cca

Please sign in to comment.