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 ...
随机推荐
- Archlinux/Manjaro使用笔记-使用makepkg安装软件 报错:未找到strip分割所需的二进制文件 的解决方法
我的邮箱地址:zytrenren@163.com欢迎大家交流学习纠错! 使用archlinux或manjaro安装aurman时遇到如下报错 错误:未找到strip分割所需的二进制文件 原因:未安装g ...
- TCP握手过程中建连接的流程和队列
这里有两个队列:syns queue(半连接队列):accept queue(全连接队列). 三次握手过程中: 第一步: server 收到 client 的 syn 后,把这个连接信息放到半连接队列 ...
- 2018-01-11 Antlr4实现数学四则运算
中文编程知乎专栏原文地址 基本参考https://pragprog.com/book/tpantlr2/the-definitive-antlr-4-reference 一书"Buildin ...
- docker第一章:docker核心概念及centos6下安装
Docker三大核心概念 镜像 容器 仓库 镜像 docker镜像类似于虚拟机镜像,可以将它理解为一个面向Docker引擎的只读模板,包含了文件系统. 容器 1.容器是从镜像创建的应用运行实例,容器和 ...
- 你不可不知的Java引用类型之——软引用
定义 软引用是使用SoftReference创建的引用,强度弱于强引用,被其引用的对象在内存不足的时候会被回收,不会产生内存溢出. 说明 软引用,顾名思义就是比较"软"一点的引用. ...
- tkinter做一个简单的登陆页面(十六)
做一个简单的登陆页面 import tkinter wuya = tkinter.Tk() wuya.title("wuya") wuya.geometry("900x3 ...
- SQLserver 还原数据库报“指定转换无效”的错的解决方案
最近在附加一个数据库的时候遇到一个问题:“指定转换无效”,经过分析,出现这个问题的原因可能是:1.版本不对.2.文件加密.3.文件损坏 解决方法: 一.版本不对: 1. 首先确定源数据库版本,下面 ...
- Android 发送自定义广播(标准和本地)
1.首先自定义一个广播接收器:MyBroadcastReceiver package example.com.mybroadcastreceiver; import android.content.B ...
- 【PAT】B1064 朋友数(20 分)
以前写的,逻辑不好,过后再改 #include<stdio.h> #include<algorithm> #include<math.h> using namesp ...
- Linux 用户名、主机添加背景色
文章参考:PS1应用之——修改linux终端命令行各字体颜色 Linux 用户名.主机添加背景色,用于生产环境,这样可以减少人为的误操作. [root@zhang ~]# tail /etc/bash ...