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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? geo_get.c

?? 支持各種柵格圖像和矢量圖像讀取的庫
?? C
字號:
/********************************************************************** * *  geo_get.c  -- Public routines for GEOTIFF GeoKey access. * *    Written By: Niles D. Ritter. * *  copyright (c) 1995   Niles D. Ritter * *  Permission granted to use this software, so long as this copyright *  notice accompanies any products derived therefrom. * *  Revision History; * *    20 June, 1995      Niles D. Ritter         New *    3 July,  1995      Greg Martin             Fix strings and index *    6 July,  1995      Niles D. Ritter         Unfix indexing. * **********************************************************************/#include "geotiff.h"   /* public interface        */#include "geo_tiffp.h" /* external TIFF interface */#include "geo_keyp.h"  /* private interface       *//* return the Header info of this geotiff file */void GTIFDirectoryInfo(GTIF *gtif, int version[3], int *keycount){        if (version)        {                version[0]  = gtif->gt_version;                version[1]  = gtif->gt_rev_major;                version[2]  = gtif->gt_rev_minor;        }        if (keycount) *keycount = gtif->gt_num_keys;}int GTIFKeyInfo(GTIF *gtif, geokey_t key, int *size, tagtype_t* type){        int index = gtif->gt_keyindex[ key ];        GeoKey *keyptr;        if (!index) return 0;        keyptr = gtif->gt_keys + index;        if (size) *size = (int) keyptr->gk_size;        if (type) *type = keyptr->gk_type;        return keyptr->gk_count;}/** This function reads the value of a single GeoKey from a GeoTIFF file.@param gtif The geotiff information handle from GTIFNew().@param thekey The geokey_t name (such as ProjectedCSTypeGeoKey).This must come from the list of legal geokey_t values(an enumeration) listed below.@param val The <b>val</b> argument is a pointer to thevariable into which the value should be read.  The type of the variablevaries depending on the geokey_t given.  While there is no ready mappingof geokey_t values onto types, in general code values are of type <i>short</i>,citations are strings, and everything else is of type <i>double</i>.  Notethat pointer's to <i>int</i> should never be passed to GTIFKeyGet() forinteger values as they will be shorts, and the int's may not be properlyinitialized (and will be grossly wrong on MSB systems).@param index Indicates how far into the list of valuesfor this geokey to offset. Should normally be zero.@param count Indicates how many valuesto read.  At this time all keys except for strings have only one value,so <b>index</b> should be zero, and <b>count</b> should be one.@return The GTIFKeyGet() function returns the number of values read.  Normallythis would be one if successful or zero if the key doesn't exist for thisfile.From geokeys.inc we see the following geokey_t values are possible:<p><pre>-- 6.2.1 GeoTIFF Configuration Keys --ValuePair(  GTModelTypeGeoKey,	1024) -- Section 6.3.1.1 Codes       --ValuePair(  GTRasterTypeGeoKey,	1025) -- Section 6.3.1.2 Codes       --ValuePair(  GTCitationGeoKey,	1026) -- documentation ---- 6.2.2 Geographic CS Parameter Keys --ValuePair(  GeographicTypeGeoKey,	2048) -- Section 6.3.2.1 Codes     --ValuePair(  GeogCitationGeoKey,	2049) -- documentation             --ValuePair(  GeogGeodeticDatumGeoKey,	2050) -- Section 6.3.2.2 Codes     --ValuePair(  GeogPrimeMeridianGeoKey,	2051) -- Section 6.3.2.4 codes     --ValuePair(  GeogLinearUnitsGeoKey,	2052) -- Section 6.3.1.3 Codes     --ValuePair(  GeogLinearUnitSizeGeoKey,	2053) -- meters                    --ValuePair(  GeogAngularUnitsGeoKey,	2054) -- Section 6.3.1.4 Codes     --ValuePair(  GeogAngularUnitSizeGeoKey,	2055) -- radians                   --ValuePair(  GeogEllipsoidGeoKey,	2056) -- Section 6.3.2.3 Codes     --ValuePair(  GeogSemiMajorAxisGeoKey,	2057) -- GeogLinearUnits           --ValuePair(  GeogSemiMinorAxisGeoKey,	2058) -- GeogLinearUnits           --ValuePair(  GeogInvFlatteningGeoKey,	2059) -- ratio                     --ValuePair(  GeogAzimuthUnitsGeoKey,	2060) -- Section 6.3.1.4 Codes     --ValuePair(  GeogPrimeMeridianLongGeoKey,	2061) -- GeoAngularUnit            ---- 6.2.3 Projected CS Parameter Keys ----    Several keys have been renamed,----    and the deprecated names aliased for backward compatibility --ValuePair(  ProjectedCSTypeGeoKey,	3072)     -- Section 6.3.3.1 codes   --ValuePair(  PCSCitationGeoKey,	3073)     -- documentation           --ValuePair(  ProjectionGeoKey,	3074)     -- Section 6.3.3.2 codes   --ValuePair(  ProjCoordTransGeoKey,	3075)     -- Section 6.3.3.3 codes   --ValuePair(  ProjLinearUnitsGeoKey,	3076)     -- Section 6.3.1.3 codes   --ValuePair(  ProjLinearUnitSizeGeoKey,	3077)     -- meters                  --ValuePair(  ProjStdParallel1GeoKey,	3078)     -- GeogAngularUnit --ValuePair(  ProjStdParallelGeoKey,ProjStdParallel1GeoKey) -- ** alias **   --ValuePair(  ProjStdParallel2GeoKey,	3079)     -- GeogAngularUnit --ValuePair(  ProjNatOriginLongGeoKey,	3080)     -- GeogAngularUnit --ValuePair(  ProjOriginLongGeoKey,ProjNatOriginLongGeoKey) -- ** alias **     --ValuePair(  ProjNatOriginLatGeoKey,	3081)     -- GeogAngularUnit --ValuePair(  ProjOriginLatGeoKey,ProjNatOriginLatGeoKey)   -- ** alias **     --ValuePair(  ProjFalseEastingGeoKey,	3082)     -- ProjLinearUnits --ValuePair(  ProjFalseNorthingGeoKey,	3083)     -- ProjLinearUnits --ValuePair(  ProjFalseOriginLongGeoKey,	3084)     -- GeogAngularUnit --ValuePair(  ProjFalseOriginLatGeoKey,	3085)     -- GeogAngularUnit --ValuePair(  ProjFalseOriginEastingGeoKey,	3086)     -- ProjLinearUnits --ValuePair(  ProjFalseOriginNorthingGeoKey,	3087)     -- ProjLinearUnits --ValuePair(  ProjCenterLongGeoKey,	3088)     -- GeogAngularUnit --ValuePair(  ProjCenterLatGeoKey,	3089)     -- GeogAngularUnit --ValuePair(  ProjCenterEastingGeoKey,	3090)     -- ProjLinearUnits --ValuePair(  ProjCenterNorthingGeoKey,	3091)     -- ProjLinearUnits --ValuePair(  ProjScaleAtNatOriginGeoKey,	3092)     -- ratio   --ValuePair(  ProjScaleAtOriginGeoKey,ProjScaleAtNatOriginGeoKey)  -- ** alias **   --ValuePair(  ProjScaleAtCenterGeoKey,	3093)     -- ratio   --ValuePair(  ProjAzimuthAngleGeoKey,	3094)     -- GeogAzimuthUnit --ValuePair(  ProjStraightVertPoleLongGeoKey,	3095)     -- GeogAngularUnit -- 6.2.4 Vertical CS Keys    ValuePair(  VerticalCSTypeGeoKey,	4096)  -- Section 6.3.4.1 codes   --ValuePair(  VerticalCitationGeoKey,	4097)  -- documentation --ValuePair(  VerticalDatumGeoKey,	4098)  -- Section 6.3.4.2 codes   --ValuePair(  VerticalUnitsGeoKey,	4099)  -- Section 6.3.1 (.x) codes   --</pre>*/int GTIFKeyGet(GTIF *gtif, geokey_t thekey, void *val, int index, int count){        int kindex = gtif->gt_keyindex[ thekey ];        GeoKey *key;        gsize_t size;        char *data;        tagtype_t type;        if (!kindex) return 0;        key = gtif->gt_keys+kindex;        if (!count) count = key->gk_count - index;        if (count <=0) return 0;        if (count > key->gk_count) count = key->gk_count;        size = key->gk_size;        type = key->gk_type;        if (count==1 && type==TYPE_SHORT) data = (char *)&key->gk_data;        else data = key->gk_data;        _GTIFmemcpy( val, data + index*size, count*size );        if (type==TYPE_ASCII)           ((char *)val)[count-1] = '\0'; /* replace last char with NULL */        return count;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91在线视频网址| 美女www一区二区| 99久久伊人网影院| 国产精品久久久久久久久免费桃花 | 中文字幕国产精品一区二区| 国产精品一级在线| 国产精品欧美精品| 色综合天天综合网国产成人综合天| 亚洲激情校园春色| 欧美绝品在线观看成人午夜影视| 青青草精品视频| 欧美国产丝袜视频| 色噜噜久久综合| 日本亚洲免费观看| 中文字幕第一区第二区| 91激情在线视频| 欧美a级一区二区| 久久久不卡网国产精品一区| 91老司机福利 在线| 日本在线不卡视频| 日本一区二区三区在线不卡| 色综合激情久久| 美女视频黄 久久| 18成人在线观看| 欧美一区永久视频免费观看| 狠狠色丁香婷综合久久| 亚洲欧美视频一区| 精品免费国产二区三区| 一本在线高清不卡dvd| 日韩av网站免费在线| 中文字幕不卡的av| 欧美老女人在线| 国产电影一区二区三区| 亚洲小少妇裸体bbw| 久久久五月婷婷| 欧美日韩三级一区二区| 国产九九视频一区二区三区| 亚洲一区二区视频在线| 国产精品网站在线观看| 欧美一区二区三区精品| 不卡视频在线观看| 裸体在线国模精品偷拍| 亚洲免费观看视频| 欧美激情中文不卡| 欧美一级精品在线| 在线免费观看日本欧美| 成人一区在线看| 久久电影网站中文字幕| 亚洲一区二区四区蜜桃| 中文字幕亚洲欧美在线不卡| 久久―日本道色综合久久| 欧美日韩高清一区二区不卡| 97超碰欧美中文字幕| 国产综合成人久久大片91| 日韩精品一二三四| 亚洲午夜国产一区99re久久| 中文字幕日本乱码精品影院| 26uuu国产日韩综合| 欧美日产在线观看| 色综合久久中文字幕| 福利一区二区在线| 国产麻豆精品theporn| 美女看a上一区| 丝袜亚洲另类欧美| 夜色激情一区二区| 国产精品久久久久影院亚瑟| 国产日韩av一区二区| 久久综合色一综合色88| 精品国产精品网麻豆系列| 欧美一级片在线看| 7777女厕盗摄久久久| 欧美日韩国产一级片| 欧美三区在线视频| 欧美日本高清视频在线观看| 欧美日本在线播放| 欧美电影影音先锋| 欧美久久高跟鞋激| 91精品国产综合久久精品性色| 欧美剧情电影在线观看完整版免费励志电影 | 老司机免费视频一区二区| 日韩精品色哟哟| 日欧美一区二区| 国产精品一区二区在线观看不卡 | 天天爽夜夜爽夜夜爽精品视频| 亚洲精品综合在线| 洋洋av久久久久久久一区| 亚洲一二三四久久| 五月天精品一区二区三区| 蜜桃视频在线一区| 精品亚洲免费视频| 国产成人av电影在线| 成人国产精品免费观看视频| 99久久久精品免费观看国产蜜| 色婷婷综合久久久久中文一区二区| 91官网在线免费观看| 8v天堂国产在线一区二区| 欧美一级理论性理论a| 久久综合九色综合欧美就去吻| 久久午夜免费电影| 综合欧美亚洲日本| 午夜精品视频一区| 国内久久精品视频| www.久久精品| 欧美日韩国产精品成人| 精品少妇一区二区| 国产精品人成在线观看免费| 一区二区免费在线| 喷白浆一区二区| 国产99久久久国产精品| 精品视频一区三区九区| 亚洲精品一区二区三区在线观看| 国产精品久久777777| 亚洲国产成人av| 国产一区视频网站| 欧美亚洲精品一区| 精品国产不卡一区二区三区| 国产精品福利av| 日本怡春院一区二区| 国产高清亚洲一区| 欧美日韩国产经典色站一区二区三区 | 亚洲1区2区3区视频| 国产一区二三区| 在线观看国产日韩| 久久精品男人的天堂| 亚洲成人中文在线| 国产99精品视频| 欧美精品一二三区| 成人免费一区二区三区视频| 久久aⅴ国产欧美74aaa| 日本韩国精品在线| 国产丝袜欧美中文另类| 亚洲成人自拍偷拍| 99国产精品一区| 欧美精品一区二区三区蜜桃| 亚洲综合成人网| 波多野结衣精品在线| 欧美一区二区视频在线观看| 亚洲免费观看高清完整版在线观看 | 欧美久久久久免费| 亚洲欧美日韩一区二区三区在线观看 | 国产网站一区二区三区| 日韩精品欧美精品| 欧美日韩和欧美的一区二区| 综合分类小说区另类春色亚洲小说欧美| 日韩经典中文字幕一区| 欧美亚洲国产一区在线观看网站| 亚洲国产精品精华液2区45| 久久99久久久久久久久久久| 欧美日韩精品一区二区三区| 亚洲男同性视频| 91香蕉视频污在线| 亚洲国产岛国毛片在线| 国产麻豆精品在线| 精品电影一区二区三区| 蜜桃av一区二区三区| 欧美日韩电影在线播放| 亚洲综合男人的天堂| 99精品久久只有精品| 中文字幕免费观看一区| 国产一区二区三区在线观看免费| 欧美电影免费观看高清完整版在线观看 | 色综合久久久久久久| 日韩毛片高清在线播放| av网站免费线看精品| 国产精品二区一区二区aⅴ污介绍| 国产成人精品aa毛片| 欧美国产综合色视频| 国产精选一区二区三区| 国产亚洲精久久久久久| 国产成人免费视频一区| 国产精品欧美精品| 成人ar影院免费观看视频| 国产精品久久久久久户外露出 | 欧美午夜精品理论片a级按摩| 亚洲美女在线国产| 欧美一区二区免费观在线| 免费精品视频在线| 久久久91精品国产一区二区精品| 国产一区二区在线观看免费| 日本一区二区综合亚洲| 93久久精品日日躁夜夜躁欧美| 亚洲品质自拍视频网站| 欧美色爱综合网| 另类小说色综合网站| 国产亚洲欧美色| 91丨porny丨最新| 亚洲在线中文字幕| 欧美一级片免费看| 国产电影精品久久禁18| 伊人色综合久久天天人手人婷| 欧美三级蜜桃2在线观看| 蜜臀精品一区二区三区在线观看 | 精品一区二区久久| 国产日韩精品一区二区三区| 91丝袜国产在线播放| 视频一区视频二区中文| 久久亚洲综合av| 色呦呦国产精品| 奇米色777欧美一区二区| 国产丝袜欧美中文另类|