Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeomFromText does not exist #201

Open
r8or0pz opened this issue May 24, 2019 · 2 comments
Open

GeomFromText does not exist #201

r8or0pz opened this issue May 24, 2019 · 2 comments

Comments

@r8or0pz
Copy link

r8or0pz commented May 24, 2019

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?

@holtkamp
Copy link

holtkamp commented May 25, 2019

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
Copy link

bradroc commented Oct 3, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants