Feature request #12991

"build virtual vector": add option to allow add the layers as "unioned"

Added by Giovanni Manghi over 9 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/QGIS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21069

Description

The vrt created by the tool does not have the

<OGRVRTUnionLayer>

tag that allows load the layers inside the vrt as one unique layer.
It would be nice to have it as option.

example

<OGRVRTDataSource>
<OGRVRTUnionLayer name="UnionedLayer">
<OGRVRTLayer name="caop_2013_costa">
<SrcDataSource relativeToVRT="0" shared="1">/home/giovanni/caop_2013_costa.shp</SrcDataSource>
<SrcLayer>caop_2013_costa</SrcLayer>
<GeometryType>wkbPolygon</GeometryType>
</OGRVRTLayer>
<OGRVRTLayer name="caop_2013">
<SrcDataSource relativeToVRT="0" shared="1">/home/giovanni/caop_2013.shp</SrcDataSource>
<SrcLayer>caop_2013</SrcLayer>
<GeometryType>wkbPolygon</GeometryType>
</OGRVRTLayer>
</OGRVRTUnionLayer>
</OGRVRTDataSource>

Associated revisions

Revision 6f796104
Added by Alexander Bruy over 8 years ago

[processing] refactor Virtual vector layer algorithm
Add support for unioned layers (fix #12991)

History

#1 Updated by Alexander Bruy over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF