Skip to content

Conversation

@adrien-berchet
Copy link
Member

No description provided.

@adrien-berchet adrien-berchet changed the title Feat: Add support of spatial indexes for Raster type Feat: Add support of spatial indexes for Raster type for PostgreSQL Jul 17, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for spatial indexes on Raster type columns in PostgreSQL. It extends the existing spatial indexing functionality that was previously only available for Geometry and Geography types to also include Raster columns.

  • Adds spatial index support for Raster type in PostgreSQL dialect
  • Updates test coverage to include Raster columns with and without spatial indexes
  • Extends Python version support to include Python 3.13 in testing matrix

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tox.ini Adds Python 3.13 to the testing environment matrix
tests/test_functional.py Adds test assertions for Raster type reflection and spatial index creation
tests/schema_fixtures.py Adds test schema fixtures for Raster columns with and without spatial indexes
geoalchemy2/types/init.py Updates Raster constructor to accept spatial index reflection parameter
geoalchemy2/admin/dialects/postgresql.py Implements spatial index support for Raster type using ST_ConvexHull functional indexes

@adrien-berchet adrien-berchet merged commit e131121 into geoalchemy:master Jul 18, 2025
8 checks passed
@adrien-berchet adrien-berchet deleted the raster_indexes branch July 18, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant