Skip to content

GeomFromText does not exist #201

@r8or0pz

Description

@r8or0pz

Looks like MySQL 8 is not supported as there is no ST_ prefix in GeomFromText in default configuration, but according the doc it should work: https://github.com/creof/doctrine2-spatial/blob/master/doc/mysql.md

It is caused by https://github.com/creof/doctrine2-spatial/blob/master/lib/CrEOF/Spatial/DBAL/Platform/MySql.php#L72

How to enforce doctrine2-spatial to use ST_GeomFromText?

Activity

holtkamp

holtkamp commented on May 25, 2019

@holtkamp

Related to #193 and #196

If really needed you can use this branch: https://github.com/holtkamp/doctrine2-spatial/tree/mysql-80-support

not for production use though: I might delete it when the PR gets merged.

@djlambert can you have a look at the PR? Been using it in production for 6 months now, works nicely

bradroc

bradroc commented on Oct 3, 2023

@bradroc

Agree this would be really nice to have merged - we're running into the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @holtkamp@bradroc@r8or0pz

        Issue actions

          GeomFromText does not exist · Issue #201 · creof/doctrine2-spatial