Do you have a code example available?

    On Friday, April 17, 2020, 9:20:12 AM CDT, Daniele Romagnoli 
<daniele.romagn...@geo-solutions.it> wrote:  
 
 Hi John,BandMerge is usually adopted to create a multiple bands 
coverage/raster from multiple single band objects.I think that what you 
actually need is a Mosaic operation instead.
As an 
instance:https://github.com/geotools/geotools/blob/master/modules/library/coverage/src/main/java/org/geotools/coverage/processing/operation/Mosaic.java
  
Please, let us know if that works for you.Regards,Daniele




On Fri, Apr 17, 2020 at 4:07 PM John Paul via GeoTools-GT2-Users 
<geotools-gt2-users@lists.sourceforge.net> wrote:

 List<GridCoverage2d> coverages;

GridCoverage2D bmpCoverage = new BandMergeProcess().execute(coverages, null, 
null, null);

new GeoTiffWriter().write(bmpCoverage,null).dispose();

    On Thursday, April 16, 2020, 8:14:47 PM CDT, John Paul <japau...@yahoo.com> 
wrote:  
 
 Support-
I am trying to merge multiple ArcGrid files into a single Geotiff file.  When 
using the BandMergeProcess, each grid coverage is a separate band and only the 
first band has the color grey assigned.
How can a single grey scaled band geotiff be created from multiple ArcGrid 
files?
Thanks-
  _______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users



-- 
Regards,Daniele Romagnoli==GeoServer Professional Services from the experts! 
Visit http://goo.gl/it488V for more information.==
Ing. Daniele RomagnoliSenior Software Engineer
GeoSolutions S.A.S.Via di Montramito 3/A55054  Massarosa (LU)Italyphone: +39 
0584 962313fax:      +39 0584 1660272
http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa 
che ogni circostanza inerente alla presente email (il suo contenuto, gli 
eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. We remind that - as provided by European Regulation 
2016/679 “GDPR” - copying, dissemination or use of this e-mail or the 
information herein by anyone other than the intended recipient is prohibited. 
If you have received this email by mistake, please notify us immediately by 
telephone or e-mail.  
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to