user1104687
user1104687

Reputation: 31

Inserting Lat/Long spatial extensions into MySQL

I'm wanting to put polygons into a MySQL database and then with PHP be able to query if a latitude/longitiude point is inside the polygon.

Any pointers here. Never done anything like this yet.

Upvotes: 3

Views: 1834

Answers (1)

Skrol29
Skrol29

Reputation: 5552

MySQL supports Spacial columns and functions using an extension which is quite often installed by default.

MySQL Reference for spacial features

How to use MySQL Spacial extension

Upvotes: 2

Related Questions