Skip to content

Add support for spatial / geometry types in DBAL #7081

@ddegasperi

Description

@ddegasperi

Hi Doctrine team,

I’d like to propose adding support for spatial / geometry column types in DBAL (e.g., geometry, point, linestring, polygon, etc.).

These types are supported in several database platforms (e.g., MySQL, PostgreSQL with PostGIS, SQLite with SpatiaLite), and having native support for them in DBAL would improve schema introspection, migrations, and type mapping consistency.

I understand this could be complex due to platform differences, but even basic support would already be a step forward for many use cases.

If this is something the project is open to accepting, I would be happy to work on a pull request to contribute the feature, starting with one platform (e.g., PostgreSQL/PostGIS) and iterating from there.

Would love to hear your thoughts!

Best regards,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions