<div dir="ltr"><br><br>On Wed, Jul 18, 2018 at 10:32 AM, Paul Shapley <<a href="mailto:p.shapley@gmail.com">p.shapley@gmail.com</a>> wrote:<br>><br>> Hi Users,<br>><br><div>> Trying to import an 8.7gb (jpeg2000) image into Grass 7.4.1 64 bit. I get the error below. Tested the image in another OS GIS package and it opens without issue. Not sure why Grass wont import it.</div><div><br></div><div>The errors are coming from GDAL, not GRASS. The same error messages should appear with GDAL tools that read the entire image, e.g. gdal_translate.</div><div><br></div><div>Markus M</div><div><br></div>><br>> Thanks everyone!<br>><br>> Paul Shapley<br>><br>><br>> (Wed Jul 18 09:19:16 2018)                                                      <br>> r.in.gdal -o input=J:\Spatial Data\Aerial\APGB_received_20180416\aerial_25cm.jp2 output=aerial_25cm_master memory=3000<br>> Over-riding projection check<br>> Importing 3 raster bands...<br>> Importing raster map <aerial_25cm_master.red>...<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> ERROR 1: Marker is not compliant with its position<br>> ERROR 1: opj_decode() failed<br>> ERROR 1: J:\Spatial<br>> Data\Aerial\APGB_received_20180416\aerial_25cm.jp2, band 1:<br>> IReadBlock failed at X offset 0, Y offset 0<br>> ERROR 1: GetBlockRef failed at X block offset 0, Y block<br>> offset 0<br>> Please note that the data are left in inconsistent state and may be corrupted   <br>> (Wed Jul 18 09:19:40 2018) Command aborted (24 sec)                             <br>><br>><br>> --<br>> Paul J. Shapley MSc CGeog (GIS) FRGS<br>><br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br></div>