MySQL5.6 fully supports space field geometry operations _ MySQL

Source: Internet
Author: User
MySQL5.6 fully supports bitsCN.com for geometry operations on spatial fields

Or perform database migration.

Or migrate data from MSSQL to MySQL. The biggest problem is that MySQL does not support space operations. At first, I planned to connect to C using MySQL, connect to IPVs using C, and then return the result after computation by The Postgis plug-in of IPVs. After two days of tangle, the code failed to be accumulated for one day, and the return value was always NULL. However, I was so helpless that I was very happy to go through the MySQL documentation and find that the exact space operation was about to be supported in MySQL 5.6, download the beta version immediately and try it out. End of tangle. share link:

Http://dev.mysql.com/doc/refman/5.6/en/functions-for-testing-spatial-relations-between-geometric-objects.html

NOTE that NOTE highlights:

NoteMySQL originally implemented these functions such that they used object bounding rectangles and returned the same result as the corresponding MBR-based functions. as of MySQL 5.6.1, corresponding versions are available that use precise object shapes. these versions are named with ST_Prefix. For example, Contains()Uses object bounding rectangles, whereas ST_Contains()Uses object shapes.As of MySQL 5.6.1, there are also ST_Aliases for existing spatial functions that were already exact. For example, ST_IsEmpty()Is an alias IsEmpty()BitsCN.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.