Re: [Geotools-gt2-users] Problem with worldToScreenTransform

2008-10-13 Thread Simone Giannecchini
Ciao Jose', unfortunately the version of GeoTools you are referring with is very old. I recommend you update to a newer version of the code. Doing so, if you provide me with an isolated testcase (code+ data) I would be able to look into your problem. Simone. On Sun, Oct 12, 2008 at 7:37 AM, ze.sj

Re: [Geotools-gt2-users] Geomatry example

2008-10-13 Thread Michael Bedward
I've emailed a working example privately Michael 2008/10/14 fx5900 <[EMAIL PROTECTED]>: > > Hi Adrian, > >YES i am confused, i have the JTS geometries in my libraries folder and > version 1.8 installed but every time i try to create a new object such as > GeometryFactory g= new GeometryFacto

Re: [Geotools-gt2-users] Geomatry example

2008-10-13 Thread fx5900
Hi Adrian, YES i am confused, i have the JTS geometries in my libraries folder and version 1.8 installed but every time i try to create a new object such as GeometryFactory g= new GeometryFactory(); i keep getting the errors of cannot find symbol. I have the jar file,the import statement as

Re: [Geotools-gt2-users] dwithin: jts-geometry vs. opengis geometry

2008-10-13 Thread Julian Hagenauer
Hi, solved the problem by myself. Just use FilterFactory2 instead of "regular" FilterFactory. Sincerely, Julian Original-Nachricht > Datum: Mon, 13 Oct 2008 14:48:07 +0200 > Von: "Julian Hagenauer" <[EMAIL PROTECTED]> > An: geotools-gt2-users@lists.sourceforge.net > Betreff: [Ge

[Geotools-gt2-users] dwithin: jts-geometry vs. opengis geometry

2008-10-13 Thread Julian Hagenauer
Hi, i am working with a FeatureCollection that contains a set of SimpleFeatures. getDefaultGeometry() of every SimpleFeature does return a Geometry of the jts-suite. But FilterFactory.dwithin() needs a Geometry of the opengis-package as a parameter. Is there a (simple) way to convert one geometry

Re: [Geotools-gt2-users] Geomatry example

2008-10-13 Thread Adrian Custer
Hey, You seem royally confused between JTS geometries and ISO geometries which is not really your fault since they unfortunately all share objects of the same names. ISO geometry is a work in progress and not usable for day to day work. It's not yet even clear how the specification can be impl

Re: [Geotools-gt2-users] Geomatry example

2008-10-13 Thread Michael Bedward
Just do this... GeometryFactory gf = new GeometryFactory(); Michael 2008/10/13 fx5900 <[EMAIL PROTECTED]>: > > Hi, > >I am following the how to create a geomatry example but everytime i add > the code > GeometryFactory GeometryFactory = JTSFactoryFinder.getGeometryFactory( null > )