Thanks Jody.
With this code:
AbstractGridFormat format = GridFormatFinder.findFormat(myfile);
if (format instanceof GeoTiffFormat) {
// is geotiff
} else {
// not geotiff
}
I am able to check if the image is a geotiff. I wonder if there can be a
similar solution for "normal" images + world file.
Anna.
2016-06-07 23:12 GMT+02:00 Jody Garnett <jody.garn...@gmail.com>:
> See the new tutorial
> <http://docs.geotools.org/latest/userguide/tutorial/coverage/coverage.html>
> on how to read a coverage and ask for the bounds...
>
> --
> Jody Garnett
>
> On 7 June 2016 at 03:05, Anna Amat <anna.amat...@gmail.com> wrote:
>
>>
>> Hi all,
>>
>> Is there a way to check if an image is already georeferenced (could be
>> either geotiff or with a world file) programmatically?
>>
>> Thanks,
>> Anna.
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports.
>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> _______________________________________________
>> GeoTools-GT2-Users mailing list
>> GeoTools-GT2-Users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users