Ticket Change Details
Not logged in
Overview

Artifact ID: c825f94d5300e6ca785918dee34e606ecf8757c1
Ticket: e08eee2b1efb1fac4fe639ca316a7145073a0452
RL2_ImportSectionRawPixels fails on arm64
User & Date: anonymous 2022-12-05 15:23:19
Changes

  1. foundin changed to: "2.1.1"
  2. icomment:
    [Context]
    I am currently working on a project and using spatialite (5.0.1) and rasterlite2 (2.1.1) on ubuntu 20 for a few months now.
    Previously, I was working on regular x86 architecture on my laptop. I am now trying to have the same project running on a nvidia jetson nx, which is arm64 architecture.
    
    [Problem]
    The code is running well on my laptop (x86 architecture), but the RL2_ImportSectionRawPixels is returning a failure (NULL) when I want to import a raster into a coverage on the nvidia jetson (arm64 architecture).
    I printed out the SQL statements which are exactly the same on both devices.
    
    First I create a coverage like this (correct on both architecture): 
    
    SELECT RL2_CreateRasterCoverage('rast_cov', 'UINT8', 'Grayscale', 1, 'NONE', 100, 256, 256, 4326, 0.0000067246, 0.0000045511, RL2_SetPixelValue(RL2_CreatePixel('UINT8', 'Grayscale', 1), 0, 5), 0, 0, 0, 0, 0, 1);
    
    Then I insert the raster like this (fails on arm64):
    
    SELECT RL2_ImportSectionRawPixels('rast_cov', 'single_px', 1, 1, x'00', GeomFromText('LINESTRING(2.1203428088 48.8049046439, 2.1203495334 48.804909195)', 4326), 1, 1);
    
  3. login: "anonymous"
  4. mimetype: "text/plain"
  5. private_contact changed to: "c82bea7b90a559232e04e348a6b628cbc17b7d3b"
  6. severity changed to: "Severe"
  7. status changed to: "Open"
  8. title changed to: "RL2_ImportSectionRawPixels fails on arm64"
  9. type changed to: "Code_Defect"