The 1.4 release of DuckDB supports using a DuckDB database to serve vector tiles!
@kyle_e_walker2.1万 位关注者
45,635 次观看
11 条评论
评论来自 X (Twitter) 上的原帖

@kyle_e_walker
Here's the script if you want to try it out yourselves: It took some back-and-forth with Claude Sonnet, but with @giswqs's code as a huge help, it works great. I can see tons of potential applications for this - and maybe a home in mapgl in the future!
26 个赞

@karanjagtiani04
@duckdb Nice work on the vector tiles! This could really enhance geospatial visualizations. Curious how performance holds up with that many block groups.
1 个赞

@ArthurGailes
@duckdb Just the tileserver would be a neat package.
1 个赞

@kyle_e_walker
@duckdb yeah, maybe a PR into the duckspatial package?
3 个赞

@ArthurGailes
@duckdb Yes, I'll look into it. Could be nice by itself as well to interface with Postgres. Have you tried this with out of memory data? Part of the tile benefit is larger than memory data.
1 个赞

@kyle_e_walker
@duckdb I haven't - what you see is my only attempt at it
2 个赞

@ArthurGailes
@duckdb FYI I made a package for the server functionality. Thanks for the demo, this works beautifully.
1 个赞

@kyle_e_walker
@duckdb the best of social media right here! conversations sparking new ideas!
1 个赞

@bernatfortet
@duckdb How does it compare to postgis serving tiles?

@kyle_e_walker
@duckdb I have not benchmarked them, but I'd be curious!

@Reagent_Systems
@duckdb This is why I love X. I get to see something absolutely fascinating that I know nothing about and yet, I can instantly find out all I want to know about it. This is cool! A new DB!