Re: [Geotools-devel] java.lang.ClassCastException in MySQLDataStore

2016-05-16 Thread Ian Turton
Thanks for this, what we need now is a Jira ticket, a unit test and a PR. I'm on holiday with just my phone and limited bandwidth so I can't add the links for those steps but have a look at the contribution guide. Ian On 15 May 2016 19:58, "Debasish Sahu" wrote: Hi Ian, I am getting the followi

[Geotools-devel] java.lang.ClassCastException in MySQLDataStore

2016-05-15 Thread Debasish Sahu
Hi Ian, I am getting the following exception when using the Geotools MySQLDataStore getBounds method. Caused by: java.lang.ClassCastException: com.vividsolutions.jts.geom.Point cannot be cast to com.vividsolutions.jts.geom.Polygon at org.geotools.data.mysql.MySQLDialectBasic.decodeGeometryEnvelop