MySQL Forums
Forum List  »  GIS

Re: Problem with class Polygon with JDBC
Posted by: Peter Yuill
Date: November 22, 2004 08:28PM

A simple select on a Polygon column returns the internal MySQL representation of Polygon, which is not very useful. Use AsText(colName) to return OGC Well Known Text or AsBinary(colName) to return OGC Well Known Binary objects. These can then be turned into something more useful with a spatial library such as JTS (http://www.vividsolutions.com/JTS)

Options: ReplyQuote


Subject
Views
Written By
Posted
4681
November 09, 2004 03:43AM
Re: Problem with class Polygon with JDBC
3114
November 22, 2004 08:28PM


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.