--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: s2raster excerpt: | DuckDB Community Extensions S2 geography + GeoTIFF raster for DuckDB — cell covering, pixel read, stats, histogram extension: name: s2raster description: "S2 geography + GeoTIFF raster for DuckDB — cell covering, pixel read, stats, histogram" version: 0.1.2 language: Rust build: cargo license: MIT requires_toolchains: rust maintainers: - alitrack excluded_platforms: "linux_arm64;wasm_eh;wasm_mvp;wasm_threads;windows_amd64_mingw;windows_amd64_rtools" repo: github: alitrack/duckdb-s2raster ref: 80bd487da7cab44f34f2c40fbce380db91f10ed5 ref_next: 80bd487da7cab44f34f2c40fbce380db91f10ed5 docs: hello_world: | -- S2 cell covering from WKT SELECT * FROM s2_covering('POLYGON((30 10, 40 40, 20 40, 10 20, 30 10))', 10, 15); -- Read raster pixel value SELECT rs_value('dem.tif', 1, 100, 200); extended_description: | ## s2raster — S2 Geometry + GeoTIFF for DuckDB Pure Rust, zero system dependencies. **37 Functions:** | Category | Count | Examples | |----------|-------|----------| | S2 Scalar | 11 | s2_cell_id, s2_contains, s2_distance_meters, s2_area_m2 | | S2 Table | 4 | s2_covering, s2_children, s2_cell_neighbors | | CellUnion | 4 | s2_cell_union_pack, s2_cell_union_contains | | Raster Scalar | 15 | rs_value, rs_pixel_to_world, rs_world_to_pixel, rs_stats | | Raster Table | 3 | rs_metadata, rs_stats, rs_histogram | **Platforms:** Linux x64, macOS arm64/x64, Windows x64 (MSVC). **Install:** `INSTALL s2raster FROM community;` extension_star_count: 1 extension_star_count_pretty: 1 extension_download_count: 830 extension_download_count_pretty: 830 image: '/images/community_extensions/social_preview/preview_community_extension_s2raster.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ❌ | ❌ | ✅ | ✅ | ✅ | | Linux ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | macOS AMD64 | ❌ | ❌ | ✅ | ✅ | ✅ | | macOS ARM64 | ❌ | ❌ | ✅ | ✅ | ✅ | | Windows AMD64 | ❌ | ❌ | ✅ | ✅ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions
This extension does not add any functions. ### Overloaded Functions
This extension does not add any function overloads. ### Added Types
This extension does not add any types. ### Added Settings
This extension does not add any settings.