Opened 13 years ago
Last modified 13 years ago
#3967 closed defect
JPIP region error in gdal_translate — at Version 2
Reported by: | whagee | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.1 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | jpipkak |
Cc: | gaopeng |
Description (last modified by )
I am not sure this even a GDAL error. It may be an error in Kakadu, a user error, or perhaps something else. The error only occurs when trying to fetch a scaled down image. The image is returned without error if not scaled down. This occurs on both CentOS and MAC OS builds of GDAL. The initial assumption is that it is a GDAL error.
$ ./gdal_translate -srcwin 58520 29264 7315 21948 -outsize 6.95111405975906% 6.95111405975906% jpip://hijpip.lpl.arizona.edu:8064/PDS/EXTRAS/RDR/ESP/ORB_016400_016499/ESP_016474_2555/ESP_016474_2555_RED.QLOOK.JP2 -of PNG /tmp/cache/jpip:hijpip.lpl.arizona.edu:8064PDSEXTRASRDRESPORB_016400_016499ESP_016474_2555ESP_016474_2555_RED.QLOOK.JP2:58520:29264:7315:21948:6.95111405975906.png Warning 1: Parsed metadata boxes from jpip stream, geographic metadata not found - is the server using placeholders for this data? Input file size is 75984, 70717 ERROR 1: Error in Kakadu Region Decompressor: The `region' passed into `kdu_region_decompressor::start' does not lie fully within the region occupied by the full image on the rendering canvas. The error is probably connected with a misunderstanding of the way in which codestream dimensions are mapped to rendering coordinates through the rational upsampling process offered by the `kdu_region_decompressor' object. It is best to use `kdu_region_decompressor::get_rendered_image_dims' to find the full image dimensions on the rendering canvas. terminate called after throwing an instance of 'kdu_cpl_error_message::JP2KAKException*' Abort trap
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Component: | default → GDAL_Raster |
---|---|
Description: | modified (diff) |
Keywords: | jpipkak added |
Status: | new → assigned |
Crash confirmed ... investigating.
Note:
See TracTickets
for help on using tickets.
This suspected error was reproduced with both GDAL 1.7.3 and 1.8.0 using both Kakadu 6.4.0 and 6.4.1.