Re: [Geotools-gt2-users] [GeoTools-gt2-users] Creating a personal Feature with personal FeatureType

2008-04-11 Thread Anaxa Gore
I found this : http://docs.codehaus.org/display/GEOTOOLS/Change+to+SimpleFeature it seems to go in the same way I was speaking above : everything is going to the SimpleFeature...True ? Thomas 2008/4/11, Anaxa Gore [EMAIL PROTECTED]: Hello, If I understand well Jody, my approach is not

[Geotools-gt2-users] Cast from Geometry to MultiPolygon

2008-04-11 Thread Gloria Muñoz
Hey all! I'm having this exception: java.lang.ClassCastException: com.vividsolutions.jts.geom.Polygon when I try to cast from Geometry to MultiPolygon. The code involved is the next: MultiPolygon newMultiPolygon = factory.createMultiPolygon(newPolygons); Geometry

[Geotools-gt2-users] Download gt2-2.4.2

2008-04-11 Thread Martin Schmitz
Hello, today I tried to download GT2-2.4.2 from SourceForge. The binaries I could download. But for the source and JavaDoc I tried nearly every available mirror without success. Anyone with the same problem? Kind regards Martin

[Geotools-gt2-users] Broken link on geotools.codehaus.org

2008-04-11 Thread Stefan Krüger
Hi On page http://geotools.codehaus.org/2.4.x the link Upgrade to 2.4 http://geotools.codehaus.org/display/GEOTOOLS/Upgrade+to+2.4 is broken: http://geotools.codehaus.org/display/GEOTOOLS/Upgrade+to+2.4 Greetz Steve -

Re: [Geotools-gt2-users] [Geotools-devel] Try to open shapefile

2008-04-11 Thread Jody Garnett
Taking this discussion to the user list... It looks like by open you mean draw using a MapContext? Well a couple of things to try: - Use ShapefileDataStore.forceCRS on your shapefile before drawing - Skip CRS as it is only used to set up the MathTransform ... set up your renderer using a