上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 按以下公式转换:ParameterInteger = (value > 31)参数值不支持大于pow(2,31) - 1或-1 * (pow(2,31) - 1)的数值。以下的公式用来将ParameterInteger解码为实际值:value = ((ParameterInteger >> 1) ^ (-(ParameterInteger & 1)))将整数hash成递增的32位bit流,其has... 阅读全文
posted @ 2018-08-25 21:21 ParamousGIS 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 安装docker1. 查看系统版本cat /etc/redhat-release 2. 安装dockeryum install docker3.检查安装是否成功docker version若输出了 Docker 的版本号,说明安装成功了,可通过以下命令启动 Docker 服务:4. 启动Docker服务service docker start一旦 Docker 服务启动完毕,就可以开始使用 Doc... 阅读全文
posted @ 2018-08-25 21:03 ParamousGIS 阅读(260) 评论(0) 推荐(0) 编辑
摘要: CentOS7安装NodeJS6.91.下载wget https://nodejs.org/dist/v6.9.2/node-v6.9.2-linux-x64.tar.xz2.解压tar -xJf node-v6.9.2-linux-x64.tar.xz3. 移到通用的软件安装目录 /opt/mv node-v6.9.2-linux-x64 /opt/4. 在系统命令中建立npm 和 node 命... 阅读全文
posted @ 2018-08-25 21:01 ParamousGIS 阅读(177) 评论(0) 推荐(0) 编辑
摘要: CentOS7上Python3.5安装1.下载https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz2.上传到服务器3.yum install gcc openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel4. 解压tar xf Python-... 阅读全文
posted @ 2018-08-25 20:58 ParamousGIS 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 由于JDK8的doc生成机制比之前的要严谨许多,导致项目用maven打包的时候出错 解决办法: 添加-Xdoclint:none配置 完整配置如下: 有时候我们注释不规范导致注释内容丢失,所以规范的注释是有必要的。可以随便打开一个官方类查看标准注释,比如说Map,规范自己的注释。 阅读全文
posted @ 2018-08-25 20:51 ParamousGIS 阅读(5396) 评论(0) 推荐(0) 编辑
摘要: 1.下载https://nodejs.org/en/download/2.解压tar -xJf node-v6.9.2-linux-x64.tar.xz3. 移到通用的软件安装目录 /opt/sudo mv node-v6.9.2-linux-x64 /opt/4. 在系统命令中建立npm 和 node 命令的软连接sudo ln -s /opt/node-v6.9.2-linux-x64/bin... 阅读全文
posted @ 2018-08-25 20:46 ParamousGIS 阅读(555) 评论(0) 推荐(0) 编辑
摘要: PostGIS安装1.软件下载postgresql-9.6.1-1-windows-x64-binaries.ziphttps://www.postgresql.org/download/windows/postgis-bundle-pg96-2.3.1x64.ziphttp://download.osgeo.org/postgis/windows/pg96/2. 将postgresql.zip解... 阅读全文
posted @ 2018-08-25 20:44 ParamousGIS 阅读(3429) 评论(0) 推荐(0) 编辑
摘要: Kubernetes+Docker的云平台在CentOS7系统上的安装1.运行VirtualBox5。2.安装CentOS7系统。注意:选择Basic Server类型安装过程略。3.修改计算机IP和计算机名。1)nmtui1.修改主机名:nmcli general hostname slave1.smartmap.com2.修改网络连接nmcli connection edit enp0s3nm... 阅读全文
posted @ 2018-08-25 20:35 ParamousGIS 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 1. 安装pip。我们同样需要在Python的官网上去下载,下载地址是:https://pypi.python.org/pypi/pip#downloads2. 解压。解压pip-9.0.1.tar.gz3. 安装。用cmd控制台进入解压目录,输入:python setup.py install4. 验证。pip –V5.安装tilestachepip install tilestache -i ... 阅读全文
posted @ 2018-08-25 20:31 ParamousGIS 阅读(339) 评论(0) 推荐(0) 编辑
摘要: PYTHONPATH C:\Python27\mapnik-v2.2.0\python\2.7\site-packages C:\Python27\ArcGIS10.4;C:\Python27\ArcGIS10.4\Scripts;C:\Python27\mapnik-v2.2.0\lib;C:\P 阅读全文
posted @ 2018-08-25 08:33 ParamousGIS 阅读(318) 评论(0) 推荐(0) 编辑
摘要: GIS理论(墨卡托投影、地理坐标系、地面分辨率、地图比例尺、Bing Maps Tile System) 墨卡托投影(Mercator Projection),又名“等角正轴圆柱投影”,荷兰地图学家墨卡托(Mercator)在1569年拟定,假设地球被围在一个中空的圆柱里,其赤道与圆柱相接触,然后再假想地球中心有一盏灯,把球面上的图形投影到圆柱体上,再把圆柱体展开,这就是一幅标准纬线为零度(即赤... 阅读全文
posted @ 2018-08-25 08:29 ParamousGIS 阅读(1498) 评论(0) 推荐(0) 编辑
摘要: 测绘部门对DLG数据都是通过比例尺来区分数据的精度。通常把1:500、1:1000、1:2000和l:5000比例尺地形图称为大比例尺地形图。1:1万、1:2.5万、1:5万、1:10万的图称为中比例尺图。1:20万、1:50万、1:100万的图称作为小比例尺图。在工程建设中常要用到是大比例尺地形图;在城市、乡镇建设的规划中一般使用中比例尺的地形图;在较大范围内的宏观评估和研究采用小比例尺的地形图... 阅读全文
posted @ 2018-08-25 08:27 ParamousGIS 阅读(1872) 评论(0) 推荐(0) 编辑
摘要: 北京54全国80及WGS84坐标系的相互转换 这三个坐标系统是当前国内较为常用的,它们均采用不同的椭球基准。其中北京54坐标系,属三心坐标系,大地原点在苏联的普而科沃,长轴6378245m,短轴6356863,扁率1/298.3;西安80坐标系,属三心坐标系;国家80坐标系,大地原点在陕西省径阳县永乐镇,长轴6378140m,短轴6356755,扁率1/298.25722101;WGS84坐标系为... 阅读全文
posted @ 2018-08-25 08:20 ParamousGIS 阅读(1580) 评论(0) 推荐(0) 编辑
摘要: public static void XYtoGL(Coordinate coordinate){double R = 6378137;coordinate.x = coordinate.x / Math.PI * 180.0 / R;coordinate.y = ((Math.atan(Math.exp(coordinate.y / R)) - Math.PI/4) / Math.PI * 18... 阅读全文
posted @ 2018-08-25 08:17 ParamousGIS 阅读(315) 评论(0) 推荐(0) 编辑
摘要: pip install tilestache -i https://mirrors.ustc.edu.cn/pypi/web/simplepython C:/Python27/ArcGIS10.4/Scripts/mb-util.py open-streets-dc.mbtiles openstreetsdc TileStache.Goodies.Providers.MapnikGrid:Pro... 阅读全文
posted @ 2018-08-25 08:12 ParamousGIS 阅读(174) 评论(0) 推荐(0) 编辑
摘要: VBoxManage list vmsVBoxManage startvm dcsvr08 -type vrdpVBoxHeadless -startvm "dcsvr08"VBoxManage startvm "XP" --type headlessVBoxManage list runningvmsVBoxHeadless -s winxp --vnc --vncport 5900 --vnc... 阅读全文
posted @ 2018-08-25 08:04 ParamousGIS 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 基于五点三次平滑算法的入库流量反推研究 抹角平滑Bézier interpolation without any parameters 阅读全文
posted @ 2018-08-25 08:02 ParamousGIS 阅读(2244) 评论(0) 推荐(0) 编辑
摘要: >>> import os>>> homedir = os.getcwd()>>> os.chdir("d:\\") 阅读全文
posted @ 2018-08-25 08:01 ParamousGIS 阅读(159) 评论(0) 推荐(0) 编辑
摘要: libgen.ioonlybooks.orgwww.ebook3000.comwww.foxebook.net 阅读全文
posted @ 2018-08-25 08:00 ParamousGIS 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1.显示系统已经安装的组件,和可以安装的组件:#yum grouplist2.如果系统安装之初采用最小化安装,没有安装xwindow,那么先安装:#yum groupinstall "X Window System"3.安装GNOME桌面环境 #yum groupinstall "GNOME Desktop" 4.启动桌面#startx 1.查看IP# ip addr2.查看路由#... 阅读全文
posted @ 2018-08-25 07:54 ParamousGIS 阅读(526) 评论(0) 推荐(0) 编辑
摘要: npm install -g cnpm --registry=https://registry.npm.taobao.org 阅读全文
posted @ 2018-08-25 07:52 ParamousGIS 阅读(226) 评论(0) 推荐(0) 编辑
摘要: def MaxZ(shape): line = shape.getPart(0) pnt = line.next() maxValue = float("-inf") while pnt: if maxValue pnt.Z: minValue = pnt.Z pnt = line.next() ... 阅读全文
posted @ 2018-08-25 07:39 ParamousGIS 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 种类 24小时降水量 12小时降水量 小雨 小于10 小于5 中雨 10-25 5-15 大雨 25-50 15-30 暴雨 50-100 30-70 大暴雨 100-250 70-140 特大暴雨 250以上 ... 阅读全文
posted @ 2018-08-25 07:36 ParamousGIS 阅读(823) 评论(0) 推荐(0) 编辑
摘要: > library(sp)> library(maptools)> library(raster)> library(rgeos)> maxd3 = readAsciiGrid("max.d3.txt") # 加载数据> rasterlayer.maxd3 = raster(maxd3) # 转化为Raster> maxd1 = readAsciiGrid("max.d1.txt"... 阅读全文
posted @ 2018-08-24 19:06 ParamousGIS 阅读(805) 评论(0) 推荐(0) 编辑
摘要: ↑↓←↑→↓↖↗↘↙√─ - 阅读全文
posted @ 2018-08-24 19:01 ParamousGIS 阅读(532) 评论(0) 推荐(0) 编辑
摘要: ls -la | awk '{printf ("%8s %8s %8s %8s %8s %8s %8s %8s %8s\n",$1,$2,$3,$4,$5,$6,$7,$8,substr($9,0,4))}' 阅读全文
posted @ 2018-08-24 18:59 ParamousGIS 阅读(111) 评论(0) 推荐(0) 编辑
摘要: mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0 -Dpackaging=jar -Dfile=ojdbc14.jar 阅读全文
posted @ 2018-08-24 18:58 ParamousGIS 阅读(91) 评论(0) 推荐(0) 编辑
摘要: MBTIles实现3.1 Compliant(符合)python: raster2mb (write)python: mbutil (read/write)python: landez (write) (uses mbutil)python: TileStache (code) (read/write) - a full, high-quality tile serverArc2Earth (wr... 阅读全文
posted @ 2018-08-24 18:56 ParamousGIS 阅读(283) 评论(0) 推荐(0) 编辑
摘要: import sysimport jsonimport pymongoimport datetimefrom pymongo import MongoClientclient = MongoClient('mongodb://192.168.1.31:20000,192.168.1.34:20000')db = client.RHYcollection = db.ST_RIVER_Rf = ope... 阅读全文
posted @ 2018-07-09 23:43 ParamousGIS 阅读(254) 评论(0) 推荐(0) 编辑
摘要: PostGIS安装 1.软件下载 postgresql-9.6.1-1-windows-x64-binaries.zip https://www.postgresql.org/download/windows/ postgis-bundle-pg96-2.3.1x64.zip http://down 阅读全文
posted @ 2018-07-09 23:10 ParamousGIS 阅读(4206) 评论(0) 推荐(0) 编辑
摘要: 按下Win+R键,输入gpedit.msc,打开组策略窗口 阅读全文
posted @ 2018-07-08 01:47 ParamousGIS 阅读(211) 评论(0) 推荐(0) 编辑
摘要: JAVA_HOME D:\GreenSoftware\Java\Java8X64\jdk1.8.0_91CLASSPATH .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jarMAVEN_HOME D:\GreenSoftware\apache-maven-3.3.9SCALA_HOME D:\GreenSoftware\Java\... 阅读全文
posted @ 2018-07-07 20:58 ParamousGIS 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 第一题作答:1. 数据结构如下1)用一个循环链表来存贮终端(Agents)向服务提交的发送通知请求,其数据结构如下public class RoundLinkedListNode { private string id; private int notificationTotal; private List notificationList; pr... 阅读全文
posted @ 2018-07-05 23:02 ParamousGIS 阅读(232) 评论(0) 推荐(0) 编辑
摘要: SPARK_MASTER_HOST=sparkmaster.smartmap.comSPARK_MASTER_PORT=7077SPARK_WORKER_CORES=1SPARK_WORKER_MEMORY=1024MSPARK_MASTER_WEBUI_PORT=8080SPARK_CONF_DIR=/app/spark/spark-2.3.0-bin-hadoop2.7/conf JAVA_... 阅读全文
posted @ 2018-07-05 22:58 ParamousGIS 阅读(166) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env bashfor year in /root/Downloads/data/all/*doecho -ne `basename $year .gz`"\t"gunzip -c $year | \awk '{ temp = substr($0, 88, 5) + 0; q = substr($0, 93, 1); if (temp != 9999 &&... 阅读全文
posted @ 2018-07-05 22:31 ParamousGIS 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1.安装IE112。域名需要在C:\Windows\System32\drivers\etc\host文件中添加127.0.0.1 机器名.域名win2008.smartmap.com192.168.1.1803.DNS查询域名3.tomcat8的配置cd C:\Program Files\Apache Software Foundation\Tomcat 8.5mkdir keystorecd... 阅读全文
posted @ 2018-06-16 20:45 ParamousGIS 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 1. 参考说明参考文档: https://hbase.apache.org/book.html 2. 安装环境说明2.1. 环境说明 CentOS7.4+ Hadoop2.7.5的伪分布式环境 主机名 NameNode SecondaryNameNode DataNodes centoshadoop.smartmap.com 192.168.1.8... 阅读全文
posted @ 2018-05-24 17:51 ParamousGIS 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 1. 参考说明参考文档: http://sqoop.apache.org/ http://sqoop.apache.org/docs/1.99.7/admin/Installation.html 2. 安装环境说明2.1. 环境说明 CentOS7.4+ Hadoop2.7.5的伪分布式环境 主机名 NameNode SecondaryNameNode Dat... 阅读全文
posted @ 2018-05-24 09:18 ParamousGIS 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1. 参考说明参考文档: https://cwiki.apache.org/confluence/display/Hive/GettingStarted 2. 安装环境说明2.1. 环境说明 CentOS7.4+ Hadoop2.7.5的伪分布式环境 主机名 NameNode SecondaryNameNode DataNodes centosh... 阅读全文
posted @ 2018-05-23 01:11 ParamousGIS 阅读(2222) 评论(0) 推荐(0) 编辑
摘要: 1. 参考说明参考文档: http://pig.apache.org/docs/r0.17.0/start.html#build 2. 安装环境说明2.1. 环境说明 CentOS7.4+ Hadoop2.7.5的伪分布式环境 主机名 NameNode SecondaryNameNode DataNodes centoshadoop.smartmap... 阅读全文
posted @ 2018-05-21 00:37 ParamousGIS 阅读(717) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页