Jan Torben Heuer ha scritto:
> On Wednesday 26 May 2010 15:17:21 you wrote:
> Hi,
>
>> Hi Jan, thanks for responsing.
>> I have installed Maven and now I understand how to get packages :)
>>
>> But still I don“t know what packages/dependencies/repositories do I need
> in
>> order to compile Geotiff examples. (GeotiffReader, GeoTiffFormat... )
> Please always reply to the list so other can benefit from your question.
>
>
> I use:
> <dependency>
> <groupId>org.geotools</groupId>
> <artifactId>gt-geotiff</artifactId>
> <version>${gt.version}</version>
> </dependency>
> the version can be 2.6.4 for example.
>
> The geotools repository is:
>
> <repository>
> <id>geotools</id>
> <url>http://download.osgeo.org/webdav/geotools/</url>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </repository>
>
> And you may need the JAI libs if you play with geotiff.
>
> <repository>
> <id>dev.java.net</id>
> <url>http://download.java.net/maven/2/</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> </repository>
>
> Notice my other thread: I have all classes but didn't succeed with reading
> TIFFs, yet. There might still be some hidden issue in my config....
Or else your TIFFs are just TIFFs, and not GeoTiffs.
If you have single file with full georeferencing in, it's a geotiff,
if you have tiff + tfw + prj it's a image + world instead, and the
module to be used should be gt-image I believe.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users