Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
MySQL is an open-source, relational database management system. Place you question on MySQL Spatial Extensions here.
4
votes
2
answers
13k
views
MySQL Using ST_CONTAINS to obtain points within a bounding box
Can someone give me an insight into why the following MySQL code is not working. … The line is defined by:
LINESTRING (-4 5,5 5,10 5,12 5)
and is entered into the mySQL new_table row new_tablecol as a BLOB. If I inspect the field it is consistent with the LINESTRING above. …
3
votes
Accepted
MySQL Using ST_CONTAINS to obtain points within a bounding box
For anyone having the same problem - the answer is that an incorrect syntax was being using for the POLYGON declaration. The POLYGON should have been declared using the following method:
SET @g1 = …