#region 程序集 ogr_csharp.dll, v2.0.50727
// D:\KM行业需求\C++\gdal17_cSharp\ogr_csharp.dll
#endregion using OSGeo.OSR;
using System;
using System.Runtime.InteropServices; namespace OSGeo.OGR
{
public class Geometry : IDisposable
{
protected bool swigCMemOwn;
protected object swigParentRef; public Geometry(wkbGeometryType type);
public Geometry(IntPtr cPtr, bool cMemoryOwn, object parent);
public Geometry(wkbGeometryType type, string wkt, int wkb, IntPtr wkb_buf, string gml); public int AddGeometry(Geometry other);
public int AddGeometryDirectly(Geometry other_disown);
public void AddPoint(double x, double y, double z);
public void AddPoint_2D(double x, double y);
public void AssignSpatialReference(OSGeo.OSR.SpatialReference reference);
public Geometry Buffer(double distance, int quadsecs);
public Geometry Centroid();
public Geometry Clone();
public void CloseRings();
public bool Contains(Geometry other);
public Geometry ConvexHull();
public static Geometry CreateFromGML(string gml);
public static Geometry CreateFromWkb(byte[] wkb);
public static Geometry CreateFromWkt(string wkt);
public bool Crosses(Geometry other);
public Geometry Difference(Geometry other);
public bool Disjoint(Geometry other);
public virtual void Dispose();
public double Distance(Geometry other);
public void Empty();
public bool Equal(Geometry other);
public string ExportToGML();
public string ExportToJson();
public string ExportToKML(string altitude_mode);
public int ExportToWkb(byte[] buffer);
public int ExportToWkb(byte[] buffer, wkbByteOrder byte_order);
public int ExportToWkb(int bufLen, IntPtr buffer, wkbByteOrder byte_order);
public int ExportToWkt(out string argout);
public void FlattenTo2D();
public double GetArea();
public Geometry GetBoundary();
public int GetCoordinateDimension();
public static HandleRef getCPtr(Geometry obj);
public static HandleRef getCPtrAndDisown(Geometry obj, object parent);
public static HandleRef getCPtrAndSetReference(Geometry obj, object parent);
public int GetDimension();
public void GetEnvelope(Envelope env);
public int GetGeometryCount();
public string GetGeometryName();
public Geometry GetGeometryRef(int geom);
public wkbGeometryType GetGeometryType();
public void GetPoint(int iPoint, double[] argout);
public void GetPoint_2D(int iPoint, double[] argout);
public int GetPointCount();
public OSGeo.OSR.SpatialReference GetSpatialReference();
public double GetX(int point);
public double GetY(int point);
public double GetZ(int point);
public bool Intersect(Geometry other);
public Geometry Intersection(Geometry other);
public bool IsEmpty();
public bool IsRing();
public bool IsSimple();
public bool IsValid();
public bool Overlaps(Geometry other);
public void Segmentize(double dfMaxLength);
public void SetCoordinateDimension(int dimension);
public void SetPoint(int point, double x, double y, double z);
public void SetPoint_2D(int point, double x, double y);
public Geometry SymmetricDifference(Geometry other);
protected object ThisOwn_false();
protected static object ThisOwn_true();
public bool Touches(Geometry other);
public int Transform(OSGeo.OSR.CoordinateTransformation trans);
public int TransformTo(OSGeo.OSR.SpatialReference reference);
public Geometry Union(Geometry other);
public bool Within(Geometry other);
public int WkbSize();
}
}

