Re: [gdal-dev] Copy meta data from one JP2 to another JP2 C++

2015-04-22 Thread Dr. Joshua Jackson
Thanks! And since I’m developing on Mac and CentOS I’ll stick with compiling the source :-) Joshua Jackson, PhD Senior ResearchEngineer (800) 604-1822 Ext. 5109(256) 648-5109 j...@nside.io www.nSide.io 4031 Parkway Dr, Suite B, Florence,

Re: [gdal-dev] Copy meta data from one JP2 to another JP2 C++

2015-04-22 Thread Even Rouault
Le mercredi 22 avril 2015 18:05:57, Dr. Joshua Jackson a écrit : > So I changed my C++ code to follow the basic path of gdalcopyproj.py > instead of copying the complete data set (see code below), and I am > getting a separate .aux.xml file generated instead of the data being > merged to the JP2 im

Re: [gdal-dev] Copy meta data from one JP2 to another JP2 C++

2015-04-22 Thread Dr. Joshua Jackson
So I changed my C++ code to follow the basic path of gdalcopyproj.py instead of copying the complete data set (see code below), and I am getting a separate .aux.xml file generated instead of the data being merged to the JP2 image file. Someone mentioned testing against GDAL 2.0, but as I have 1.

Re: [gdal-dev] Copy meta data from one JP2 to another JP2 C++

2015-04-15 Thread Even Rouault
Le mercredi 15 avril 2015 21:46:26, Dr. Joshua Jackson a écrit : > I’m looking for a good solution to copy the image meta data from one JP2 to > another JP2 in C++. I have a folder full of 4096x4096 JPEG2000 images > that I am processing with OpenCV. On some of them I create a copy of the > image

Re: [gdal-dev] Copy meta data from one JP2 to another JP2 C++

2015-04-15 Thread Dr. Joshua Jackson
Norman, do you have a recommended library to do that? Like Exiv2? Joshua Jackson, PhD Senior ResearchEngineer (800) 604-1822 Ext. 5109(256) 648-5109 j...@nside.io www.nSide.io 4031 Parkway Dr, Suite B, Florence, AL 35630

Re: [gdal-dev] Copy meta data from one JP2 to another JP2 C++

2015-04-15 Thread Norman Barker
A JP2 is just a JPEG2000 codestream with a JPEG2000 header, as soon as you get to the SOC marker then you have all the metadata. Alternatively you could use the JPX file format to store the metadata separately to the codestream. I probably wouldn't use GDAL for this task, just read the metadata un

[gdal-dev] Copy meta data from one JP2 to another JP2 C++

2015-04-15 Thread Dr. Joshua Jackson
I’m looking for a good solution to copy the image meta data from one JP2 to another JP2 in C++. I have a folder full of 4096x4096 JPEG2000 images that I am processing with OpenCV. On some of them I create a copy of the image and do some manipulations to. As expected the new image file is miss