Ciao Gary, I did some investigation myself and 2.3.x plugin for geotiff actually handles properly the projection you reported as missing in 2.2. As far the error you are seeing it has been fixed for the 2.3.0 release hecen I recommend you use that one.
Here is the link: http://sourceforge.net/project/showfiles.php?group_id=4091 Regards, Simone. On 12/6/06, Gary Lucas <[EMAIL PROTECTED]> wrote: > Simone, > As you requested, I did some more investigation. > I am also supplying a link to the file with which I was working. > Sorry it took me so long, I had to do a bit of digging to find > out where it came from): > > http://avn.faa.gov/index.aspxml=naco/catalog/charts/digital/Raster_Sectional_Sample/Raster/sample.tif > > > I was originally running GeoTools version 2.2.0. I downloaded > 2.2.1 and obtained the same results. I then downloaded GeoTools > version 2.3.0_M0. While version 2.3 got past the "not currently supported" > exception, it now throws a null-pointer exception (which is shown below). > > Do you have any recommendations on how I should proceed? > > Gary > > > > Dec 6, 2006 8:50:56 AM org.geotools.renderer.lite.StreamingRenderer > processStylers > SEVERE: null > java.lang.NullPointerException > at com.vividsolutions.jts.geom.Envelope.init(Envelope.java:254) > at com.vividsolutions.jts.geom.Envelope.<init>(Envelope.java:186) > at > org.geotools.geometry.jts.ReferencedEnvelope.<init>(ReferencedEnvelope.java:112) > at > org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.<init>(GridCoverageRenderer.java:158) > at > org.geotools.renderer.lite.StreamingRenderer.renderRaster(StreamingRenderer.java:1719) > at > org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRenderer.java:1580) > at > org.geotools.renderer.lite.StreamingRenderer.process(StreamingRenderer.java:1524) > at > org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1466) > at > org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:531) > at > org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:395) > at com.sonalysts.hope2.JMapPane.paintComponent(JMapPane.java:425) > at javax.swing.JComponent.paint(Unknown Source) > > > > --- > Gary W. Lucas, Senior Software Engineer > Sonalysts, Inc > 215 Parkway North > Waterford, CT 06320 > (860) 326-3682 > > > > > From: Simone Giannecchini [mailto:[EMAIL PROTECTED] > To: Gary Lucas [mailto:[EMAIL PROTECTED] > Cc: [email protected] > Sent: Mon, 04 Dec 2006 10:51:21 -0500 > Subject: Re: [Geotools-gt2-users] Want to contribute work on GeoTiff > projections, need direction > > Ciao Gary, > could you please provide some details about which version of GeoTools > you are working with? In addition a sample file would be great in > order to test on GeoTools 2.3.x. > > Thx a lot, > Simone. > > > > On 12/4/06, Gary Lucas <[EMAIL PROTECTED]> wrote: > > > > I am working with some GeoTiff files that given images projected in the > > Lambert Conic Conformal projection. This projection is not currently > > supported > > by GeoTools and when I attempt to read the file the GeoTiffReader class > > throws an exception with the comment > > > > "ProjCoordTransGeoKey(8) is not currently supported" > > > > This is a known bug (GEOT-671). I would like to implement the > > projection and perhaps contribute code to the project. > > > > My problem in doing so is that I have been finding it very difficult to find > > my > > way around the GeoTools code. The mathemetics is easy enough, but > > the software issues are sometimes confusing and the documentation > > rather sketchy (and here I refer not just to the advanced issues like > > teasing the algorithms out of existing code, but even simply things > > like the relationships between classes and flow-of-control when > > putting together an implementation). > > > > Could somebody provide guidance on the general procedure for > > adding a new projection in this case? Also, while I'm at it I might > > be able to contribute code for other missing projections are there > > other important projections that are needed? There are > > limits to what I can do, of course, but if there were one or two other > > very important projections I might be willing to take a crack at it > > just as a way of giving something back to the community. > > > > Gary > > > > > > --- > > Gary W. Lucas, Senior Software Engineer > > Sonalysts, Inc > > 215 Parkway North > > Waterford, CT 06320 > > (860) 326-3682 > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > Geotools-gt2-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > > > > > > > -- > ------------------------------------------------------- > Eng. Simone Giannecchini > President /CEO GeoSolutions > > http://www.geo-solutions.it > > ------------------------------------------------------- > -- ------------------------------------------------------- Eng. Simone Giannecchini President /CEO GeoSolutions http://www.geo-solutions.it ------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
