Skip to content

Commit 15c4976

Browse files
committed
Deploying to gh-pages from @ db08740 🚀
1 parent 9639fcd commit 15c4976

10 files changed

Lines changed: 60 additions & 14 deletions

File tree

articles/benchmark.html

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/benchmark.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ memo_diff <- round(as.numeric(temp$mem_alloc[2] / temp$mem_alloc[1]),1)
111111
time_diff <- (1 - round(as.numeric(temp$median[1] / temp$median[2]),2))*100
112112
```
113113

114-
In this example working with 1 million points, {duckspatial} was 60%
115-
faster and used 5.4 times less memory than {sf}. Not bad.
114+
In this example working with 1 million points, {duckspatial} was 57%
115+
faster and used 5.5 times less memory than {sf}. Not bad.
116116

117117
``` r
118118
ggplot(data = df_bench_join) +
@@ -171,7 +171,7 @@ memo_diff <- round(as.numeric(temp$mem_alloc[2] / temp$mem_alloc[1]),1)
171171
time_diff <- (1 - round(as.numeric(temp$median[1] / temp$median[2]),2))*100
172172
```
173173

174-
In this example working with 1 million points, {duckspatial} was 69%
174+
In this example working with 1 million points, {duckspatial} was 76%
175175
faster and used 2.6 times less memory than {sf}.
176176

177177
plot
@@ -236,8 +236,6 @@ df_bench_distance <- lapply(
236236
dplyr::bind_rows()
237237
#> Warning: Some expressions had a GC in every iteration; so filtering is
238238
#> disabled.
239-
#> Warning: Some expressions had a GC in every iteration; so filtering is
240-
#> disabled.
241239

242240

243241
# calculate difference in performance
@@ -249,7 +247,7 @@ time_diff <- (1 - round(as.numeric(temp$median[1] / temp$median[2]),2))*100
249247
```
250248

251249
In this example calculating the distance between 10K points,
252-
{duckspatial} was 86% faster, but used 2 times more memory than {sf}.
250+
{duckspatial} was 87% faster, but used 2 times more memory than {sf}.
253251
Mind you that {sf} is still more efficient when calculating Euclidean
254252
distances.
255253

70 Bytes
Loading
349 Bytes
Loading
-141 Bytes
Loading

index.html

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# duckspatial
22

3+
> Important note: The {duckspatial} R package is undergoing major
4+
> changes in preparation for v1.0.0. This release will align with DuckDB
5+
> v1.5 and its native CRS support in the Spatial extension.
6+
>
7+
> Previously, {duckspatial} relied on a workaround to store CRS
8+
> information in a dedicated column (named “crs_duckspatial” by default
9+
> and referenced via the crs_column argument). With native CRS support
10+
> now available, this workaround is no longer needed and will be
11+
> removed. As a result, the crs and crs_column arguments are deprecated
12+
> as of v0.9.0.
13+
>
14+
> The upcoming version also introduces a new native spatial class,
15+
> duckspatial_df. This represents a lazy spatial table backed by a
16+
> temporary DuckDB view, allowing workflows to remain fully lazy until
17+
> results are explicitly materialized with ddbs_collect(). In practice,
18+
> this means you can work with {duckspatial} without eagerly loading
19+
> data into R.
20+
>
21+
> Finally, v1.0.0 will include many new functions and broader API
22+
> improvements.
23+
324
The **{duckspatial}** package provides fast and memory-efficient
425
functions to analyze and manipulate large spatial vector datasets in R.
526
It allows R users to benefit directly from the analytical power of

llms.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# duckspatial
22

3+
> Important note: The {duckspatial} R package is undergoing major
4+
> changes in preparation for v1.0.0. This release will align with DuckDB
5+
> v1.5 and its native CRS support in the Spatial extension.
6+
>
7+
> Previously, {duckspatial} relied on a workaround to store CRS
8+
> information in a dedicated column (named “crs_duckspatial” by default
9+
> and referenced via the crs_column argument). With native CRS support
10+
> now available, this workaround is no longer needed and will be
11+
> removed. As a result, the crs and crs_column arguments are deprecated
12+
> as of v0.9.0.
13+
>
14+
> The upcoming version also introduces a new native spatial class,
15+
> duckspatial_df. This represents a lazy spatial table backed by a
16+
> temporary DuckDB view, allowing workflows to remain fully lazy until
17+
> results are explicitly materialized with ddbs_collect(). In practice,
18+
> this means you can work with {duckspatial} without eagerly loading
19+
> data into R.
20+
>
21+
> Finally, v1.0.0 will include many new functions and broader API
22+
> improvements.
23+
324
The **{duckspatial}** package provides fast and memory-efficient
425
functions to analyze and manipulate large spatial vector datasets in R.
526
It allows R users to benefit directly from the analytical power of

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ articles:
66
benchmark: benchmark.html
77
duckspatial: duckspatial.html
88
spatial_joins: spatial_joins.html
9-
last_built: 2026-02-10T16:13Z
9+
last_built: 2026-02-10T16:21Z
1010
urls:
1111
reference: https://cidree.github.io/duckspatial/reference
1212
article: https://cidree.github.io/duckspatial/articles

search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)