How to merge geotiff files?

4 messages Options
Embed this post
Permalink
xx

How to merge geotiff files?

Reply Threaded More More options
Print post
Permalink
Hi, buddies
      I want to merge several geotiff files to a single file in java. Could Geotools  achieve it ? A simple example or any suggestions will be great appreciated.




"中国制造",讲述中国60年往事

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Christian Müller-3

Re: How to merge geotiff files?

Reply Threaded More More options
Print post
Permalink
If you want to do it from the command line, download

http://fwtools.maptools.org/ 

and use  "gdal_merge.py".

Manpage
http://www.gdal.org/gdal_merge.html 

 


zeng writes:

> Hi, buddies
>       I want to merge several geotiff files to a single file in java. Could Geotools  achieve it ? A simple example or any suggestions will be great appreciated.
>
 


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
xx

Re: How to merge geotiff files?

Reply Threaded More More options
Print post
Permalink
I need to implement it in java program. And I have never used python
在2009-09-16,"Christian Müller" <[hidden email]> 写道:
>If you want to do it from the command line, download 
>
>http://fwtools.maptools.org/ 
>
>and use  "gdal_merge.py". 
>
>Manpage
>http://www.gdal.org/gdal_merge.html 
>
> 
>
>
>zeng writes: 
>
>> Hi, buddies
>>       I want to merge several geotiff files to a single file in java. Could Geotools  achieve it ? A simple example or any suggestions will be great appreciated. 
>> 
> 
>



"中国制造",讲述中国60年往事

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Jody Garnett-2

Re: How to merge geotiff files?

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Draw the images into a single BufferedImage. Wrap the BufferedImage up as a GridCoverage; and export the result as a geotiff.

The following page links to test cases showing how to read and write a geotiff file:
- http://docs.codehaus.org/display/GEOTDOC/GeoTIFF+Plugin

The render can be used to draw several images onto a buffered image; you will need to create a map context that has a maplayer for each image.

Jody

On 16/09/2009, at 3:27 PM, zeng wrote:

I need to implement it in java program. And I have never used python
在2009-09-16,"Christian Müller" <[hidden email]> 写道:
>If you want to do it from the command line, download 
>
>http://fwtools.maptools.org/ 
>
>and use  "gdal_merge.py". 
>
>Manpage
>http://www.gdal.org/gdal_merge.html 
>
> 
>
>
>zeng writes: 
>
>> Hi, buddies
>>       I want to merge several geotiff files to a single file in java. Could Geotools  achieve it ? A simple example or any suggestions will be great appreciated. 
>> 
> 
>



"中国制造",讲述中国60年往事
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users