Opened 10 years ago

Closed 10 years ago

#5033 closed defect (fixed)

RelativeToVRT not honoured in VRTRawRasterBand creation

Reported by: antonio Owned by: antonio
Priority: normal Milestone: 1.10.0
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

The RelativeToVRT option is not respected when one try to create a VRTRawRasterBand via code:

    options = [
        'subClass=VRTRawRasterBand',
        'SourceFilename=tmp.dat',
        'ImageOffset=0',
        'PixelOffset=1',
        'LineOffset=120',
        'RelativeToVRT=1',
    ]

    ds.AddBand(gdal.GDT_Byte, options=options)

Attachments (2)

test_relativeToVRT.py (530 bytes ) - added by antonio 10 years ago.
Sample program to reproduce the issue
relativeToVRT.patch (641 bytes ) - added by antonio 10 years ago.

Download all attachments as: .zip

Change History (4)

by antonio, 10 years ago

Attachment: test_relativeToVRT.py added

Sample program to reproduce the issue

by antonio, 10 years ago

Attachment: relativeToVRT.patch added

comment:1 by antonio, 10 years ago

Status: newassigned

comment:2 by antonio, 10 years ago

Milestone: 1.10.0
Resolution: fixed
Status: assignedclosed

Fixed in r25769.

Note: See TracTickets for help on using tickets.