#1300 closed defect (invalid)

Rasql_Cannot encode random marray in JPEG2000

Reported by: bphamhuu Owned by:
Priority: major Milestone: 10.0
Component: gdal driver Version: development
Keywords: Cc: dmisev
Complexity: Medium


For this ticket http://rasdaman.org/ticket/1296
it can encode random marray in GTIFF

rasql -q 'select encode((marray i in [0:1,0:5,0:5] values 1f)[1,*:*,*:*], "GTIFF",
 "xmin=25.0;xmax=75.5;ymin=-40.5;ymax=75.5;crs=EPSG:4326")' --out file

but not JPEG2000

rasql -q 'select encode((marray i in [0:1,0:5,0:5] values 1f)[1,*:*,*:*], "JPEG2000", 
"xmin=25.0;xmax=75.5;ymin=-40.5;ymax=75.5;crs=EPSG:4326")' --out file

rasql: rasdaman query tool v1.0, rasdaman v9.2.1-g74d9400 -- generated on 23.02.2016 10:25:01.

opening database RASBASE at localhost:7001...ok

Executing retrieval query...rasdaman error 0: Exception:  ODMG General
aborting transaction...ok
rasql done.

However, it can encode JPEG2000 for existing coveragelike eobstest in test coverage.

rasql -q 'select encode((c) [1,*:*,*:*], "JPEG2000", 


from eobstest AS c where oid(c)=1537' --out file

Change History (2)

comment:1 Changed 17 months ago by dmisev

Try with

rasql -q 'select encode((marray i in [0:1,0:5,0:5] values 1c)[1,*:*,*:*], "JPEG2000", "xmin=25.0;xmax=75.5;ymin=-40.5;ymax=75.5;crs=EPSG:4326")' --out file

For me it is geo-referenced. The 1f example doesn't seem to work with JPEG2000, gdal complains about float in JPEG2000.

comment:2 Changed 12 months ago by dmisev

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.