-
Notifications
You must be signed in to change notification settings - Fork 177
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
SRID set to 0 for points in MySQL #52
Comments
@spackmat SRID is default to the specification of the database. There is an optional parameter after these methods (in postgis) that define the SRID if it's not set on the table already. There may also be a parameter to have the database warn/explode if no SRID is defined in the query - but I'm not our database administrator :S good luck |
Currently the MySQL code doesn't use the SRID value. This is something that'll need to be implemented. |
Is there any news about if this will ever be implemented for MySQL? I am also interested in this feature. |
@yurtesen Your PR and contribution are most welcome ! The project is well used by many, i am sure many users will be happy to see SRID avalaibility ! |
@sadotun I decided to use postgresql after all. The GIS functions in MySQL were just very limited. I made PR for postgresql. However I am not good at doing the test stuff. I hope somebody completes that part :) works for me... |
Note that without using proper SRID on columns, spatial indexes will not work on MySQL
Added support for @djlambert can you consider merging it using #196 ? |
Hi,
is it intended, that points are set with a SRID of 0 in MySQL (or maybe not set at all)?
When I save a new Point with a given SRID to the database, the SRID is always 0 afterwards.
Greets,
spackmat
The text was updated successfully, but these errors were encountered: