#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. win10系统彻底卸载Mysql

    本文介绍,在Windows10系统下,如何彻底删除卸载MySQL... 1>停止MySQL服务 开始->所有应用->Windows管理工具->服务,将MySQL服务停止. 2& ...

  2. Python 简单的文件上传功能

    简单地在程序当前目录下上传一张图片: 1.png 到程序的 yuan 文件夹下.这里使用的是固定参数 post,如果后期有需求,可以增加判断来更加完善程序. # server 端 import soc ...

  3. 【工具相关】Web--nodejs的安装

    一,从官网下载nodejs.org. https://nodejs.org/en/ 二,按照步骤一步一步安装就好.

  4. React 入门学习笔记整理(七)—— 生命周期

    (1)react 生命周期 只有类组件有生命周期,函数组件没有生命周期 1.挂载阶段:这些方法会在组件实例被创建和插入DOM中时被调用: 1)constructor(props) 初始化组件的状态.绑 ...

  5. video自动禁止全屏

    在微信浏览器.苹果等其他浏览器,里面使用video标签,会自动变成全屏,改成下面就好了,起码可以在video标签之上加入其他元素    webkit-playsinline playsinline x ...

  6. React JS和React-Native学习指南

    自己在学习React-Native过程中整理的一份学习指南,包含 教程.开源app和资源网站等,还在不断更新中.欢迎pull requests! React-Native学习指南本指南汇集React- ...

  7. LinkedHashMap

    LinkedHashMap既是一个HashMap,也是一个链表 package java.util; import java.util.function.Consumer; import java.u ...

  8. aws s3文件上传设置accesskey、secretkey、sessiontoken

    背景: 最近跟进的项目会封装aws S3资源管理细节,对外提供获取文件上传凭证的API,业务方使用获取到的凭证信息直接请求aws进行文件上传.因此,测试过程需要验证S3文件上传的有效性.aws官网有提 ...

  9. Microsoft .NET Core 1.0.0 VS 2015 Tooling Preview 2 Uninstall Failed

    卸载过程中总是卸载失败报0x80070001:函数不明确错误.转遍了各大论坛和QQ,最终还是在stackoverflow上找到了答案... 原因是我卸载时选择的DotNetCore.1.0.0-VS2 ...

  10. Source Insight 查找的选择项

    查找参数:whole words only :                  全字匹配查找case sensitive  :                   区分大小写project wide ...