⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ogr_tiger.h

📁 GIS系统支持库Geospatial Data Abstraction Library代码.GDAL is a translator library for raster geospatial dat
💻 H
📖 第 1 页 / 共 2 页
字号:
 private:  TigerRecordInfo    *psRT7Info; public:                      TigerLandmarks( OGRTigerDataSource *, const char * );  virtual            ~TigerLandmarks();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                   TigerAreaLandmarks (Type 8 records)                *//************************************************************************/class TigerAreaLandmarks : public TigerFileBase{ private:  TigerRecordInfo    *psRT8Info;public:                      TigerAreaLandmarks( OGRTigerDataSource *, const char * );  virtual            ~TigerAreaLandmarks();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                   TigerKeyFeatures (Type 9 records)                  *//************************************************************************/class TigerKeyFeatures : public TigerFileBase{ private:  TigerRecordInfo    *psRT9Info;public:                      TigerKeyFeatures( OGRTigerDataSource *, const char * );  virtual            ~TigerKeyFeatures();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                   TigerPolygon (Type A&S records)                    *//************************************************************************/class TigerPolygon : public TigerFileBase{ private:  TigerRecordInfo    *psRTAInfo;  TigerRecordInfo    *psRTSInfo;  FILE               *fpRTS;  int                 bUsingRTS;  int                 nRTSRecLen;public:                      TigerPolygon( OGRTigerDataSource *, const char * );  virtual            ~TigerPolygon();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual int         SetWriteModule( const char *, int, OGRFeature * );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerPolygonCorrections (Type B records)          *//************************************************************************/class TigerPolygonCorrections : public TigerFileBase{ private:  TigerRecordInfo    *psRTBInfo;public:                      TigerPolygonCorrections( OGRTigerDataSource *, const char * );  virtual            ~TigerPolygonCorrections();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                  TigerEntityNames (Type C records)                   *//************************************************************************/class TigerEntityNames : public TigerFileBase{ private:  TigerRecordInfo    *psRTCInfo;public:                      TigerEntityNames( OGRTigerDataSource *, const char * );  virtual            ~TigerEntityNames();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerPolygonEconomic (Type E records)             *//************************************************************************/class TigerPolygonEconomic : public TigerFileBase{ private:  TigerRecordInfo    *psRTEInfo;public:                      TigerPolygonEconomic( OGRTigerDataSource *, const char * );  virtual            ~TigerPolygonEconomic();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                  TigerIDHistory (Type H records)                     *//************************************************************************/class TigerIDHistory : public TigerFileBase{ private:  TigerRecordInfo    *psRTHInfo;public:                      TigerIDHistory( OGRTigerDataSource *, const char * );  virtual            ~TigerIDHistory();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                   TigerPolyChainLink (Type I records)                *//************************************************************************/class TigerPolyChainLink : public TigerFileBase{ private:  TigerRecordInfo    *psRTIInfo;public:                      TigerPolyChainLink( OGRTigerDataSource *, const char * );  virtual            ~TigerPolyChainLink();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                   TigerPIP (Type P records)                          *//************************************************************************/class TigerPIP : public TigerPoint{ private:  TigerRecordInfo    *psRTPInfo;public:                      TigerPIP( OGRTigerDataSource *, const char * );  virtual            ~TigerPIP();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                   TigerTLIDRange (Type R records)                    *//************************************************************************/class TigerTLIDRange : public TigerFileBase{ private:  TigerRecordInfo    *psRTRInfo;public:                      TigerTLIDRange( OGRTigerDataSource *, const char * );  virtual            ~TigerTLIDRange();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerZeroCellID (Type T records)                  *//************************************************************************/class TigerZeroCellID : public TigerFileBase{ private:  TigerRecordInfo    *psRTTInfo;public:                      TigerZeroCellID( OGRTigerDataSource *, const char * );  virtual            ~TigerZeroCellID();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerOverUnder (Type U records)                   *//************************************************************************/class TigerOverUnder : public TigerPoint{ private:  TigerRecordInfo    *psRTUInfo;public:                      TigerOverUnder( OGRTigerDataSource *, const char * );  virtual            ~TigerOverUnder();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerZipPlus4 (Type Z records)                    *//************************************************************************/class TigerZipPlus4 : public TigerFileBase{ private:  TigerRecordInfo    *psRTZInfo; public:                      TigerZipPlus4( OGRTigerDataSource *, const char * );  virtual            ~TigerZipPlus4();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                            OGRTigerLayer                             *//************************************************************************/class OGRTigerLayer : public OGRLayer{    TigerFileBase      *poReader;    OGRTigerDataSource   *poDS;    int                 nFeatureCount;    int                 *panModuleFCount;    int                 *panModuleOffset;    int                 iLastFeatureId;    int                 iLastModule;  public:                        OGRTigerLayer( OGRTigerDataSource * poDS,                                       TigerFileBase * );    virtual             ~OGRTigerLayer();    void                ResetReading();    OGRFeature *        GetNextFeature();    OGRFeature         *GetFeature( long nFeatureId );    OGRFeatureDefn *    GetLayerDefn();    int                 GetFeatureCount( int );    int                 TestCapability( const char * );    virtual OGRSpatialReference *GetSpatialRef();    virtual OGRErr      CreateFeature( OGRFeature *poFeature );    virtual OGRErr      CreateField( OGRFieldDefn *poField,                                     int bApproxOK = TRUE );};/************************************************************************//*                          OGRTigerDataSource                          *//************************************************************************/class OGRTigerDataSource : public OGRDataSource{    char                *pszName;    int                 nLayers;    OGRTigerLayer       **papoLayers;    OGRSpatialReference *poSpatialRef;    char                **papszOptions;    char                *pszPath;    int                 nModules;    char                **papszModules;    int                 nVersionCode;    TigerVersion        nVersion;    int                 bWriteMode;  public:                        OGRTigerDataSource();                        ~OGRTigerDataSource();    int                 GetWriteMode() { return bWriteMode; }    TigerVersion        GetVersion() { return nVersion; }    int                 GetVersionCode() { return nVersionCode; }    void                SetOptionList( char ** );    const char         *GetOption( const char * );    int                 Open( const char * pszName, int bTestOpen = FALSE,                              char ** papszFileList = NULL );    int                 Create( const char *pszName, char **papszOptions );    const char          *GetName() { return pszName; }    int                 GetLayerCount();    OGRLayer            *GetLayer( int );    OGRLayer            *GetLayer( const char *pszLayerName );    void                AddLayer( OGRTigerLayer * );    int                 TestCapability( const char * );    OGRSpatialReference *GetSpatialRef() { return poSpatialRef; }    const char          *GetDirPath() { return pszPath; }    char                *BuildFilename( const char * pszModule,                                        const char * pszExtension );    int                 GetModuleCount() { return nModules; }    const char         *GetModule( int );    int                 CheckModule( const char *pszModule );    void                AddModule( const char *pszModule );    void                DeleteModuleFiles( const char *pszModule );    virtual OGRLayer    *CreateLayer( const char *,                                      OGRSpatialReference * = NULL,                                      OGRwkbGeometryType = wkbUnknown,                                      char ** = NULL );};/************************************************************************//*                            OGRTigerDriver                            *//************************************************************************/class OGRTigerDriver : public OGRSFDriver{  public:                ~OGRTigerDriver();    const char *GetName();    OGRDataSource *Open( const char *, int );    virtual OGRDataSource *CreateDataSource( const char *pszName,                                             char ** = NULL );    int         TestCapability( const char * );};#endif /* ndef _OGR_TIGER_H_INCLUDED */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -