[gdal-dev] Stacking JP2 files

Júlio César D. M. Esquerdo julio.esquerdo at embrapa.br
Tue Feb 11 13:15:33 PST 2020


Hello, 

I'm using gdal_merge.py to stack a set of JP2 rasters with the following command line:

gdal_merge.py *jp2 -o output.jp2 -of JP2OpenJPEG -separate 

It didn't work. I got the message: "Format driver JP2OpenJPEG does not support creation and piecewise writing".

The command works fine for GTiff rasters, but not with JP2 files.

Is it possible to stack very compressed JP2 files using GDAL? 

Thanks,

Best Regards,

Julio Esquerdo



____________________________________________________________________________
Aviso de confidencialidade

Esta mensagem da Empresa  Brasileira de Pesquisa  Agropecuaria (Embrapa),
empresa publica federal  regida pelo disposto  na Lei Federal no. 5.851,  de
7 de dezembro de 1972,  e  enviada exclusivamente  a seu destinatario e pode
conter informacoes  confidenciais, protegidas  por sigilo profissional.  Sua
utilizacao desautorizada  e ilegal e  sujeita o infrator as penas da lei. Se
voce  a recebeu indevidamente, queira, por gentileza, reenvia-la ao
emitente, esclarecendo o equivoco.

Confidentiality note

This message from Empresa  Brasileira de Pesquisa  Agropecuaria (Embrapa),
a government company  established under  Brazilian law (5.851/72), is
directed exclusively to  its addressee  and may contain confidential data, 
protected under  professional secrecy  rules. Its unauthorized  use is
illegal and  may subject the transgressor to the law's penalties. If you are
not the addressee, please send it back, elucidating the failure.



More information about the gdal-dev mailing list