/**********************************************************************
* $Id: mitab.h,v 1.111.2.1 2008/04/21 19:57:28 dmorissette Exp $
*
* Name: mitab.h
* Project: MapInfo TAB Read/Write library
* Language: C++
* Purpose: Header file containing public definitions for the library.
* Author: Daniel Morissette, dmorissette@dmsolutions.ca
*
**********************************************************************
* Copyright (c) 1999-2005, Daniel Morissette
*
* 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.
**********************************************************************
*
* $Log: mitab.h,v $
* Revision 1.111.2.1 2008/04/21 19:57:28 dmorissette
* Update for 1.7.0 release
*
* Revision 1.111 2008/02/29 21:27:41 dmorissette
* Update to v1.7.0-beta1
*
* Revision 1.110 2008/02/20 21:35:30 dmorissette
* Added support for V800 COLLECTION of large objects (bug 1496)
*
* Revision 1.109 2008/02/13 21:10:43 dmorissette
* Fixed error in TAB_GEOM_GET_VERSION() macro logic
*
* Revision 1.108 2008/02/05 22:21:59 dmorissette
* Added macro TAB_GEOM_GET_VERSION()
*
* Revision 1.107 2008/02/01 19:55:55 dmorissette
* Set version to 1.7.0-dev
*
* Revision 1.106 2008/02/01 19:36:31 dmorissette
* Initial support for V800 REGION and MULTIPLINE (bug 1496)
*
* Revision 1.105 2008/01/29 21:56:39 dmorissette
* Update dataset version properly for Date/Time/DateTime field types (#1754)
*
* Revision 1.104 2007/12/11 04:26:29 dmorissette
* Update for 1.6.4 release
*
* Revision 1.103 2007/10/12 15:47:48 dmorissette
* Updated for 1.6.3 release
*
* Revision 1.102 2007/09/18 18:13:42 dmorissette
* Updated for 1.6.3-beta2
*
* Revision 1.101 2007/09/14 20:03:08 dmorissette
* Removed stray ReadGeometryFromMAPFile() declaration
*
* Revision 1.100 2007/09/14 19:42:39 dmorissette
* Updated for 1.6.3-beta1
*
* Revision 1.99 2007/09/14 18:30:18 dmorissette
* Fixed the splitting of object blocks with the optimized spatial
* index mode that was producing files with misaligned bytes that
* confused MapInfo (bug 1732)
*
* Revision 1.98 2007/09/12 20:22:31 dmorissette
* Added TABFeature::CreateFromMapInfoType()
*
* Revision 1.97 2007/07/12 12:39:59 dmorissette
* Set version to 1.6.2
*
* Revision 1.96 2007/06/12 14:48:44 dmorissette
* Set version to 1.6.2-dev
*
* Revision 1.95 2007/06/12 14:17:16 dmorissette
* Added TABFile::TwoPointLineAsPolyline() to allow writing two point lines
* as polylines (bug 1735)
*
* Revision 1.94 2007/06/12 13:52:37 dmorissette
* Added IMapInfoFile::SetCharset() method (bug 1734)
*
* Revision 1.93 2007/06/12 12:50:39 dmorissette
* Use Quick Spatial Index by default until bug 1732 is fixed (broken files
* produced by current coord block splitting technique).
*
* Revision 1.92 2007/03/30 18:05:49 dmorissette
* Updated 1.6.1 release date
*
* Revision 1.91 2007/03/22 21:01:37 dmorissette
* Update for v1.6.1
*
* Revision 1.90 2007/03/21 21:15:56 dmorissette
* Added SetQuickSpatialIndexMode() which generates a non-optimal spatial
* index but results in faster write time (bug 1669)
*
* Revision 1.89 2007/02/15 20:19:06 dmorissette
* Update for v1.6.0
*
* Revision 1.88 2006/11/28 19:11:20 dmorissette
* Set version to 1.6.0-dev
*
* Revision 1.87 2006/11/28 18:49:07 dmorissette
* Completed changes to split TABMAPObjectBlocks properly and produce an
* optimal spatial index (bug 1585)
*
* Revision 1.86 2006/11/20 20:05:58 dmorissette
* First pass at improving generation of spatial index in .map file (bug 1585)
* New methods for insertion and splittung in the spatial index are done.
* Also implemented a method to dump the spatial index to .mif/.mid
* Still need to implement splitting of TABMapObjectBlock to get optimal
* results.
*
* Revision 1.85 2006/07/25 13:24:47 dmorissette
* Updated for 1.5.1 release
*
* Revision 1.84 2006/07/25 13:22:58 dmorissette
* Fixed initialization of MBR of TABCollection members (bug 1520)
*
* Revision 1.83 2006/02/16 15:13:38 dmorissette
* Updated for 1.5.0 release
*
* Revision 1.82 2005/10/07 18:54:23 dmorissette
* Ready for 1.5.0-beta1 release
*
* Revision 1.81 2005/10/06 23:05:08 dmorissette
* TABCollection: Added automated sync'ing of OGRFeature's geometry in
* SetRegion/Pline/MpointDirectly() methods (bug 1126)
*
* Revision 1.80 2005/10/06 19:15:30 dmorissette
* Collections: added support for reading/writing pen/brush/symbol ids and
* for writing collection objects to .TAB/.MAP (bug 1126)
*
* Revision 1.79 2005/10/04 15:44:31 dmorissette
* First round of support for Collection objects. Currently supports reading
* from .TAB/.MAP and writing to .MIF. Still lacks symbol support and write
* support. (Based in part on patch and docs from Jim Hope, bug 1126)
*
* Revision 1.78 2005/05/21 03:16:01 fwarmerdam
* Removed m_poFilterGeom ... should have been done yesterday with spatial
* filter overhaul.
*
* Revision 1.77 2005/05/19 21:10:50 fwarmerdam
* changed to use OGRLayers spatial filter support
*
* Revision 1.76 2005/05/19 15:26:59 jlacroix
* Implement a method to set the StyleString of a TABFeature.
* This is done via the ITABFeaturePen, Brush and Symbol classes.
*
* Revision 1.75 2005/04/01 16:48:41 dmorissette
* Updated 1.4.0 release date
*
* Revision 1.74 2005/03/23 20:36:09 dmorissette
* Ready for V1.4.0
*
* Revision 1.73 2004/07/07 22:18:02 dmorissette
* Updated 1.3.0 release date
*
* Revision 1.72 2004/06/30 20:22:31 dmorissette
* Ready for V1.3.0
*
* Revision 1.71 2003/08/07 03:20:46 dmorissette
* Added mitab_c_getlibversion() to C API. (Uffe K. - bug 21)
*
* Revision 1.70 2003/07/24 02:47:58 daniel
* Version 1.2.4
*
* ...
*
* Revision 1.1 1999/07/12 04:18:23 daniel
* Initial checkin
*
**********************************************************************/
#ifndef _MITAB_H_INCLUDED_
#define _MITAB_H_INCLUDED_
#include "mitab_priv.h"
#include "ogr_feature.h"
#include "ogr_featurestyle.h"
#include "ogrsf_frmts.h"
/*---------------------------------------------------------------------
* Current version of the MITAB library... always useful!
*--------------------------------------------------------------------*/
#define MITAB_VERSION "1.7.0 (2008-04-21)"
#define MITAB_VERSION_INT 1007000 /* version x.y.z -> xxxyyyzzz */
#ifndef PI
# define PI 3.14159265358979323846
#endif
#ifndef ROUND_INT
# define ROUND_INT(dX) ((int)((dX) < 0.0 ? (dX)-0.5 : (dX)+0.5 ))
#endif
#define MITAB_AREA(x1, y1, x2, y2) ((double)((x2)-(x1))*(double)((y2)-(y1)))
class TABFeature;
/*---------------------------------------------------------------------
* Codes for the GetFileClass(
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
mitab.rar (34个子文件)
mitab
ogr_geometry.h 21KB
mitab_priv.h 63KB
ogrsf_frmts.h 12KB
ogr_spatialref.h 22KB
mitab.lib 10.39MB
cpl_conv.h 11KB
mitab_ogr_driver.h 5KB
ogr_geos.h 2KB
cpl_vsi.h 9KB
mitab_capi.h 17KB
cpl_string.h 7KB
swq.h 6KB
mitab_i.lib 476KB
cpl_minixml.h 7KB
mitab.h 73KB
ogr.lib 10.02MB
ogr_core.h 9KB
ogr_gensql.h 4KB
cpl.lib 2.75MB
cpl_multiproc.h 4KB
cpl_csv.h 3KB
mitab_utils.h 4KB
cpl_vsi_virtual.h 5KB
mitab.dll 1.13MB
ogr_p.h 4KB
ogr_feature.h 13KB
ogr_api.h 16KB
mitab_geometry.h 3KB
cpl_config.h 835B
cpl_port.h 16KB
ogr_attrind.h 4KB
cpl_error.h 4KB
ogr_featurestyle.h 23KB
ogr_srs_api.h 27KB
共 34 条
- 1
兆言
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页