- 博客(12)
- 资源 (2)
- 收藏
- 关注
原创 2017华为软挑---SPFA、ZKW、模拟退火
环境:CentOS 6.7————————核心———————deploy.h#ifndef __ROUTE_H__#define __ROUTE_H__#include "lib_io.h"#include "lib_time.h"#include "string.h"#include "stdlib.h"#include "time.h"//#include <sys/time.h
2017-05-26 21:04:28 963
原创 C#---写二进制
//ESRI Record Header, Big Order, windows is little order public class ESRI_RecordHeader { public int recnum; public int contlength; public ESRI_RecordHeader() {
2017-05-17 15:54:08 562
原创 C#---批量导入数据库
// 写入数据库 System.Data.DataTable tb1 = new System.Data.DataTable(); tb1.Columns.Add("BuildingID"); tb1.Columns.Add("GXID"); tb1.Columns.Add
2017-05-17 15:24:43 469
原创 Arcgis---坐标转换API
/// <summary> /// 坐标转换方法 /// </summary> public class PointConvert { private static ISpatialReferenceFactory pSRF = null; private static ISpatialReference pGCS = null;
2017-05-16 19:10:09 1223
原创 Arcgis---将坐标不同的图层显示在同一个ArcScene中
现在由2个图层,buildings.shp 以x、y坐标显示,即投影坐标,GSM900.shp 以经纬度显示,即地理坐标,如果直接放在同一个ArcScen中,则无法正常显示,这时需要坐标变换。要么都以x、y方式显示,要么都以经纬度方式显示,本文选用后者,将buildings.shp的投影坐标转换为地理坐标。文档中已说明是: WGS-84,UTM投影,按6度投影,在(50)带,中央经线为(117)如
2017-05-16 15:22:30 17317
原创 Arcgis---the Vertical extent is too large for proper display
在ArcScen中点击“Full Extent”图标时,显示信息如下 解决: 右击场景图层名 选择“Scene Properties”—>“Calculate From Extent”
2017-05-16 11:49:03 1484
转载 ArcGIS---如何为shape文件设置投影
http://jingyan.baidu.com/article/90895e0fca1f0664ed6b0b7a.html
2017-05-16 10:47:56 4962 1
原创 Arcgis---.sxd文件移动位置后无法打开
用ArcSen打开后,文件名那里是叹号 右击名称,Data–>Repare Data Source—>选择.sxd文件所在位置,选中相应的shp文件 然后就可以了 但是下次还是不能打开,继续解决选择“File”—>Document Properties—>Data Source Options—>Store relative path names 搞定
2017-05-12 17:42:42 2948
原创 C#字符串格式
字符串总长为11,左边补空格 static void Main(string[] args) { string s = string.Format("{0,11}", 2); for (int i = 0; i < s.Length; i++) if (s[i] == ' ')
2017-05-12 10:21:47 425
原创 Arcgis---使用sql数据库中的数据刷新图层
使用sql语句select需要的数据,通过Arcgis的API插入到相应图层文件中,插入的数据可以在.dbf文件中查看,最后使用Arcgis的API刷新图层即可using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using Sys
2017-05-03 13:25:02 1827 4
原创 两点之间的所有最短路径
#include "iostream"#include "string"#include "fstream"#include "vector"#include "queue"#include "sstream"#include "set"#include "string.h"#include "math.h"#include <functional>using namespace
2017-05-02 18:56:27 8237
Rx_Net35_SP1
2019-03-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人