-
Notifications
You must be signed in to change notification settings - Fork 176
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
Invalid Polygon Point value of type "double" #54
Comments
I AM BECOMING CRAZY !!!
EVERY FUNCTION RETURNS NULL and I know for a fact this point IS in a polygon !!!!!!! omg, I need a break For future references,for people like me, don't copy his tests, for some strange reasons they didn't wanna work,
and now they return 0 or 1 |
@collmomo I'm working on better documentation and testing in my fork. I'm assuming here the :point is actually being dropped into the query as a binary or self-represented geometry rather than the text representation. Have you tried without the GeomFromText method and would you happen to have a log of the actual query performed after doctrine sent it to the database? |
I had the same problem with returning NULL. It happens because of your Polygon wasn't closed up, I think. You have to duplicate first Point and add at the end. At least, it worked in database query.
|
What's the problem I don't understand at all, theres like no doc telling you how to create a polygon
The text was updated successfully, but these errors were encountered: