#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. 微信小程序实现验证码倒计时效果

    效果图 wxml <input class='input-pwd' placeholder="新密码" placeholder-style='color: #000' pas ...

  2. python中传值和传地址问题

    在python中,还没有对这个知识点有一个详细的定义,很模糊的说明了,通过下面代码,可以观察出来,什么时候传的是值,什么时候传的是地址 有时候会发现自己的数据发生变化,可能就是这个原因,python的 ...

  3. ASP.NET Boilerplate 学习

    1.在http://www.aspnetboilerplate.com/Templates 网站下载ABP模版 2.解压后打开解决方案,解决方案目录: 3.在AbpTest.Web.Host项目的ap ...

  4. zTree 优秀的jquery树插件

    zTree 优秀的jquery树插件,文档详细,渲染快 使用方法: 1.引用zTree的js和css文件 <link href="~/Content/zTree_v3/css/zTre ...

  5. jQuery 实现图片动画代码

    向下移动动画 $(".image").click(function(){ $(this).animate({height:'0px'}) }); <!doctype html ...

  6. CPUFreq驱动

    CPUFreq子系统位于 drivers/cpufreq目录下,负责进行运行过程中CPU频率和电压的动态调整,即DvFS( Dynamic Voltage Frequency Scaling,动态电压 ...

  7. python中json序列化的东东

    之所以写这个因为自己总是弄混了,容易弄错,记下来有事没事看看   序列化是指把变量从内存中变成可存储或传输的过程称之为序列化用(使用dump或者dumps),把变量内容从序列化的对象重新读到 内存里称 ...

  8. Linux之删除带有空格的文件(而不是目录)

    大家平时工作中对不带空格的文件接触较多.这样一来删除操作也是比较简单的.但是有时我们会接触带有空格的文件.对于这种文件我们应该如何删除呢? 首先我们演示一下find命令结合xargs命令删除不带空格的 ...

  9. Mysql基础之 基础知识解释

    Mysql基础知识 RDBMS:关系型数据库管理系统.是将数据组织成相关的行和列的系统 存储过程:是存储在数据库中的一段声明性语句.触发器.java.php等都可以调用其存储过程.早期的mysql版本 ...

  10. Alpha冲刺! Day3 - 砍柴

    Alpha冲刺! Day3 - 砍柴 今日已完成 晨瑶:补充安卓技能树: review接口文档:看了点七牛云安卓API. 昭锡:没有团队项目相关贡献. 永盛: API 文档基本完成:根据 API 文档 ...