2017年7月4日

Arcengine将圆形、矩形转换为多边形 ;ICircularArc、IEnvelope转化为IPolygon

摘要: Arcengine将圆形、矩形转换为多边形 ;ICircularArc、IEnvelope转化为IPolygon 1、将ICircularArc转化为IPolygon 1 1: ICircularArc pCircularArc = null; 2 2: IRubberBand pRubberBan 阅读全文

posted @ 2017-07-04 21:01 jobgeo 阅读(883) 评论(0) 推荐(0)

2017年5月27日

线段与矩形相交计算(QT方法)

摘要: 不想加载geos库,故使用qt的方法,计算出矩形与线段的交集。 阅读全文

posted @ 2017-05-27 16:39 jobgeo 阅读(2631) 评论(0) 推荐(0)

2017年5月25日

QSerialPort的线程常用操作(包含心跳,读写延时方法等)

摘要: 测试方法 阅读全文

posted @ 2017-05-25 14:02 jobgeo 阅读(8218) 评论(0) 推荐(0)

2017年5月24日

QProcess调用外部程序不显示界面

摘要: 第二种方法 今天在项目内遇到的问题,需要调用外部程序,但不能显示此程序界面,在网上找了一下,调试出这两种方法。 阅读全文

posted @ 2017-05-24 13:59 jobgeo 阅读(5506) 评论(0) 推荐(0)

2017年5月23日

QT自定义标题栏的可拖拽窗口

摘要: 由于项目的实际需要,窗口不能使用默认样式,需要实现无边框和qstylesheet加载样式文件,移除标题栏后窗口无法拖动,所有需要在widget的基础上重载mouse的press、move、release三个事件,但由于qwidget不能直接加载style样式,所以在qframe的基础进行重载。 1. 阅读全文

posted @ 2017-05-23 17:28 jobgeo 阅读(5582) 评论(1) 推荐(1)

2017年5月17日

QT单例多文件日志类

摘要: 1 #ifndef TLOGGER_H 2 #define TLOGGER_H 3 4 #include 5 #include 6 #include 7 8 9 #define TLOG_OPEN(x,y) TLogger::getInstance()->openLog(x,y); 10 #define TLOG_PRINT(y,z) TLogg... 阅读全文

posted @ 2017-05-17 16:32 jobgeo 阅读(813) 评论(0) 推荐(0)

发展方向

摘要: 1 设计模式 2 系统架构 3 算法要点 阅读全文

posted @ 2017-05-17 09:06 jobgeo 阅读(132) 评论(0) 推荐(0)

2017年2月21日

GDAL2.1.3 VS2015编译

摘要: 1. 下载最新的gdal2.1.3源代码 2. 解压到gdal-2.1.3 3. 修改nmake.opt文件,屏蔽ODBC_SUPPORTED,否则会有错误提示“odbccp32.lib(dllload.obj) : error LNK2019: unresolved external symbol 阅读全文

posted @ 2017-02-21 09:03 jobgeo 阅读(1705) 评论(0) 推荐(0)

2016年12月13日

OSRM模型简介

摘要: Smart Directions Powered by OSRM’s Enhanced Graph Model By Dennis Luxen on January 31 2014 Smart Directions Powered by OSRM’s Enhanced Graph Model By  阅读全文

posted @ 2016-12-13 17:02 jobgeo 阅读(3700) 评论(0) 推荐(0)

OSRM代码调试DEBUG

摘要: 想调试osrm有三种方法: (1)构建osrm的debug工程,需要编译依赖的第三方库(boost,expat,lua,luabind,bzip,zlib,stxxl,tbb等类库),这种方法比较麻烦,暂不细述 (2)第二种方法比较简单,直接在release版本上添加debug信息即可,也可以另存r 阅读全文

posted @ 2016-12-13 16:35 jobgeo 阅读(842) 评论(0) 推荐(0)

导航