Jody,

Yes, geotiff is in the POM.  I am very familiar with geotools, but decided to 
follow the ImageLab example just to be sure I had not missed something.  The 
example has that library (and thereby the dependencies) explicitly specified.

Regards,
Neal

From: Jody Garnett [mailto:jody.garn...@gmail.com]
Sent: Thursday, October 22, 2015 1:21 AM
To: Neal Dillman <ndill...@allweatherinc.com>; Devon Tucker 
<dtuc...@boundlessgeo.com>
Cc: geotools-gt2-users@lists.sourceforge.net
Subject: Re: [Geotools-gt2-users] ImageLab and TIFF

One of my co-workers is going through the tutorial now - I believe he did the 
ImageLab. Devon when you went through the ImageLab yesterday did you try 
GeoTIFF? Or only world+image (jpeg)?

One thing to check is which plugins you have included in your build using "mvn 
dependency:tree" as described in the quickstart.

For GeoTIFF support you will need to include gt-geotiff plugin, here is the 
example from the user 
guide<http://docs.geotools.org/stable/userguide/library/coverage/geotiff.html>.

<dependency>
  <groupId>org.geotools</groupId>
  <artifactId>gt-geotiff</artifactId>
  <version>${geotools.version}</version>
</dependency>



--
Jody Garnett

On 21 October 2015 at 12:48, Neal Dillman 
<ndill...@allweatherinc.com<mailto:ndill...@allweatherinc.com>> wrote:
Hello,

We have been using GeoTools (quite happily, thank you) for some time now, and 
this is the first time I have has any reason to inquire with the group.  Until 
recently our usage was related to shapefiles.  We are now starting to use 
raster and have run into an issue.

We are unable to get GeoTIFFs to display.  There are no errors, just no 
display.  We backed all the way out of our applications and created a fresh 
test environment using v14 via Maven and used ImageLab as the test program.  
The result is the same as we saw in our applications.  The bluemarble (the 
GeoTIFF) does not display.  As with our application all indications from the 
code are that it is working, but there is nothing painted for the TIFF.

Are others able to use ImageLab with the current GeoTools?  Is there an 
alternate example (perhaps there is some other call along the way that is 
needed) to look at?

Note that we have no issues using PNG raster along with the associated 
“sidecar” files.  We are switching this particular application to support 
GeoTIFF as the extra files are awkward and cause issues for the user.

Thanks in advance for any wisdom the group can impart.

Regards,
Neal


------------------------------------------------------------------------------

_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net<mailto:GeoTools-GT2-Users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to