- 博客(41)
- 资源 (10)
- 收藏
- 关注
原创 [Build Error] Your project does not reference “.NETFramework,Version=v4.7.1“ framework.
Severity Code Description Project File Line Suppression StateError Your project does not reference ".NETFramework,Version=v4.7.1" framework. Add a reference to ".NETFramework,Version=v4.7.1" in the "TargetFrameworks" property of y...
2021-02-04 11:34:03
2606
原创 异或运算
#include <bits/stdc++.h>int operator_xor(int a, int b, int c) { std::vector<int> flags; flags.push_back(a); flags.push_back(b); flags.push_back(c); int acc = std::accumulate (flags.begin(), flags.end(), 0, std::bit_xor<int>());...
2020-11-14 07:59:48
467
原创 ArcGIS Runtime for Android 1
Environment:1.Java1.8.0_2412.AndroidStudio4.03.Gradle6.4.1AndroidStudio>CreateNewProject>PhoneandTablet-EmptyActivityEdit:Mapfinder\build.gradle// Top-level build file where you can add configuration options common...
2020-09-03 11:07:30
283
转载 Apple Model Identifier
Apple Device Model Identifier iPad Wi-Fi (Original/1st Gen) iPad1,1 iPad Wi-Fi/3G/GPS (Original/1st Gen) iPad1,1 iPad 2 (Wi-Fi Only) iPad2,1 iPad 2 (Wi-Fi/GSM/GPS) iPad2,2 iPad 2 (Wi-Fi/CDMA/GPS) iPad2,3 iPad 2 (Wi-Fi Only, iP
2020-08-05 09:24:11
879
原创 networkX 加载 shapefile
System Requirementspython 3.8 networkx -pip install networkx matplotlib -pip install matplotlib GDAL -pip install C:\Software\GDAL-3.0.4-cp38-cp38-win_amd64.whl street-network shapefile -Streets.shpimport networkx as nx # pip install networkx...
2020-05-29 15:58:54
2461
2
原创 Makdown 体验一 一个公式
$$\begin{aligned}\lim\limits_{n\to\infty}\int_{-\pi}^{\pi}\frac{n!\cdot2^{2ncos\phi}}{\Bigg|\displaystyle\prod_{k=1}^n(2ne^{i\phi}-\kappa)\Bigg|}d\phi=2\pi\end{aligned}$$疑问(下蛋公鸡)?这是什么公式?有什么含义?=> 数学公式搜索引擎: https://approach0...
2020-05-22 20:48:06
881
原创 C++ 基本运算
距离第一次认识C++,已经过去了14年有余。重温之。#include <stdio.h>void basicNumberTypes(){ int n1 = 1378; short n2; char c = 'a'; double d1 = 7.809; double d2; n2 = c; // n2 = 'a' printf("c = %c, n2 = %d\n", c, n2); // c = a, n2 = 97.
2020-05-21 20:04:11
516
原创 C++ 数组操作
一维数组长度: end(arr) - begin(arr)double arr[12] = {100.00,489.12,12454.12,1234.10,823.05,109.20,5.27,1542.25,839.18,83.99,1295.01,1.75};int arrLength = end(arr) - begin(arr);#TODO:数组排序数组反转数组维度
2020-05-20 21:18:45
441
原创 C++ float转string 不含小数末尾多余的0
使用 ostringstream#include <iostream>#include <iomanip>using namespace std;int main(){ float s = 6.7592; cout << to_string(s) << endl; // 6.759200 double k = 6.7592; cout << to_string(k) << endl;
2020-05-20 11:48:56
3169
原创 C++ 基本数据类型 int, double
证明:int占4个字节,double占8个字节。#include <stdio.h>#include <iostream>using namespace std;int main(){ int i[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; double d[10] = {1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2}; printf("size of i[0]
2020-05-15 22:00:29
1565
原创 [摘录]VRP - MaxOrderCount Limt of 1,000
VRP - MaxOrderCount Limt of 1,000?Conclusion:The VRP REST API runs off of the ArcGIS Online VRP service which is where the 200 max order count that you are seeing is imposed.The 1000 max order count that was being referenced above is for using...
2020-05-14 13:23:06
295
原创 windows 10 屏蔽网站
1. 管理员模式,修改 hosts 文件,添加网址hosts文件地址:C:\Windows\System32\drivers\etc\hostse.g. 0.0.0.0 http://www.bzfxw.com/
2020-05-07 21:44:30
664
原创 XCode 默认发送 http 请求失败
privateletissLocationAPIURL=URL(string:"http://api.open-notify.org/iss-now.json")!letlocationRequest=AGSRequestOperation(url:issLocationAPIURL)Error:App Transport Security has blocke...
2020-04-28 15:26:25
344
原创 VSCode + python 环境搭建
目标:使用VSCode开发python准备工作:1.VSCode - https://code.visualstudio.com/2.Python (python-3.8.2-amd64.exe) - https://www.python.org/实现步骤1.安装VSCode2.安装Python3.安装VSCode Extenstion - Python · ms...
2020-04-23 14:22:36
1142
原创 第一次XCode使用体验
修复各种Swift语法错误:环境: ArcGIS Runtime for iOS 100.5.0Fix- Cannot assign to value: 'bufferDistance' is a 'let' constant- Cannot assign value of type 'Int' to type 'AnyObject?'- Cannot assign value of...
2020-04-17 08:58:55
1844
原创 Hello World, TensorFlow 2
注:由http://www.tensorfly.cn/tfdoc/get_started/introduction.html示例改写,支持TensorFlow 2#python 3.8.2#TensorFlow 2import tensorflow as tfimport numpy as nptf.compat.v1.disable_eager_execution()...
2020-03-29 15:45:42
321
原创 GIS 相关链接
指定经纬度,计算距离,角度.http://www.movable-type.co.uk/scripts/latlong.html
2020-03-16 09:46:54
183
原创 GraphicsLayer & FeatureLayer (V4.14)
dojo.js:229 [esri.layers.graphics.sources.MemorySource] Source modifications will not propagate after layer has been loaded. Please use .applyEdits() instead将GraphicsLayer转换为FeatureLayer后遇到问题:1...
2020-03-02 09:35:29
714
原创 [Work][SQLServer]There is no OK button when restore database (*.bak)
在笔记本上恢复数据库文件,一开始遇到找不到ok按钮。Databases > Restore Databases... >解决方案:将任务栏拖到右侧 或者 自动隐藏任务栏。...
2020-02-10 11:19:19
293
原创 ArcMap Toolbox - Delete Field / Append Logs
Executing: Append Streets_Tom Streets TEST # #Start Time: Tue Nov 26 09:42:35 2019Succeeded at Tue Nov 26 11:22:39 2019 (Elapsed Time: 1 hours 40 minutes 4 seconds)(Record Count: 47469391)Execut...
2019-11-29 08:35:17
221
原创 ArcGIS Build Network Log
记一次 Build Network过程:总耗时约8小时Building Network: 0.0 seconds (0.0 total) - 0 MB memory [7:00:31 AM]Extract Geometry and Attribute Values: 0.0 seconds (0.0 total) - 1924 MB memory [7:00:31 AM]...
2019-09-07 21:39:54
277
原创 windwos 10 安装pymssql
下载 pymssql-2.1.4-cp27-cp27m-win_amd64 拷贝文件至C:\Python27\ArcGISx6410.6\pymssql-2.1.4-cp27-cp27m-win_amd64.whl 打开 Windows Command Prompt (Run As Administrator) cd C:\Python27\ArcGISx6410.6 C:\Python...
2019-09-07 09:07:37
416
原创 ArcObjects Performance Notebook
1. Get Count// SlowIQueryFilter queryFilter = new QueryFilter();queryFilter.WhereClause = "1=1";featureClass.FeatureCount(queryFilter);// FastfeatureClass.FeatureCount(null);2. Search Curso...
2019-08-25 09:15:49
221
原创 ArcGIS Toolbox - Delete Identical
Part A----------------------------------------------------------------------------------------------------------------------Executing: GetCount ND_Junctions_CA_StartStart Time: Thu Aug 22 20:04:...
2019-08-23 09:28:22
1694
转载 Compare SQL Server table schema
SELECT DEV.name as DEV_ColumnName,PROD.name as PROD_ColumnName,DEV.is_nullable as DEV_is_nullable,PROD.is_nullable as PROD_is_nullable,DEV.system_type_name as DEV_Datatype,PROD.system_type_n...
2019-06-05 09:05:06
302
1
原创 ArcGIS安装
1. Desktop 10.6.1安装:C:\ArcGIS 10.6.1\Desktop>setup.exe /qb默认路径:C:\Program Files (x86)\ArcGIS\Desktop10.6卸载:C:\ArcGIS 10.6.1\Desktop>msiexec.exe /x {FA2E2CBC-0697-4C71-913E-8C65B5A611E8} /q...
2019-05-05 22:01:19
283
原创 JavaScript performance reference
JavaScript Performance TipsWhat is Waiting (TTFB) in DevTools, and what to do about itHow To Reduce TTFB11 Tips to Optimize JavaScript And Improve Website Loading and Rendering Speeds24 JavaSc...
2019-04-16 15:30:35
262
原创 [更新中]文献索引
20102010-01[1]多个粗差定位的抗掩盖型Bayes方法.pdf[6]模糊神经网络在变形分析与预报中的应用研究.pdf[9]GPS_GLONASS组合精密单点定位研究.pdf[13]基于星间距离变化的动态双向时间同步算法.pdf[17]QZSS对GPS区域性能增强分析.pdf[21]GPS模糊度降相关LLL算法的一种改进.pdf[25]2008年汶川地震前的形变异常及机理解...
2018-12-03 20:24:07
9385
1
原创 Python遍历文件夹
## python 3.7.0import osdef printFiles(rootDir): for root, dirs, files in os.walk(rootDir): for file in files: print(os.path.join(root, file))printFiles(r'M:\@机械工业出版社')M:\@机械工业出版社...
2018-08-17 08:04:37
306
转载 计算机科学丛书(2014-2018.Q1)
ISBN 名称 作者 出版时间 978-7-111-53451-8 数学设计和计算机体系结构(原书第2版) (美) 戴维·莫尼·哈里斯, 莎拉 L. 哈里斯著 978-7-111-44075-8 嵌入式计算系统设计原理 (美) Marilyn Wolf著 1/1/2014 978-7-111-42604-2 计算机网络 ...
2018-08-03 14:45:56
9256
1
原创 Visual Studio 2017 查看所有的Breakpoints
Debug > Windows > Breakpoints (Ctrl + D, B)
2018-08-03 09:33:28
718
转载 Vector Tiles
Prerequisites for creating a vector tile serviceYou need to install and configure the following ArcGIS components to share a vector tile service:ArcGIS Server (10.4 and later)Portal for ArcGIS
2017-11-23 11:33:08
399
原创 Matlab 体验
http://octave-online.net/[X,Y] = meshgrid(-2:.2:2, -2:.2:2);Z = X .* exp(-X.^2 - Y.^2);mesh(X,Y,Z)[X,Y] = meshgrid(-5:.5:5, -5:.5:5);Z1 = X.^2 + Y.^2 -1;mesh(X,Y,Z1);f=@(X,Y)
2017-04-16 20:03:56
327
原创 Matlab Online 体验
http://octave-online.net/[X,Y] = meshgrid(-5:.5:5, -5:.5:5);Z1 = X.^2 + Y.^2 -1;mesh(X,Y,Z1);f=@(X,Y) X + Y + 1;[X Y] = meshgrid(-5:.5:5, -5:.5:5);Z2 = f(X, Y)mesh(X, Y,
2017-04-16 19:59:03
4821
原创 [CSS]The space in the html.
Require: Two spaces after each period.Source:Routefinder Plus and Infofinder le can be used together to manage Field Trip requests. Enter the Infofinder le URL to connect these systems.Updat
2016-09-12 10:13:31
303
原创 Tickets
1. [Javascript] 计算当前时间对应的EPOCH time in millisecondsvar epochTime = function() { var today = new Date(); return today.getTime();}
2016-09-09 08:32:28
440
原创 ArcMap Field Calculator - Date
计算两个时间之间相差的分钟数OriginalArrivalTime - DateDestArrivalTime - DateAMTime - LongAMTime = DateDiff ("n", [OriginalArrivalTime], [DestArrivalTime])
2016-09-06 15:43:43
586
TF 2.0 Symbols Map.xlsx
2020-03-29
2019考研数学接力题典1800 数学一 解答册 汤家凤.zip.002
2018-11-25
算法基础.打开算法之门(全).pdf
2018-08-22
C++精髓:软件工程方法
2018-08-18
算法基础.打开算法之门2
2018-08-17
算法基础.打开算法之门
2018-08-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人