30 #ifndef OGRWARPEDLAYER_H_INCLUDED
31 #define OGRWARPEDLAYER_H_INCLUDED
35 #include "ogrlayerdecorator.h"
41 class OGRWarpedLayer :
public OGRLayerDecorator
55 static int ReprojectEnvelope(
OGREnvelope *psEnvelope,
63 OGRLayer *poDecoratedLayer,
int iGeomField,
int bTakeOwnership,
68 virtual ~OGRWarpedLayer();
70 void SetExtent(
double dfXMin,
double dfYMin,
double dfXMax,
double dfYMax);
72 virtual void SetSpatialFilter(
OGRGeometry *)
override;
73 virtual void SetSpatialFilterRect(
double dfMinX,
double dfMinY,
74 double dfMaxX,
double dfMaxY)
override;
75 virtual void SetSpatialFilter(
int iGeomField,
OGRGeometry *)
override;
76 virtual void SetSpatialFilterRect(
int iGeomField,
double dfMinX,
77 double dfMinY,
double dfMaxX,
78 double dfMaxY)
override;
86 const int *panUpdatedFieldsIdx,
87 int nUpdatedGeomFieldsCount,
88 const int *panUpdatedGeomFieldsIdx,
89 bool bUpdateStyleString)
override;
95 virtual GIntBig GetFeatureCount(
int bForce = TRUE)
override;
97 int bForce = TRUE)
override;
100 virtual int TestCapability(
const char *)
override;
Simple container for a bounding region (rectangle)
Definition: ogr_core.h:61
Definition of a feature class or feature layer.
Definition: ogr_feature.h:517
A simple feature, including geometry and attributes.
Definition: ogr_feature.h:893
Abstract base class for all geometry classes.
Definition: ogr_geometry.h:377
This class represents a layer of simple features, with access methods.
Definition: ogrsf_frmts.h:74
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition: ogr_spatialref.h:169
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)
Helper to remove the copy and assignment constructors so that the compiler will not generate the defa...
Definition: cpl_port.h:1042
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:215
int OGRErr
Type for a OGR error.
Definition: ogr_core.h:387