From: Alessandro F. <ale...@gm...> - 2012-11-08 18:06:40
|
Hi Michael, Indeed you are right. I quickly ran into another issue parsing a simple MULTIPOLYGON. I was getting a new Exception: java.lang.UnsupportedOperationException: This is the JTS Wrapper Factory which only supports implementations that align with the Simple Feature for SQL Specification. I modified my code to match what you gave me and now the WKT is getting parsed correctly. Thank you and regards, Alessandro Ferrucci On Wed, Nov 7, 2012 at 11:41 PM, Michael Bedward <mic...@gm...>wrote: > Hello again Alessandro, > > Sorry - I didn't notice your second post when replying... but once > again, unless you need features beyond those that JTS offers, using > JTS directly will probably be easier and safer. > > Michael > > On 8 November 2012 14:00, Alessandro Ferrucci > <ale...@gm...> wrote: > > Ok I was able to fix this. > > > > I was missing > > > > <dependency> > > <groupId>org.geotools</groupId> > > <artifactId>gt-jts-wrapper</artifactId> > > > > <version>${geotools.version}</version> > > </dependency> > > > > in my pom file. > > Thank you > -- Signed, Alessandro Ferrucci |