On 3/6/2011 10:26 PM, shashi kanth wrote:
Quote:
Hi, this may sound ridiculuos but i want to know how can i insert a
polygon into database, if i only know the radius of the polygon.
Like i have a polygon, centered at the origin, with radius, say 5. Now
how can i insert it into mysql database? I hope we need to know the
vertices of it before inserting.
How can this be achieved? |
Are you trying to use the MySQL spatial extensions, or is this just
a general geometry question?
The spatial extensions sort of work, but all they really can look
up efficiently is point-in-rectangle.
John Nagle