亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ogr_tiger.h

?? 支持各種柵格圖像和矢量圖像讀取的庫
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*-*-C++-*-*//****************************************************************************** * $Id: ogr_tiger.h 10646 2007-01-18 02:38:10Z warmerdam $ * * Project:  TIGER/Line Translator * Purpose:  Main declarations for Tiger translator. * Author:   Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 1999, Frank Warmerdam * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. ****************************************************************************/#ifndef _OGR_TIGER_H_INCLUDED#define _OGR_TIGER_H_INCLUDED#include "cpl_conv.h"#include "ogrsf_frmts.h"class OGRTigerDataSource;/*** TIGER Versions**** 0000           TIGER/Line Precensus Files, 1990** 0002           TIGER/Line Initial Voting District Codes Files, 1990** 0003           TIGER/Line Files, 1990** 0005           TIGER/Line Files, 1992** 0021           TIGER/Line Files, 1994** 0024           TIGER/Line Files, 1995** 0697 to 1098   TIGER/Line Files, 1997** 1298 to 0499   TIGER/Line Files, 1998** 0600 to 0800   TIGER/Line Files, 1999** 1000 to 1100   TIGER/Line Files, Redistricting Census 2000** 0301 to 0801   TIGER/Line Files, Census 2000**** 0302 to 0502   TIGER/Line Files, UA 2000** ????    ????**** 0602  & higher TIGER/Line Files, 2002** ????    ????*/typedef enum {    TIGER_1990_Precensus = 0,    TIGER_1990 = 1,    TIGER_1992 = 2,    TIGER_1994 = 3,    TIGER_1995 = 4,    TIGER_1997 = 5,    TIGER_1998 = 6,    TIGER_1999 = 7,    TIGER_2000_Redistricting = 8,    TIGER_2000_Census = 9,    TIGER_UA2000 = 10,    TIGER_2002 = 11,    TIGER_2003 = 12,    TIGER_2004 = 13,    TIGER_Unknown} TigerVersion;TigerVersion TigerClassifyVersion( int );char * TigerVersionString( TigerVersion );/*****************************************************************************//* The TigerFieldInfo and TigerRecordInfo structures hold information about  *//* the schema of a TIGER record type.  In each layer implementation file     *//* there are statically initalized variables of these types that describe    *//* the record types associated with that layer.  In the case where different *//* TIGER versions have different schemas, there is a                         *//* TigerFieldInfo/TigerRecordInfo for each version, and the constructor      *//* for the layer chooses a pointer to the correct set based on the version.  *//*****************************************************************************/typedef struct TigerFieldInfo {  char         *pszFieldName;   // name of the field  char          cFmt;           // format of the field ('L' or 'R')  char          cType;          // type of the field ('A' or 'N')  OGRFieldType  OGRtype;        // OFTType of the field (OFTInteger, OFTString, ...?)  int           nBeg;           // beginning column number for field  int           nEnd;           // ending column number for field  int           nLen;           // length of field  int           bDefine;        // whether to add this field to the FeatureDefn  int           bSet;           // whether to set this field in GetFeature()  int           bWrite;         // whether to write this field in CreateFeature()} TigerFieldInfo;typedef struct TigerRecordInfo {  TigerFieldInfo *pasFields;  int             nFieldCount;  int             nRecordLength;} TigerRecordInfo;// OGR_TIGER_RECBUF_LEN should be a number that is larger than the// longest possible record length for any record type; it's used to// create arrays to hold the records.  At the time of this writing the// longest record (RT1) has length 228, but I'm choosing 500 because// it's a good round number and will allow for growth without having// to modify this file.  The code never holds more than a few records// in memory at a time, so having OGR_TIGER_RECBUF_LEN be much larger// than is really necessary won't affect the amount of memory required// in a substantial way.// mbp Fri Dec 20 19:19:59 2002#define OGR_TIGER_RECBUF_LEN 500/************************************************************************//*                            TigerFileBase                             *//************************************************************************/class TigerFileBase{protected:  OGRTigerDataSource  *poDS;  char                *pszModule;  char                *pszShortModule;  FILE                *fpPrimary;  OGRFeatureDefn      *poFeatureDefn;  int                 nFeatures;  int                 nRecordLength;  int                 OpenFile( const char *, const char * );  void                EstablishFeatureCount();  static int          EstablishRecordLength( FILE * );  void                SetupVersion();  int                 nVersionCode;  TigerVersion        nVersion;public:                      TigerFileBase();  virtual            ~TigerFileBase();  TigerVersion        GetVersion() { return nVersion; }  int                 GetVersionCode() { return nVersionCode; }  virtual const char *GetShortModule() { return pszShortModule; }  virtual const char *GetModule() { return pszModule; }  virtual int         SetModule( const char * ) = 0;  virtual int         SetWriteModule( const char *, int, OGRFeature * );  virtual int         GetFeatureCount() { return nFeatures; }  virtual OGRFeature *GetFeature( int ) = 0;  virtual OGRErr      CreateFeature( OGRFeature *poFeature )                                { return OGRERR_FAILURE; }  OGRFeatureDefn     *GetFeatureDefn() { return poFeatureDefn; }  static const char * GetField( const char *, int, int );  static void         SetField( OGRFeature *, const char *, const char *,                                int, int );  int                 WriteField( OGRFeature *, const char *, char *,                                  int, int, char, char );  int                 WriteRecord( char *pachRecord, int nRecLen,                                   const char *pszType, FILE *fp = NULL );  int                 WritePoint( char *pachRecord, int nStart,                                  double dfX, double dfY ); protected:  void                WriteFields(TigerRecordInfo *psRTInfo,                                  OGRFeature      *poFeature,                                  char            *szRecord);  void                AddFieldDefns(TigerRecordInfo *psRTInfo,                                    OGRFeatureDefn  *poFeatureDefn);  void                SetFields(TigerRecordInfo *psRTInfo,                                OGRFeature      *poFeature,                                char            *achRecord);};/************************************************************************//*                          TigerCompleteChain                          *//************************************************************************/class TigerCompleteChain : public TigerFileBase{  FILE               *fpShape;  int                *panShapeRecordId;  FILE               *fpRT3;  int                 bUsingRT3;  int                 nRT1RecOffset;  int                 GetShapeRecordId( int, int );  int                 AddShapePoints( int, int, OGRLineString *, int );  void                AddFieldDefnsPre2002();  OGRFeature         *GetFeaturePre2002( int );  OGRErr              WriteRecordsPre2002( OGRFeature *, OGRLineString * );  OGRErr              WriteRecords2002( OGRFeature *, OGRLineString * );  OGRFeature         *GetFeature2002( int );  void                AddFieldDefns2002();  TigerRecordInfo    *psRT1Info;  TigerRecordInfo    *psRT2Info;  TigerRecordInfo    *psRT3Info;public:                      TigerCompleteChain( OGRTigerDataSource *,                                          const char * );  virtual            ~TigerCompleteChain();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );  virtual int         SetWriteModule( const char *, int, OGRFeature * );};/************************************************************************//*                    TigerAltName (Type 4 records)                     *//************************************************************************/class TigerAltName : public TigerFileBase{ private:  TigerRecordInfo    *psRT4Info; public:                      TigerAltName( OGRTigerDataSource *,                                          const char * );  virtual            ~TigerAltName();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerFeatureIds (Type 5 records)                  *//************************************************************************/class TigerFeatureIds : public TigerFileBase{ private:  TigerRecordInfo    *psRT5Info; public:                      TigerFeatureIds( OGRTigerDataSource *,                                       const char * );  virtual            ~TigerFeatureIds();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerZipCodes (Type 6 records)                    *//************************************************************************/class TigerZipCodes : public TigerFileBase{ private:  TigerRecordInfo    *psRT6Info;public:                      TigerZipCodes( OGRTigerDataSource *, const char * );  virtual            ~TigerZipCodes();  virtual int         SetModule( const char * );  virtual OGRFeature *GetFeature( int );  virtual OGRErr      CreateFeature( OGRFeature *poFeature );};/************************************************************************//*                    TigerPoint                                        *//* This is an abstract base class for TIGER layers with point geometry. *//* Since much of the implementation of these layers is similar, I've    *//* put it into this base class to avoid duplication in the actual       *//* layer classes.  mbp Sat Jan  4 16:41:19 2003.                        *//************************************************************************/class TigerPoint : public TigerFileBase{ protected:                      TigerPoint(int bRequireGeom);                      // The boolean bRequireGeom indicates whether                      // the layer requires each feature to actual                      // have a geom.  It's used in CreateFeature() to                      // decide whether to report an error when a                      // missing geom is detected.  virtual             ~TigerPoint(); private: int                  bRequireGeom; public:  virtual int         SetModule( const char *,                                 char *pszFileCode );  virtual OGRFeature *GetFeature( int              nRecordId,                                  TigerRecordInfo *psRTInfo,                                  int nX0, int nX1,                                  int nY0, int nY1 );  virtual OGRErr CreateFeature( OGRFeature      *poFeature,                                TigerRecordInfo *psRTInfo,                                int nIndex,                                char *pszFileCode );};/************************************************************************//*                   TigerLandmarks (Type 7 records)                    *//************************************************************************/class TigerLandmarks : public TigerPoint{ 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;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91日韩在线专区| 国产综合色在线| 欧美主播一区二区三区美女| 亚洲欧美日韩久久| 国产精品久久久一区麻豆最新章节| 国产一区二区三区免费看| 久久久久免费观看| 成人国产精品免费网站| 亚洲黄一区二区三区| 91精品麻豆日日躁夜夜躁| 久久超级碰视频| 亚洲国产高清aⅴ视频| 在线观看日产精品| 日本欧美在线看| 国产精品午夜在线观看| 色国产精品一区在线观看| 美女免费视频一区二区| 国产精品女上位| 欧美日韩高清一区二区不卡| 经典三级视频一区| 日韩毛片视频在线看| 欧美一二区视频| 不卡的av中国片| 日韩一区精品视频| 国产精品视频一二| 欧美日韩亚洲国产综合| 国产成人综合亚洲网站| 亚洲国产欧美在线| 国产欧美日韩一区二区三区在线观看 | 色综合天天视频在线观看| 免费人成在线不卡| 17c精品麻豆一区二区免费| 日韩限制级电影在线观看| 国产亚洲一区二区三区| 欧美在线|欧美| 粉嫩aⅴ一区二区三区四区五区| 亚洲国产精品久久人人爱蜜臀| 久久久www成人免费无遮挡大片 | 国产成人a级片| 日韩国产欧美在线观看| 亚洲免费观看高清| 久久久777精品电影网影网 | 日韩国产欧美一区二区三区| 综合欧美一区二区三区| 久久久久88色偷偷免费| 制服丝袜亚洲精品中文字幕| 91九色02白丝porn| 成人性视频免费网站| 美国一区二区三区在线播放| 亚洲综合色丁香婷婷六月图片| 国产欧美日韩中文久久| www欧美成人18+| 日韩一区二区免费电影| 欧美三级韩国三级日本一级| 91免费在线视频观看| 国产不卡在线一区| 免费人成在线不卡| 天使萌一区二区三区免费观看| 亚洲欧美区自拍先锋| 亚洲视频一区二区在线观看| 国产精品丝袜一区| 国产精品人人做人人爽人人添 | 国产成人在线观看| 久久国产剧场电影| 日本人妖一区二区| 视频一区欧美精品| 午夜私人影院久久久久| 午夜精品国产更新| 亚洲电影一区二区| 亚洲综合一区在线| 亚洲大尺度视频在线观看| 亚洲国产成人av网| 午夜不卡在线视频| 热久久国产精品| 久久精品久久久精品美女| 久久99精品国产91久久来源| 久久福利资源站| 国产精品综合一区二区三区| 国产成人免费网站| 成人av免费网站| 91免费看`日韩一区二区| 色悠悠久久综合| 欧美精品99久久久**| 91精品国产欧美一区二区| 日韩小视频在线观看专区| 久久人人爽人人爽| 国产精品麻豆欧美日韩ww| 亚洲欧洲精品一区二区三区| 亚洲精品国产精华液| 天天色综合成人网| 国产精品一区在线观看乱码 | 91久久精品日日躁夜夜躁欧美| 在线观看日韩毛片| 日韩免费一区二区| 国产清纯美女被跳蛋高潮一区二区久久w | 日韩电影在线免费| 国产一区高清在线| 色偷偷久久一区二区三区| 7799精品视频| 国产午夜亚洲精品理论片色戒| 国产白丝网站精品污在线入口| 北条麻妃一区二区三区| 欧美在线观看一区二区| 精品国产一区二区三区忘忧草 | 亚洲午夜久久久| 久久99久久久久久久久久久| 风流少妇一区二区| 欧美在线|欧美| 亚洲精品一线二线三线| 亚洲男人电影天堂| 久久国产乱子精品免费女| 91一区在线观看| 欧美成人午夜电影| 亚洲精品高清视频在线观看| 九九国产精品视频| 91蜜桃婷婷狠狠久久综合9色| 欧美视频第二页| 国产香蕉久久精品综合网| 亚洲国产日韩综合久久精品| 国产精品资源站在线| 欧美日韩和欧美的一区二区| 久久精品日韩一区二区三区| 性做久久久久久久免费看| 精品乱人伦一区二区三区| 亚洲免费观看高清| 福利一区二区在线观看| 3d动漫精品啪啪一区二区竹菊| 国产精品久久久久久久久久免费看 | 亚洲丶国产丶欧美一区二区三区| 国产成人免费在线视频| 日韩欧美美女一区二区三区| 亚洲在线视频网站| 成人网在线免费视频| 欧美第一区第二区| 日韩影院精彩在线| 日本道在线观看一区二区| 日本一区二区三区dvd视频在线 | 亚洲va欧美va国产va天堂影院| 国产成人av一区二区三区在线| 欧美精品 日韩| 亚洲第一福利一区| 色哟哟国产精品| 国产精品久久久久婷婷二区次| 久久成人久久爱| 日韩午夜在线影院| 日韩不卡手机在线v区| 欧美图区在线视频| 亚洲综合自拍偷拍| 91亚洲精品乱码久久久久久蜜桃| 国产三级精品在线| 国产精品538一区二区在线| 精品精品国产高清a毛片牛牛| 视频一区二区中文字幕| 欧美色综合久久| 一区二区三区在线视频免费| 色综合久久99| 一区二区三区四区激情| 91网站在线观看视频| 日韩一区中文字幕| 99久久综合狠狠综合久久| 亚洲欧洲色图综合| 91啦中文在线观看| 亚洲男人电影天堂| 欧美在线free| 日韩av不卡一区二区| 欧美一级理论性理论a| 久久精品国产免费| 久久久久久久久久看片| 国产久卡久卡久卡久卡视频精品| 国产日韩精品视频一区| 成人天堂资源www在线| 亚洲欧洲日产国码二区| 色综合天天综合网国产成人综合天| 悠悠色在线精品| 欧美理论片在线| 精品一区二区三区蜜桃| 久久精品无码一区二区三区| 国产成人aaa| 亚洲人成7777| 69av一区二区三区| 国产最新精品精品你懂的| 国产精品麻豆欧美日韩ww| 在线视频你懂得一区| 欧美性猛片xxxx免费看久爱| 日韩av不卡一区二区| www国产精品av| 91丝袜呻吟高潮美腿白嫩在线观看| 亚洲欧美日韩在线| 91精品在线一区二区| 国内偷窥港台综合视频在线播放| 欧美国产精品劲爆| 欧美色视频在线观看| 久久99精品国产.久久久久久| 中文字幕不卡在线| 欧美日本精品一区二区三区| 国产麻豆精品theporn| 一区二区三区中文字幕| 欧美va在线播放| 色诱亚洲精品久久久久久| 九一久久久久久|