longitude-one / doctrine-spatial

Doctrine extension to persist spatial data objects.
https://lo-doctrine-spatial.readthedocs.io/en/latest/
MIT License
67 stars 21 forks source link

Support for 2 parameters in ST_SRID() #102

Open holtkamp opened 2 months ago

holtkamp commented 2 months ago

As suggested in https://github.com/longitude-one/doctrine-spatial/issues/100

holtkamp commented 2 months ago

@Alexandre-T I gave it a shot, but can't get the automated tests to pass. I think this is because I can not change the files in the .github folder., but I am not sure about that.

Feel free to alter this PR / squash commits, etc. Or close it of course, it is becoming a mess like this 😉

Alexandre-T commented 1 month ago

Your tests are only failing because PostGreSQL cannot use two parameters. TODO LIST in main:

TODO LIST in 6.0.dev :

I'm currently focus on SRID with MySQL. If nobody can do it, I'll do in a few weeks