30 #ifndef _OGRUNIONLAYER_H_INCLUDED
31 #define _OGRUNIONLAYER_H_INCLUDED
41 FIELD_FROM_FIRST_LAYER,
42 FIELD_UNION_ALL_LAYERS,
43 FIELD_INTERSECTION_ALL_LAYERS,
49 GEOMTYPE_FROM_FIRST_LAYER,
50 GEOMTYPE_UNION_ALL_LAYERS,
52 } GeometryTypeUnionStrategy;
60 int bHasLayerOwnership;
65 FieldUnionStrategy eFieldStrategy;
69 GeometryTypeUnionStrategy eGeometryTypeStrategy;
80 char *pszAttributeFilter;
83 char **papszIgnoredFields;
84 int bAttrFilterPassThroughValue;
85 int *pabModifiedLayers;
86 int *pabCheckIfAutoWrap;
88 void AutoWarpLayerIfNecessary(
int iSubLayer);
90 void ApplyAttributeFilterToSrcLayer(
int iSubLayer);
91 int GetAttrFilterPassThroughValue();
92 void ConfigureActiveLayer();
98 int bTakeLayerOwnership);
105 void SetFields(FieldUnionStrategy eFieldStrategy,
108 void SetGeometryType(GeometryTypeUnionStrategy eGeometryTypeStrategy,
110 void SetSourceLayerFieldName(
const char* pszSourceLayerFieldName);
111 void SetPreserveSrcFID(
int bPreserveSrcFID);
112 void SetFeatureCount(
int nFeatureCount);
113 void SetExtent(
double dfXMin,
double dfYMin,
double dfXMax,
double dfYMax);
115 virtual const char *
GetName() {
return osName.c_str(); }
146 #endif // _OGRUNIONLAYER_H_INCLUDED