Opened 7 years ago

Closed 7 years ago

#5777 closed defect (fixed)

OGR VRT should not propagate ignoring of x and y cols of a PointFromColumns to the source layer

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.2
Component: OGR_SF Version: unspecified
Severity: normal Keywords: csv


With test.csv :




    <OGRVRTLayer name="test">
        <SrcDataSource relativeToVRT="0">tmp/test.csv</SrcDataSource>
        <GeometryField encoding="PointFromColumns" x="x" y="y"/>
        <Field name="x" type="Real"/>
        <Field name="y" type="Real"/>

calling SetIgnoredFields?(['x', 'y']) on the VRT layer prevents the geometry from being built.

This is not expected as the external user of a VRT layer should not have knowledge that x and y are used to build the geometry

Change History (1)

comment:1 Changed 7 years ago by Even Rouault

Milestone: 1.11.2
Resolution: fixed
Status: newclosed

trunk r28158, branches/1.11 r28159 "OGR VRT: do not propagate ignoring of x and y cols of a PointFromColumns? to the source layer (#5777)"

Note: See TracTickets for help on using tickets.