Re: [Geotools-gt2-users] R: Geotools and database transactions

2007-04-18 Thread Steve.Ansari
Another option could be to use the new Oracle IO classes in Java Topology Suite 1.8. This makes it really easy to convert JTS Geometry into an Oracle STRUCT and should allow you to do transaction-based inserts on many tables with more low level control of batch updates, commits, etc... http:

Re: [Geotools-gt2-users] Problems with maven, builds, and SNAPSHOTS

2007-03-01 Thread Steve.Ansari
Hi Gary, You can also download nightly pre-built jars and source SNAPSHOTS from: http://www.geo-solutions.it/gt2_nightly/ Steve Gary Lucas said the following on 3/1/2007 3:41 PM: > I have spent the entire day trying unsuccessfully to build software > from the GeoTools source distribution in gt2

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Steve.Ansari
Yes, switching from 2.3.0 to 2.3.1-SNAPSHOT-rev24168 fixed the problem. Steve Simone Giannecchini wrote: > So, > to understand, > the only thing you did was switching to 2.3.1-snaphost? > > Simone. > - Original Message - From: Steve.Ansari > To: [EMAIL PR

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Steve.Ansari
ster than on windows xp. One advice. please install the JAI ImageIO tools package since it ships with a nice native encoder for png which should make things a bit faster anyway. Let us know if you have more problems. Regards, Simone. - Original Message - From: "Steve.Ansari

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-05 Thread Steve.Ansari
Hi Simone/Andrea, I'm using: Java jre1.5.0_04 JAI installed from: jai-1_1_3-lib-windows-i586-jre.exe ImageIO from standard Java API - no native installs I isolated the slowness to this line in GridCoverageRenderer: graphics.drawRenderedImage(finalImage, cloneFinalWorldToGrid); After

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-04 Thread Steve.Ansari
eoCenterX + dlon / 2.0, geoCenterX - dlon / 2.0, geoCenterY + dlat / 2.0, geoCenterY - dlat / 2.0, bounds.getCoordinateReferenceSystem() ); } // end adjustGeographicBounds() } Andrea Aime wrote: Stev

Re: [Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-04 Thread Steve.Ansari
drea Aime wrote: Steve.Ansari ha scritto: Hello all, I'm using StreamingRenderer to draw a MapContext with the 2.3.0 release, however it is VERY slow when drawing a GridCoverage layer. I've isolated the problem to: graphics.drawRenderedImage(finalImage, cloneFinalWorldToGrid);

[Geotools-gt2-users] Slow rendering of GridCoverage objects

2007-02-04 Thread Steve.Ansari
Hello all, I'm using StreamingRenderer to draw a MapContext with the 2.3.0 release, however it is VERY slow when drawing a GridCoverage layer. I've isolated the problem to: graphics.drawRenderedImage(finalImage, cloneFinalWorldToGrid); in GridCoverageRenderer ( http://svn.geotool

[Geotools-gt2-users] Custom Projection

2006-11-22 Thread Steve.Ansari
Hello, I'm having trouble 'registering' a custom projection with GT2.3. While following the examples for other projections such as AlbersEqualArea seems to work, I keep getting an exception such as: org.opengis.referencing.NoSuchIdentifierException: No transform for classification "MyProjecti

Re: [Geotools-gt2-users] simple example for reading/writing shapefiles

2006-07-27 Thread Steve.Ansari
.util.*; import org.geotools.feature.*; import org.geotools.data.*; import org.geotools.data.shapefile.*; import com.vividsolutions.jts.geom.*; /**  *  Description of the Class  *  * @author    steve.ansari  */ public class ClipShapefile {    /**     *  Description of the Method     *     * @

Re: [Geotools-gt2-users] Problems with streamingRenderer

2006-06-08 Thread Steve.Ansari
Try changing:         rendererParams.put("optimizedDataLoadingEnabled", true); to:         rendererParams.put("optimizedDataLoadingEnabled", new Boolean(true)); Steve Joel Mirkin wrote: Hi all, I'm trying to render a map context into a BufferedImage using StreamingRenderer. Problem is all

Re: [Geotools-gt2-users] GRIB format

2006-01-19 Thread Steve.Ansari
Hello Dany, If you are just reading GRIB data, I'd recommend Unidata's NetCDF Java Library.  This includes decoders for GRIB 1 and GRIB 2.  The data are decoded into the NetCDF data structure, which is basically arrays of data.  The documentation is good with lots of examples. Once in the Net