Thanks Mickael
Resending this email incase it didnt post. attached are the outputs for
readimageinfo and convert. Convert commandline used is as follows:
otbcli_Convert -in "IMG_XXX.JP2?&resol=0" -out
"output.tif?&writegeom=false&gdal:co:TILED=yes&streaming:type=auto&gdal:co:BIGTIFF=YES"
Also,
Please advise on the commandline to orthorectify using the provided DIM and
RPC xml files. Thanks a million
Regards
Umair
On Friday, April 25, 2014 10:36:06 AM UTC+5, Umair Rabbani wrote:
>
> Hello everyone
>
> Not really an expert at OTB. Cannot read Pleiades JP2 file with
> DIM_XXX.Xml with gdal. otb-Readimageinfo reads the proj info but converting
> from otb_convert halts at 16-20% with error core dumped..
>
> Im on xubuntu x64 n using ubuntugis-unstable repos.
>
> Any suggestions?
>
>
> Regrads
> Umair
>
>
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
it-01@it01-HP-Z820-Workstation:/media/DATADRIVE1/Pleiades_Stereo/FCGC600172559/IMG_PHR1A_P_001$
otbcli_Convert -in
"IMG_PHR1A_P_201404090549319_SEN_873149101-001_R1C1.JP2?&resol=0" -out
"output.tif?&writegeom=false&gdal:co:TILED=yes&streaming:type=auto&gdal:co:BIGTIFF=IF_NEEDED"
WARNING: In /build/buildd/otb-3.20.0/Code/IO/otbImageFileWriter.txx, line 285
ImageFileWriter (0x1403980): Streaming configuration through extended filename
is used. Any previous streaming configuration (ram value, streaming mode ...)
will be ignored.
WARNING: In /build/buildd/otb-3.20.0/Code/IO/otbImageFileWriter.txx, line 311
ImageFileWriter (0x1403980): sizemode is auto but sizevalue is 0. Value will be
fetched from configuration file if any, or from cmake configuration otherwise.
Writing
output.tif?&writegeom=false&gdal:co:TILED=yes&streaming:type=auto&gdal:co:BIGTIFF=IF_NEEDED...:
16% [******** ]*** glibc detected ***
/usr/bin/otbApplicationLauncherCommandLine: free(): invalid next size (normal):
0x00007f26c19c3030 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f273be74b96]
/usr/lib/otb/libotbopenjpeg.so.1111.1(otbopenjpeg_tcd_code_block_dec_deallocate+0x49)[0x7f27374a73b9]
/usr/lib/otb/libotbopenjpeg.so.1111.1(otbopenjpeg_tcd_destroy_v2+0x127)[0x7f27374ac147]
/usr/lib/otb/libotbopenjpeg.so.1111.1(otbopenjpeg_j2k_destroy+0x81)[0x7f2737495281]
/usr/lib/otb/libotbopenjpeg.so.1111.1(otbopenjpeg_jp2_destroy+0x15)[0x7f273749acd5]
/usr/lib/otb/libotbopenjpeg.so.1111.1(otbopenjpeg_opj_destroy_codec+0x33)[0x7f273749ccd3]
/usr/lib/otb/libOTBIO.so.3.20(_ZN5boost6detail12shared_countD2Ev+0x49)[0x7f273a017ee9]
/usr/lib/otb/libOTBIO.so.3.20(_ZN3otb22JPEG2000InternalReader10DecodeTileEj+0x160)[0x7f273a00c6f0]
/usr/lib/otb/libOTBIO.so.3.20(_ZN3otb15JPEG2000ImageIO16ThreaderCallbackEPv+0x2b8)[0x7f273a010b48]
/usr/lib/otb/libITKCommon.so.3.20(_ZN3itk13MultiThreader17SingleMethodProxyEPv+0x7)[0x7f273cbf0be7]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f273c6d3e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f273beea3fd]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:14 151170
/usr/bin/otbApplicationLauncherCommandLine
00605000-00606000 r--p 00005000 08:14 151170
/usr/bin/otbApplicationLauncherCommandLine
00606000-00607000 rw-p 00006000 08:14 151170
/usr/bin/otbApplicationLauncherCommandLine
0127d000-082da000 rw-p 00000000 00:00 0 [heap]
7f26a0000000-7f26a39d8000 rw-p 00000000 00:00 0
7f26a39d8000-7f26a4000000 ---p 00000000 00:00 0
7f26a4000000-7f26a5801000 rw-p 00000000 00:00 0
7f26a5801000-7f26a8000000 ---p 00000000 00:00 0
7f26a8000000-7f26ab6b3000 rw-p 00000000 00:00 0
7f26ab6b3000-7f26ac000000 ---p 00000000 00:00 0
7f26ac000000-7f26afa11000 rw-p 00000000 00:00 0
7f26afa11000-7f26b0000000 ---p 00000000 00:00 0
7f26b0000000-7f26b0021000 rw-p 00000000 00:00 0
7f26b0021000-7f26b4000000 ---p 00000000 00:00 0
7f26b4000000-7f26b7a3e000 rw-p 00000000 00:00 0
7f26b7a3e000-7f26b8000000 ---p 00000000 00:00 0
7f26b8000000-7f26bba1d000 rw-p 00000000 00:00 0
7f26bba1d000-7f26bc000000 ---p 00000000 00:00 0
7f26bc000000-7f26bfa37000 rw-p 00000000 00:00 0
7f26bfa37000-7f26c0000000 ---p 00000000 00:00 0
7f26c0000000-7f26c3a2f000 rw-p 00000000 00:00 0
7f26c3a2f000-7f26c4000000 ---p 00000000 00:00 0
7f26c4000000-7f26c4021000 rw-p 00000000 00:00 0
7f26c4021000-7f26c8000000 ---p 00000000 00:00 0
7f26cc000000-7f26cc021000 rw-p 00000000 00:00 0
7f26cc021000-7f26d0000000 ---p 00000000 00:00 0
7f26d0000000-7f26d0021000 rw-p 00000000 00:00 0
7f26d0021000-7f26d4000000 ---p 00000000 00:00 0
7f26d4000000-7f26d7a48000 rw-p 00000000 00:00 0
7f26d7a48000-7f26d8000000 ---p 00000000 00:00 0
7f26d8000000-7f26db9f6000 rw-p 00000000 00:00 0
7f26db9f6000-7f26dc000000 ---p 00000000 00:00 0
7f26dc000000-7f26df9db000 rw-p 00000000 00:00 0
7f26df9db000-7f26e0000000 ---p 00000000 00:00 0
7f26e0000000-7f26e3a03000 rw-p 00000000 00:00 0
7f26e3a03000-7f26e4000000 ---p 00000000 00:00 0
7f26e4000000-7f26e7a0f000 rw-p 00000000 00:00 0
7f26e7a0f000-7f26e8000000 ---p 00000000 00:00 0
7f26e8000000-7f26eb9fb000 rw-p 00000000 00:00 0
7f26eb9fb000-7f26ec000000 ---p 00000000 00:00 0
7f26ec000000-7f26efa35000 rw-p 00000000 00:00 0
7f26efa35000-7f26f0000000 ---p 00000000 00:00 0
7f26f0000000-7f26f3a0d000 rw-p 00000000 00:00 0
7f26f3a0d000-7f26f4000000 ---p 00000000 00:00 0
7f26f4000000-7f26f7a47000 rw-p 00000000 00:00 0
7f26f7a47000-7f26f8000000 ---p 00000000 00:00 0
7f26fb7fe000-7f26fb7ff000 ---p 00000000 00:00 0
7f26fb7ff000-7f2700000000 rw-p 00000000 00:00 0
7f2700000000-7f2702a1c000 rw-p 00000000 00:00 0
7f2702a1c000-7f2704000000 ---p 00000000 00:00 0
7f27047f9000-7f27047fa000 ---p 00000000 00:00 0
7f27047fa000-7f2704ffa000 rw-p 00000000 00:00 0
7f2704ffa000-7f2704ffb000 ---p 00000000 00:00 0
7f2704ffb000-7f27057fb000 rw-p 00000000 00:00 0
7f27057fb000-7f27057fc000 ---p 00000000 00:00 0
7f27057fc000-7f2705ffc000 rw-p 00000000 00:00 0
7f2708000000-7f270ba0e000 rw-p 00000000 00:00 0
7f270ba0e000-7f270c000000 ---p 00000000 00:00 0
7f2710000000-7f2711bf6000 rw-p 00000000 00:00 0
7f2711bf6000-7f2714000000 ---p 00000000 00:00 0
7f27182aa000-7f271c2c3000 rw-p 00000000 00:00 0
7f271c2c3000-7f271c304000 r-xp 00000000 08:14 284299
/usr/lib/otb/applications/otbapp_Quicklook.so
7f271c304000-7f271c503000 ---p 00041000 08:14 284299
/usr/lib/otb/applications/otbapp_Quicklook.so
7f271c503000-7f271c507000 r--p 00040000 08:14 284299
/usr/lib/otb/applications/otbapp_Quicklook.so
7f271c507000-7f271c508000 rw-p 00044000 08:14 284299
/usr/lib/otb/applications/otbapp_Quicklook.so
7f271c508000-7f271c575000 r-xp 00000000 08:14 284326
/usr/lib/otb/applications/otbapp_MultiResolutionPyramid.so
7f271c575000-7f271c774000 ---p 0006d000 08:14 284326
/usr/lib/otb/applications/otbapp_MultiResolutionPyramid.so
7f271c774000-7f271c77b000 r--p 0006c000 08:14 284326
/usr/lib/otb/applications/otbapp_MultiResolutionPyramid.so
7f271c77b000-7f271c77c000 rw-p 00073000 08:14 284326
/usr/lib/otb/applications/otbapp_MultiResolutionPyramid.so
7f271c77c000-7f271c819000 r-xp 00000000 08:14 284284
/usr/lib/otb/applications/otbapp_LSMSSegmentation.so
7f271c819000-7f271ca19000 ---p 0009d000 08:14 284284
/usr/lib/otb/applications/otbapp_LSMSSegmentation.so
7f271ca19000-7f271ca21000 r--p 0009d000 08:14 284284
/usr/lib/otb/applications/otbapp_LSMSSegmentation.so
7f271ca21000-7f271ca22000 rw-p 000a5000 08:14 284284
/usr/lib/otb/applications/otbapp_LSMSSegmentation.so
7f271ca22000-7f271ca98000 r-xp 00000000 08:14 284274
/usr/lib/otb/applications/otbapp_ImageClassifier.so
7f271ca98000-7f271cc98000 ---p 00076000 08:14 284274
/usr/lib/otb/applications/otbapp_ImageClassifier.so
7f271cc98000-7f271cc9f000 r--p 00076000 08:14 284274
/usr/lib/otb/applications/otbapp_ImageClassifier.so
7f271cc9f000-7f271cca0000 rw-p 0007d000 08:14 284274
/usr/lib/otb/applications/otbapp_ImageClassifier.so
7f271cca0000-7f271ccea000 r-xp 00000000 08:14 284290
/usr/lib/otb/applications/otbapp_DSFuzzyModelEstimation.so
7f271ccea000-7f271ceea000 ---p 0004a000 08:14 284290
/usr/lib/otb/applications/otbapp_DSFuzzyModelEstimation.so
7f271ceea000-7f271ceee000 r--p 0004a000 08:14 284290
/usr/lib/otb/applications/otbapp_DSFuzzyModelEstimation.so
7f271ceee000-7f271ceef000 rw-p 0004e000 08:14 284290
/usr/lib/otb/applications/otbapp_DSFuzzyModelEstimation.so
7f271ceef000-7f271cf3b000 r-xp 00000000 08:14 284287
/usr/lib/otb/applications/otbapp_MeanShiftSmoothing.so
7f271cf3b000-7f271d13a000 ---p 0004c000 08:14 284287
/usr/lib/otb/applications/otbapp_MeanShiftSmoothing.so
7f271d13a000-7f271d13f000 r--p 0004b000 08:14 284287
/usr/lib/otb/applications/otbapp_MeanShiftSmoothing.so
7f271d13f000-7f271d140000 rw-p 00050000 08:14 284287
/usr/lib/otb/applications/otbapp_MeanShiftSmoothing.so
7f271d140000-7f271d187000 r-xp 00000000 08:14 284297
/usr/lib/otb/applications/otbapp_ComputeImagesStatistics.so
7f271d187000-7f271d386000 ---p 00047000 08:14 284297
/usr/lib/otb/applications/otbapp_ComputeImagesStatistics.so
7f271d386000-7f271d38a000 r--p 00046000 08:14 284297
/usr/lib/otb/applications/otbapp_ComputeImagesStatistics.so
7f271d38a000-7f271d38b000 rw-p 0004a000 08:14 284297
/usr/lib/otb/applications/otbapp_ComputeImagesStatistics.so
7f271d38b000-7f271d439000 r-xp 00000000 08:14 284335
/usr/lib/otb/applications/otbapp_ColorMapping.so
7f271d439000-7f271d638000 ---p 000ae000 08:14 284335
/usr/lib/otb/applications/otbapp_ColorMapping.so
7f271d638000-7f271d644000 r--p 000ad000 08:14 284335
/usr/lib/otb/applications/otbapp_ColorMapping.so
7f271d644000-7f271d645000 rw-p 000b9000 08:14 284335
/usr/lib/otb/applications/otbapp_ColorMapping.so
7f271d645000-7f271d678000 r-xp 00000000 08:14 284336
/usr/lib/otb/applications/otbapp_BandMath.so
7f271d678000-7f271d877000 ---p 00033000 08:14 284336
/usr/lib/otb/applications/otbapp_BandMath.so
7f271d877000-7f271d87a000 r--p 00032000 08:14 284336
/usr/lib/otb/applications/otbapp_BandMath.so
7f271d87a000-7f271d87b000 rw-p 00035000 08:14 284336
/usr/lib/otb/applications/otbapp_BandMath.so
7f271d87b000-7f271d8b9000 r-xp 00000000 08:14 284322
/usr/lib/otb/applications/otbapp_ExtractROI.so
7f271d8b9000-7f271dab8000 ---p 0003e000 08:14 284322
/usr/lib/otb/applications/otbapp_ExtractROI.so
7f271dab8000-7f271dabc000 r--p 0003d000 08:14 284322
/usr/lib/otb/applications/otbapp_ExtractROI.so
7f271dabc000-7f271dabd000 rw-p 00041000 08:14 284322
/usr/lib/otb/applications/otbapp_ExtractROI.so
7f271dabd000-7f271db40000 r-xp 00000000 08:14 284282
/usr/lib/otb/applications/otbapp_VertexComponentAnalysis.so
7f271db40000-7f271dd3f000 ---p 00083000 08:14 284282
/usr/lib/otb/applications/otbapp_VertexComponentAnalysis.so
7f271dd3f000-7f271dd49000 r--p 00082000 08:14 284282
/usr/lib/otb/applications/otbapp_VertexComponentAnalysis.so
7f271dd49000-7f271dd4a000 rw-p 0008c000 08:14 284282
/usr/lib/otb/applications/otbapp_VertexComponentAnalysis.so
7f271dd4a000-7f271dd9d000 r-xp 00000000 08:14 284302
/usr/lib/otb/applications/otbapp_RigidTransformResample.so
7f271dd9d000-7f271df9c000 ---p 00053000 08:14 284302
/usr/lib/otb/applications/otbapp_RigidTransformResample.so
7f271df9c000-7f271dfa1000 r--p 00052000 08:14 284302
/usr/lib/otb/applications/otbapp_RigidTransformResample.so
7f271dfa1000-7f271dfa2000 rw-p 00057000 08:14 284302
/usr/lib/otb/applications/otbapp_RigidTransformResample.so
7f271dfa2000-7f271dfc4000 r-xp 00000000 08:14 284331
/usr/lib/otb/applications/otbapp_TileFusion.so
7f271dfc4000-7f271e1c4000 ---p 00022000 08:14 284331
/usr/lib/otb/applications/otbapp_TileFusion.so
7f271e1c4000-7f271e1c6000 r--p 00022000 08:14 284331
/usr/lib/otb/applications/otbapp_TileFusion.so
7f271e1c6000-7f271e1c7000 rw-p 00024000 08:14 284331
/usr/lib/otb/applications/otbapp_TileFusion.so
7f271e1c7000-7f271e217000 r-xp 00000000 08:14 284295
/usr/lib/otb/applications/otbapp_HyperspectralUnmixing.so
7f271e217000-7f271e416000 ---p 00050000 08:14 284295
/usr/lib/otb/applications/otbapp_HyperspectralUnmixing.so
7f271e416000-7f271e41c000 r--p 0004f000 08:14 284295
/usr/lib/otb/applications/otbapp_HyperspectralUnmixing.so
7f271e41c000-7f271e41d000 rw-p 00055000 08:14 284295
/usr/lib/otb/applications/otbapp_HyperspectralUnmixing.so
7f271e41d000-7f271e4a9000 r-xp 00000000 08:14 284316
/usr/lib/otb/applications/otbapp_OrthoRectification.so
7f271e4a9000-7f271e6a9000 ---p 0008c000 08:14 284316
/usr/lib/otb/applications/otbapp_OrthoRectification.so
7f271e6a9000-7f271e6b0000 r--p 0008c000 08:14 284316
/usr/lib/otb/applications/otbapp_OrthoRectification.so
7f271e6b0000-7f271e6b1000 rw-p 00093000 08:14 284316
/usr/lib/otb/applications/otbapp_OrthoRectification.so
7f271e6b1000-7f271e718000 r-xp 00000000 08:14 284313
/usr/lib/otb/applications/otbapp_HaralickTextureExtraction.so
7f271e718000-7f271e917000 ---p 00067000 08:14 284313
/usr/lib/otb/applications/otbapp_HaralickTextureExtraction.so
7f271e917000-7f271e91d000 r--p 00066000 08:14 284313
/usr/lib/otb/applications/otbapp_HaralickTextureExtraction.so
7f271e91d000-7f271e91e000 rw-p 0006c000 08:14 284313
/usr/lib/otb/applications/otbapp_HaralickTextureExtraction.so
7f271e91e000-7f271e9db000 r-xp 00000000 08:14 284327
/usr/lib/otb/applications/otbapp_Pansharpening.so
7f271e9db000-7f271ebdb000 ---p 000bd000 08:14 284327
/usr/lib/otb/applications/otbapp_Pansharpening.so
7f271ebdb000-7f271ebe8000 r--p 000bd000 08:14 284327
/usr/lib/otb/applications/otbapp_Pansharpening.so
7f271ebe8000-7f271ebe9000 rw-p 000ca000 08:14 284327
/usr/lib/otb/applications/otbapp_Pansharpening.so
7f271ebe9000-7f271ec49000 r-xp 00000000 08:14 284283
/usr/lib/otb/applications/otbapp_ComputePolylineFeatureFromImage.so
7f271ec49000-7f271ee49000 ---p 00060000 08:14 284283
/usr/lib/otb/applications/otbapp_ComputePolylineFeatureFromImage.so
7f271ee49000-7f271ee4e000 r--p 00060000 08:14 284283
/usr/lib/otb/applications/otbapp_ComputePolylineFeatureFromImage.so
7f271ee4e000-7f271ee4f000 rw-p 00065000 08:14 284283
/usr/lib/otb/applications/otbapp_ComputePolylineFeatureFromImage.so
7f271ee4f000-7f271ee9b000 r-xp 00000000 08:14 284320
/usr/lib/otb/applications/otbapp_MultivariateAlterationDetector.so
7f271ee9b000-7f271f09b000 ---p 0004c000 08:14 284320
/usr/lib/otb/applications/otbapp_MultivariateAlterationDetector.so/usr/bin/otbcli:
line 29: 3138 Aborted (core dumped) $OTB_CLI_LAUNCHER "$@"
2014 Apr 25 14:29:25 : Application.logger (INFO)
Image general informations:
Number of bands : 1
Start index : [0,0]
Size : [32371,30656]
Origin : [0,0]
Spacing : [1,1]
Estimated ground spacing (in meters): [0.51838,0.508328]
Image acquisition informations:
Sensor : PHR 1A
Image identification number: 873149101-001
Acquisition time : 2014-04-09T05:49:00
Image footprint coordinates:
Upper left corner (latitude, longitude) = [28.0337,75.6999]
Upper right corner (latitude, longitude) = [28.037,75.8704]
Lower left corner (latitude, longitude) = [27.8938,75.6998]
Lower right corner (latitude, longitude) = [27.8965,75.8704]
Image default RGB composition:
[R, G, B] = [0,1,2]
Ground control points information:
Number of GCPs = 0
GCPs projection =
Output parameters value:
indexx: 0
indexy: 0
sizex: 32371
sizey: 30656
spacingx: 1
spacingy: 1
originx: 0
originy: 0
estimatedgroundspacingx: 0.5183801651
estimatedgroundspacingy: 0.5083281398
numberbands: 1
sensor: PHR 1A
id: 873149101-001
time: 2014-04-09T05:49:00
ullat: 28.03369522
ullon: 75.69988251
urlat: 28.0370369
urlon: 75.87039948
lrlat: 27.89651871
lrlon: 75.8704071
lllat: 27.89381027
lllon: 75.69979095
town: Not available
country: Not available
rgb.r: 0
rgb.g: 1
rgb.b: 2
projectionref:
keyword:
gcp.count: 0
gcp.proj:
gcp.ids:
gcp.info:
gcp.imcoord:
gcp.geocoord: