You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/syntax/layer/type/spatial.qmd
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ title: "Spatial"
5
5
> Layers are declared with the [`DRAW` clause](../../clause/draw.qmd). Read the documentation for this clause for a thorough description of how to use it.
6
6
7
7
The spatial layer is used to render geographic geometries consisting of polygons, lines and points used to make maps like choropleths.
8
-
It differs from other layers in that uses a special [simple features](https://en.wikipedia.org/wiki/Simple_Features) geometry column that defines the shapes.
8
+
It differs from other layers in that it uses a special [simple features](https://en.wikipedia.org/wiki/Simple_Features) geometry column that defines the shapes.
9
9
10
10
## Aesthetics
11
11
The following aesthetics are recognised by the spatial layer.
@@ -48,37 +48,39 @@ Note that the geometry column is automatically detected.
48
48
49
49
```{ggsql}
50
50
VISUALISE FROM ggsql:world
51
-
DRAW spatial
51
+
DRAW spatial
52
52
```
53
53
54
54
If the geometry column isn't automatically detected —for example because it has a non-standard name— you may need to declare the mapping explicitly.
0 commit comments