MySQL Forums
Forum List  »  GIS

Polygon from MultiPolygon
Posted by: Ante Drnasin
Date: December 09, 2004 05:37AM


Anyone knows how can I extract all the polygons from this entry in MySQL 4.1.7 (type of GEOMETRY)

If I use: SELECT AsText(ogc_geom) as poli from test_table
I get:
MULTIPOLYGON(((580525.37 141603.2,580523.3 141629.81,580539.66 141631.09,580540.93 141619.38,580541.46 141608.63,580541.48 141604.73,580525.37 141603.2),(580527.79 141607.36,580532.68 141607.38,580532.61 141622.27,580527.73 141622.26,580527.79 141607.36)))

which consists of 2 polygons....

Is there a way I can extract those 2 polygons?

Options: ReplyQuote

Written By
Polygon from MultiPolygon
December 09, 2004 05:37AM
December 16, 2004 04:05AM

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.