MySQL Forums
Forum List  »  GIS

Re: example function Polygon
Posted by: Hartmut Holzgraefe
Date: October 21, 2009 11:45AM

Have you checked the examples on


It all comes down to


with ... being one or more closed loop LINESTRING definitions.

The examples on the page above use a MULTIPOLYGON consisting of two triangles:

'Polygon((0 0,0 3,3 0,0 0),(1 1,1 2,2 1,1 1))';

Hartmut Holzgraefe, MySQL Regional Support Manager EMEA

Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

Options: ReplyQuote

Written By
October 21, 2009 02:59AM
Re: example function Polygon
October 21, 2009 11:45AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.