OSGeo.OGR.Geometry
#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的更多相关文章
- 在C#中使用GDAL创建Shape文件
这几天在项目中考虑使用GDAL,由于10年没有用过VC了,就在网上搜了下怎么样在C# 中使用GDAL,看到了http://blog.csdn.net/liminlu0314/article/detai ...
- GDAL 生成shp文件
附件:http://pan.baidu.com/s/1i3GPwrV(C#版GDAL接口.dll) 示例程序: http://pan.baidu.com/s/1jpIKQ (程序是在vs2008 x ...
- C#、C++用GDAL读shp文件(转载)
C#.C++用GDAL读shp文件 C#用GDAL读shp文件 (2012-08-14 17:09:45) 标签: 杂谈 分类: c#方面的总结 1.目前使用开发环境为VS2008+GDAL1.81 ...
- 使用wcf编写坐标字符串生成shapefile文件,在iis发布供前端调用
项目有一需求,需要由坐标字符串(格式:x,y,点名)生成shapefile,由于在前台开发类似功能比较麻烦而且也不适用,最终决定使用WCF来实现,不借助现有GIS软件,基于GDAL实现. 实现过程如下 ...
- KML,SHP TAB互转,GDAL
最近在接触地图数据转换的东西,从硬件kml的数据转换其他的格式,因为从没做过着东西, 先去了解kml文件格式 http://baike.baidu.com/view/400307.htm?fr=ala ...
- OGR API Tutorial
This document is intended to document using the OGR C++ classes to read and write data from a file. ...
- GDAL create kml
新增kml 点 public void WriteKmlPiont() { string driverName = "KML"; //MapInfo File OSGeo.GDAL ...
- C# SharpMap的简单使用
本文是利用ShapMap实现GIS的简单应用的小例子,以供学习分享使用.关于SharpMap的说明,网上大多是以ShapeFile为例进行简单的说明,就连官网上的例子也不多.本文是自己参考了源代码进行 ...
- GDAL------加载Shapefile文件
代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst ...
随机推荐
- sql: Query to Display Foreign Key Relationships and Name of the Constraint for Each Table in Database
--20170505 --塗聚文 Geovin Du CREATE DATABASE DuMailSystem GO USE DuMailSystem GO --1查詢表的及备注说明 SELECT S ...
- 一些关于Viewport与device-width的东西~(转)
内容转自 http://www.cnblogs.com/koukouyifan/p/4066567.html 非常感谢 口口一凡 为我们提供的这篇文章,受益匪浅,特地转到自己的博客收藏起来. 以下是原 ...
- windows 2012 r2企业版没有界面
windows 2012 R2系统进去以后只有CMD命令窗口,没有图形化界面,除了cmd其余的全部是黑的.在网上搜了很多,都是大同小异的解决方法,但根本解决不了.今天再这里分享的这个方法很简单,不用重 ...
- Spark机器学习——模型选择与参数调优之交叉验证
spark 模型选择与超参调优 机器学习可以简单的归纳为 通过数据训练y = f(x) 的过程,因此定义完训练模型之后,就需要考虑如何选择最终我们认为最优的模型. 如何选择最优的模型,就是本篇的主要内 ...
- loadrunner 运行场景-常见Graph简介
运行场景-常见Graph简介 by:授客 QQ:1033553122 A. Web Resource Graphs 1. 概述 a) Hits per Second Graph Hits ...
- [ng:areq] Argument 'XXXXCtrl' is not a function, got undefined
angular.module('MyApp', []) 这里的[]重复了,以后引入新的controller.js文件会覆盖前面那个,所以此处的[]去掉 .controller('MyCtrl', fu ...
- plsql如何导出查询结果
mark一下,感谢大牛分享:http://www.cnblogs.com/Marydon20170307/p/8385674.html
- Mouse Without Borders软件,主要功能备忘录
详细地址:https://blog.csdn.net/andylauren/article/details/64540500
- PHP 服务器及TP5框架遇到的几个错误
一.Call to undefined function imagecreatefrompng(): LAMP环境搭建的博客,在提交内容的时候TP5框架报了一个错误,Call to undefined ...
- HighCharts初测试
把HighChart嵌入到博客中.