Skip to content

Commit 20972c4

Browse files
committed
fixes #2521
1 parent 94b2b06 commit 20972c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vignettes/sf2.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ st_write(nc, "nc1.shp")
144144
```
145145

146146
The file name is taken as the data source name. The default for
147-
the layer name is the basename (filename without path) of the the
147+
the layer name is the basename (filename without path) of the
148148
data source name. For this, `st_write()` needs to guess the driver. The
149149
above command is, for instance, equivalent to:
150150

vignettes/sf3.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ between each pair of geometries:
230230
```{r}
231231
st_relate(x,y)
232232
```
233-
element [i,j] of this matrix has nine characters, referring to relationship between x[i] and y[j], encoded as $I_xI_y,I_xB_y,I_xE_y,B_xI_y,B_xB_y,B_xE_y,E_xI_y,E_xB_y,E_xE_y$ where $I$ refers to interior, $B$ to boundary, and $E$ to exterior, and e.g. $B_xI_y$ the dimensionality of the intersection of the the boundary $B_x$ of x[i] and the interior $I_y$ of y[j], which is one of {0,1,2,F}, indicating zero-, one-, two-dimension intersection, and (F) no intersection, respectively.
233+
element [i,j] of this matrix has nine characters, referring to relationship between x[i] and y[j], encoded as $I_xI_y,I_xB_y,I_xE_y,B_xI_y,B_xB_y,B_xE_y,E_xI_y,E_xB_y,E_xE_y$ where $I$ refers to interior, $B$ to boundary, and $E$ to exterior, and e.g. $B_xI_y$ the dimensionality of the intersection of the boundary $B_x$ of x[i] and the interior $I_y$ of y[j], which is one of {0,1,2,F}, indicating zero-, one-, two-dimension intersection, and (F) no intersection, respectively.
234234

235235
### Binary logical operations:
236236
Binary logical operations return either a sparse matrix
@@ -243,7 +243,7 @@ st_intersects(x, x, sparse = FALSE)
243243
st_intersects(x, y, sparse = FALSE)
244244
```
245245
where list element `i` of a sparse matrix contains the indices of
246-
the `TRUE` elements in row `i` of the the dense matrix. For large
246+
the `TRUE` elements in row `i` of the dense matrix. For large
247247
geometry sets, dense matrices take up a lot of memory and are
248248
mostly filled with `FALSE` values, hence the default is to return
249249
a sparse matrix.

0 commit comments

Comments
 (0)