Ian,

The defect is created as GEOT-5265.  I will take a closer look at it, though I 
am not terribly familiar with the underpinnings of geotools.  Any suggestions 
as to where I should start (where is the rendering done?) would be appreciated 
so as to narrow the field.

Thanks in advance.

Regards,
Neal

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

You can file a bug at https://osgeo-org.atlassian.net/projects/GEOT - feel free 
to go ahead if you have time to look at this, I'm trying to track done an issue 
in the selection tutorial currently

Ian

On 23 October 2015 at 15:10, Neal Dillman 
<ndill...@allweatherinc.com<mailto:ndill...@allweatherinc.com>> wrote:
Ian,

That is consistent with what I have found.  Thank you for the confirmation.

Please do create a bug (or point me to where I can).  I will have to debug the 
code, but I am wondering if the issue is some missing calls in the demo code, 
or an actual issue in the GeoTIFF code.  At the moment I am leaning towards the 
latter.

Regards,
Neal

From: Ian Turton [mailto:ijtur...@gmail.com<mailto:ijtur...@gmail.com>]
Sent: Friday, October 23, 2015 2:02 AM
To: Neal Dillman <ndill...@allweatherinc.com<mailto:ndill...@allweatherinc.com>>
Cc: Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>>; Devon 
Tucker <dtuc...@boundlessgeo.com<mailto:dtuc...@boundlessgeo.com>>; 
geotools-gt2-users@lists.sourceforge.net<mailto:geotools-gt2-users@lists.sourceforge.net>

Subject: Re: [Geotools-gt2-users] ImageLab and TIFF

I can confirm that the ImageLab doesn't work with the BlueMarble geotiff that I 
have - but it does work with clouds.jpg and other single band geotiffs that I 
have to hand.

Gdalinfo for the failing tiff is

Driver: GTiff/GeoTIFF
Files: bluemarble200401.tif
Size is 86400, 43200
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]
Origin = (-180.000000000000000,90.000000000000000)
Pixel Size = (0.004166666666667,-0.004166666666667)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=YCbCr JPEG
  INTERLEAVE=PIXEL
  SOURCE_COLOR_SPACE=YCbCr
Corner Coordinates:
Upper Left  (-180.0000000,  90.0000000) (180d 0' 0.00"W, 90d 0' 0.00"N)
Lower Left  (-180.0000000, -90.0000000) (180d 0' 0.00"W, 90d 0' 0.00"S)
Upper Right ( 180.0000000,  90.0000000) (180d 0' 0.00"E, 90d 0' 0.00"N)
Lower Right ( 180.0000000, -90.0000000) (180d 0' 0.00"E, 90d 0' 0.00"S)
Center      (   0.0000000,   0.0000000) (  0d 0' 0.01"E,  0d 0' 0.01"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
  Overviews: 43200x21600, 21600x10800, 10800x5400, 5400x2700
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
  Overviews: 43200x21600, 21600x10800, 10800x5400, 5400x2700
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
  Overviews: 43200x21600, 21600x10800, 10800x5400, 5400x2700


Shall I raise a bug?

Ian

On 22 October 2015 at 15:57, Neal Dillman 
<ndill...@allweatherinc.com<mailto:ndill...@allweatherinc.com>> wrote:
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<mailto:jody.garn...@gmail.com>]
Sent: Thursday, October 22, 2015 1:21 AM
To: Neal Dillman 
<ndill...@allweatherinc.com<mailto:ndill...@allweatherinc.com>>; Devon Tucker 
<dtuc...@boundlessgeo.com<mailto:dtuc...@boundlessgeo.com>>
Cc: 
geotools-gt2-users@lists.sourceforge.net<mailto: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<mailto:GeoTools-GT2-Users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


--
Ian Turton


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

Reply via email to