#6336 closed defect (fixed)

OGR VRT: geometry column implicited created for non-spatial layers

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.1.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: ogr vrt
Cc:

Description

VRT like the following where test.csv is a non-spatial layer expose a wkbUnknown geometry field. This is not desirable :

<OGRVRTDataSource>
    <OGRVRTLayer>
        <SrcDataSource>test.csv</SrcDataSource>
    </OGRVRTLayer>
</OGRVRTDataSource>

Change History (1)

comment:1 Changed 15 months ago by Even Rouault

Milestone: 2.1.0
Resolution: fixed
Status: newclosed

trunk r33177 "OGR VRT: fix crash with a OGRVRTWarpedLayer using a source layer that would have non geometry column (unlikely to happen currently as this would require explicit disabling it, but more likey with following commit that createe VRT non-spatial layer implictly when the source is non-spatial, linked to #6336)"

trunk r33178 "OGR VRT: avoid creating an implicit wkbUnknown geometry field when the source has no geometry column and there's no XML elements related to geometry fields (#6336)"

Note: See TracTickets for help on using tickets.