30#ifndef OGRWARPEDLAYER_H_INCLUDED
31#define OGRWARPEDLAYER_H_INCLUDED
35#include "ogrlayerdecorator.h"
41class OGRWarpedLayer :
public OGRLayerDecorator
53 OGREnvelope sStaticEnvelope{};
55 static int ReprojectEnvelope( OGREnvelope* psEnvelope,
63 OGRWarpedLayer(
OGRLayer* poDecoratedLayer,
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,
double dfMinY,
77 double dfMaxX,
double dfMaxY )
override;
88 virtual GIntBig GetFeatureCount(
int bForce = TRUE )
override;
89 virtual OGRErr GetExtent(
int iGeomField, OGREnvelope *psExtent,
int bForce = TRUE)
override;
90 virtual OGRErr GetExtent(OGREnvelope *psExtent,
int bForce = TRUE)
override;
92 virtual int TestCapability(
const char * )
override;
Definition of a feature class or feature layer.
Definition: ogr_feature.h:260
A simple feature, including geometry and attributes.
Definition: ogr_feature.h:355
Abstract base class for all geometry classes.
Definition: ogr_geometry.h:287
This class represents a layer of simple features, with access methods.
Definition: ogrsf_frmts.h:71
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition: ogr_spatialref.h:157
#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:997
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:248
int OGRErr
Simple container for a bounding region.
Definition: ogr_core.h:290