zoukankan      html  css  js  c++  java
  • MapInfo 创建临时表

    首先导入
    using MapInfo.Data;
    using MapInfo.Engine;
    using MapInfo.Mapping;

     1      private void CreateTempTable()
     2        {
     3            MapInfo.Mapping.Map map = Session.Current.MapFactory[0];
     4            IMapLayer lyr = map.Layers["Animation"];
     5            if (lyr == null)
     6            {
     7                TableInfoMemTable ti = new TableInfoMemTable("Animation");
     8                ti.Columns.Add(ColumnFactory.CreateFeatureGeometryColumn(map.GetDisplayCoordSys()));
     9                ti.Columns.Add(ColumnFactory.CreateStyleColumn());
    10                Table table = MapInfo.Engine.Session.Current.Catalog.CreateTable(ti);
    11                map.Layers.Insert(0new FeatureLayer(table, "Animation""Animation"));
    12            }

    13        }
  • 相关阅读:
    读写文件print函数操作
    协程相关
    线程池
    多线程条件
    ibm动态测试
    ubuntu 之 搜狗拼音安装
    Linux 安装 出现Could not get lock /var/lib/dpkg/lock
    Sql server
    maven 搭建
    EOS
  • 原文地址:https://www.cnblogs.com/abcdwxc/p/1012085.html
Copyright © 2011-2022 走看看