OSGeo.OGR.Geometry的更多相关文章

  1. 在C#中使用GDAL创建Shape文件

    这几天在项目中考虑使用GDAL,由于10年没有用过VC了,就在网上搜了下怎么样在C# 中使用GDAL,看到了http://blog.csdn.net/liminlu0314/article/detai ...

  2. GDAL 生成shp文件

    附件:http://pan.baidu.com/s/1i3GPwrV(C#版GDAL接口.dll) 示例程序: http://pan.baidu.com/s/1jpIKQ  (程序是在vs2008 x ...

  3. C#、C++用GDAL读shp文件(转载)

    C#.C++用GDAL读shp文件 C#用GDAL读shp文件 (2012-08-14 17:09:45) 标签: 杂谈 分类: c#方面的总结 1.目前使用开发环境为VS2008+GDAL1.81 ...

  4. 使用wcf编写坐标字符串生成shapefile文件,在iis发布供前端调用

    项目有一需求,需要由坐标字符串(格式:x,y,点名)生成shapefile,由于在前台开发类似功能比较麻烦而且也不适用,最终决定使用WCF来实现,不借助现有GIS软件,基于GDAL实现. 实现过程如下 ...

  5. KML,SHP TAB互转,GDAL

    最近在接触地图数据转换的东西,从硬件kml的数据转换其他的格式,因为从没做过着东西, 先去了解kml文件格式 http://baike.baidu.com/view/400307.htm?fr=ala ...

  6. OGR API Tutorial

    This document is intended to document using the OGR C++ classes to read and write data from a file. ...

  7. GDAL create kml

    新增kml 点 public void WriteKmlPiont() { string driverName = "KML"; //MapInfo File OSGeo.GDAL ...

  8. C# SharpMap的简单使用

    本文是利用ShapMap实现GIS的简单应用的小例子,以供学习分享使用.关于SharpMap的说明,网上大多是以ShapeFile为例进行简单的说明,就连官网上的例子也不多.本文是自己参考了源代码进行 ...

  9. GDAL------加载Shapefile文件

    代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst ...

随机推荐

  1. Python知识点小记

    类 设置类属性必须使用类对象,若使用实例对象设置,会重新创建一个和类属性同名的实例属性 类对象可调用 类方法&静态方法, 实例对象可调用 实例方法&类方法&静态方法; 类方法和 ...

  2. python之网络通信协议

    TCP/IP五层协议和OSI的七层协议: TCP和UDP的区别: Tcp协议:面向连接,数据可靠,传输效率低,面向字节流 Udp协议:面向无连接,数据不可靠,传输效率高,面向报文

  3. loadrunner 场景设计-添加Unix、Linux Resources计数器

    场景设计-添加Unix.Linux Resources计数器 by:授客 QQ:1033553122 A.   目的 监控要测试的Unix.Linux服务器的资源使用情况 Linux CentOS为例 ...

  4. aws linux主机root帐号登录

    默认情况下,aws主机必须使用pem密码文件并且以ec2-user用户登录系统,之后很多操作都必须用sudo来以root权限执行操作,显得比较麻烦. 以下来自知乎的一个问答,亲测ok ## AWS E ...

  5. 洗礼灵魂,修炼python(40)--面向对象编程(10)—定制魔法方法+time模块

    定制魔法方法 1.什么是定制魔法方法 首先定制是什么意思呢?其实就是自定义了,根据我们想要的要求来自定义.而在python中,其实那些所谓的内置函数,内置方法,内置属性之类的其实也是自定义出来的,不过 ...

  6. C# RSA 加密

    class Sign_verifySign { #region prepare string to sign. //example format: a=123&b=xxx&c (wit ...

  7. 使用EWS API读取邮件

    #安装EwsManagedApi.msi,然后导入EWS模块 Import-Module -Name "C:\Program Files\Microsoft\Exchange\Web Ser ...

  8. jenkins安装及配置-centos6.9

    Jenkins安装及配置 目录 1.安装java. 2 1.1安装说明... 2 1.2创建java目录... 2 1.3下载并解压... 2 1.4设置环境变量... 2 1.5验证JDK有效性.. ...

  9. Unity Ulua1.03优化记录

    现在项目的框架是在2015年设计的,那时候Ulua还处于1.03版本,现在回头再看,Ulua已经迭代到1.25版本,中间引入带有wraper的cstolua,而后转向现有的toLua#版本. 随着版本 ...

  10. Navicat 连接Oracle时提示oracle library is not loaded的问题解决

    笔者使用的Navicat Premium 12启动界面截屏: 请注意是64位的.笔者win7 64位系统. 连接Oracle时提示“oracle library is not loaded”. 解决方 ...