troubleshooting Question

MySQL Linestring

Avatar of Gary
GaryFlag for Ireland asked on
16 Comments1 Solution971 ViewsLast Modified:
How would I write the sql below so the calculations are performed, at the moment they are in the string as plain text

SELECT Region from table1 WHERE MBRContains(GeomFromText(
(22.30260+ 20 / ( 111.1 / cos(22.30260))) (22.30260+ 20 / 111.1)
(22.30260- 20 / ( 111.1 / cos(22.30260))) (114.19185- 20 / 111.1))
'), latlng)
Join our community to see this answer!
Unlock 1 Answer and 16 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros