上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: select * from footprints t where ST_intersects(t.geom,ST_GeomFromGeoJSON('{"type":"Polygon","crs": { "type": "name", "properties": { "name": "EPSG:4326" } },"co... 阅读全文
posted @ 2019-04-16 15:09 ParamousGIS 阅读(2874) 评论(0) 推荐(0) 编辑
摘要: 1. MSYS2 shell# pacman –Syuu2. Reopen MSYS2# pacman –Syuu3.添加国内源msys64\etc\pacman.d 目录下有三个文件1. mirrorlist.msysServer = http://mirrors.ustc.edu.cn/msys2/msys/$arch/2. mirrorlist.mingw64Server = http://... 阅读全文
posted @ 2019-04-12 22:30 ParamousGIS 阅读(942) 评论(0) 推荐(0) 编辑
摘要: 8. mongo-cxx-driverpacman -S mingw-w64-x86_64-cyrus-saslpacman -S mingw-w64-x86_64-extra-cmake-modulesexport OS_BUILD=64cd mongo-c-driver-1.14.0/mkdir cmake-buildcd cmake-buildcmake -G "MSYS Makefiles... 阅读全文
posted @ 2019-04-11 17:41 ParamousGIS 阅读(464) 评论(0) 推荐(0) 编辑
摘要: to_real("LGTD")+(randf(0.0,1.0)-0.5)*2/1000000.0getRandomValue()import numpydef getRandomValue(): return numpy.random.random() 阅读全文
posted @ 2019-04-03 15:30 ParamousGIS 阅读(2213) 评论(1) 推荐(0) 编辑
摘要: Ubuntu 1.安装pip sudo apt-get install python3-dev sudo apt install python3-pip 2.安装virtualenv工具 sudo apt-get install python-virtualenv 3.在工程目录下使用virtual 阅读全文
posted @ 2019-03-28 17:41 ParamousGIS 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 1.添加监听端口sudo vim /etc/apache2/ports.confListen 80Listen 6080 Listen 443 Listen 4432.添加虚拟主机配置sudo vim /etc/apache2/sites-available/gisas.conf #ServerName www.example.com S... 阅读全文
posted @ 2019-03-28 15:42 ParamousGIS 阅读(205) 评论(0) 推荐(0) 编辑
摘要: create extension "uuid-ossp" update base_region set region_id = uuid_generate_v4()update base_region set region_id = upper( replace(region_id,'-','')) 阅读全文
posted @ 2019-03-26 10:36 ParamousGIS 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 命令:find . -name ".git" | xargs rm –Rflinux $ find . -type d -iname '__pycache__' -exec rm -rf {} \; 阅读全文
posted @ 2019-03-18 21:48 ParamousGIS 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 用户名和邮箱地址的作用用户名和邮箱地址是本地git客户端的一个变量,不随git库而改变。每次commit都会用用户名和邮箱纪录。github的contributions统计就是按邮箱来统计的。修改密码git config --global credential.helper store (输入这个命令后,以后只要在输入一次用户名密码)查看用户名和邮箱地址:$ git config user.nam... 阅读全文
posted @ 2019-03-18 21:11 ParamousGIS 阅读(5533) 评论(0) 推荐(0) 编辑
摘要: 1、在终端里 apt-get安装的软件:安装软件sudo apt-get install softname1 softname2softname3……卸载软件 sudo apt-get remove softname1 softname2 softname3……卸载并清除配置sudo apt-get remove --purgesoftname1更新软件信息数据库 sudo apt-get u... 阅读全文
posted @ 2019-03-15 14:02 ParamousGIS 阅读(3604) 评论(0) 推荐(0) 编辑
摘要: GDAL是一个操作各种栅格地理数据格式的库。包括读取、写入、转换、处理各种栅格数据格式(有些特定的格式对一些操作如写入等不支持)。它使用了一个单一的抽象数据模型就支持了大多数的栅格数据(GIS对栅格,矢量,3D数据模型的抽象能力实在令人叹服)。当然除了栅格操作,这个库还同时包括了操作矢量数据的另一个有名的库ogr(ogr这个库另外介绍),这样这个库就同时具备了操作栅格和矢量数据的能力,买一送一,这... 阅读全文
posted @ 2019-03-13 15:45 ParamousGIS 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 18 + Redis安装 1.安装命令: opengis@gisserver20:~$ sudo apt-get install redis-server 2.查看tcp 连接 opengis@gisserver20:~$ sudo netstat -ap | grep 6379 3. 阅读全文
posted @ 2019-03-04 16:51 ParamousGIS 阅读(357) 评论(0) 推荐(0) 编辑
摘要: GDAL提供了获取投影坐标系的C函数GDALGetProjectionRef以及对应的C++函数GetProjectionRef, 但在获取投影坐标系之前需要设置通过CPLSetConfigOption函数设置”GDAL_DATA”环境变量, 例如:CPLSetConfigOption(“GDAL_ 阅读全文
posted @ 2019-02-22 11:37 ParamousGIS 阅读(2813) 评论(0) 推荐(0) 编辑
摘要: GDAL中的GDALDataType是一个枚举型,其中的值为: GDT_Unknown : 未知数据类型 GDT_Byte : 8bit正整型 (C++中对应unsigned char) GDT_UInt16 : 16bit正整型 (C++中对应 unsigned short) GDT_Int16 阅读全文
posted @ 2019-02-22 11:34 ParamousGIS 阅读(545) 评论(0) 推荐(0) 编辑
摘要: mount -t nfs 192.168.2.203:/data/lys /lys -o proto=tcp -o nolock /home/arcgisserver/spatialData 172.16.*.*(rw,sync,no_root_squash,no_subtree_check) mo 阅读全文
posted @ 2019-02-14 08:57 ParamousGIS 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: Java字符串占位符(commons-text)替换https://blog.csdn.net/varyall/article/details/83651798 org.apache.commons commons-text 1.6 @Testpublic void test4() { String param1 = String.format("hi,%... 阅读全文
posted @ 2019-02-10 18:18 ParamousGIS 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: https://xieye.iteye.com/blog/2433229 本文描述了git冲突的几种常见情况和解决方案,老鸟请直接忽略本文。假设冲突文件是 test/TestCase.php 下面分5种情况讨论。 1、本地不变。 然后远程别人有更新。 git pull 这种最简单,没有冲突,本地工作 阅读全文
posted @ 2019-02-10 18:10 ParamousGIS 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Git 分支管理和冲突解决https://www.cnblogs.com/mengdd/p/3585038.html创建分支 git branch 没有参数,显示本地版本库中所有的本地分支名称。 当前检出分支的前面会有星号。 git branch newname 在当前检出分支上新建分支,名叫newname。 git checkout newname 检出分支,即切换到名叫newname的... 阅读全文
posted @ 2019-02-10 18:01 ParamousGIS 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Git冲突与解决方法https://www.cnblogs.com/gavincoder/p/9071959.htmlhttps://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001375840202368c74be33fbd884e71b570f2cc3c0d1dcf0001、git冲突... 阅读全文
posted @ 2019-02-10 17:54 ParamousGIS 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 1.环境变量GIT_HOME D:\GreenSoftware\PortableGit Path %GIT_HOME%\cmd; 2.初始化git config --global user.name "zyx"git config --global user.email zyx@126.com 3. 阅读全文
posted @ 2019-02-10 17:41 ParamousGIS 阅读(184) 评论(0) 推荐(0) 编辑
摘要: git merge git pull时候遇到冲突解决办法git stashhttps://www.cnblogs.com/juandx/p/5362723.html在使用git pull代码时,经常会碰到有冲突的情况,提示如下信息:error: Your local changes to 'c/environ.c' would be overwritten by merge. Aborting.... 阅读全文
posted @ 2019-02-10 17:35 ParamousGIS 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: [root@server20 ~]# yum install cmake cmake-gui [root@server20 ~]# yum install cairo-devel libcurl-devel [root@server20 ~]# yum localinstall http://mir 阅读全文
posted @ 2019-02-04 02:48 ParamousGIS 阅读(284) 评论(0) 推荐(0) 编辑
摘要: CentOS7系列--安装Chrome浏览器1. 创建yum源文件[root@server20 ~]# cd /etc/yum.repos.d/[root@server20 yum.repos.d]# vi google-chrome.repo输入如下内容:[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chr... 阅读全文
posted @ 2019-02-03 17:35 ParamousGIS 阅读(369) 评论(0) 推荐(0) 编辑
摘要: ArcGIS Arcadehttp://127.0.0.1/Resource/JavaScript/arcgis_js_api/sdk/4.10/latest/guide/arcade/index.htmlhttps://developers.arcgis.com/arcade/function-reference/logical_functions/#whenConstantsThe follo... 阅读全文
posted @ 2019-01-26 02:49 ParamousGIS 阅读(1438) 评论(0) 推荐(0) 编辑
摘要: 1.打印头信息@RequestMapping(value = "/upload", method = RequestMethod.POST)@ResponseBodypublic List upload(@RequestParam(name = "files", required = true) MultipartFile[] multipartFiles, @RequestHead... 阅读全文
posted @ 2018-12-31 22:41 ParamousGIS 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1. WIN2008R2 80端口被system占用解决办法修改注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP右侧的start参数值为0,然后重启2.Adapter对应的JDK与Tomcat版本要求http://enterprise.arcgis.com/zh-cn/system-requirements/10.4/wind... 阅读全文
posted @ 2018-12-28 22:18 ParamousGIS 阅读(376) 评论(0) 推荐(0) 编辑
摘要: Tomcat 8默认工具manager管理页面访问配置 1. 分配相关的角色权限 需要配置的配置文件是${catalina.home}/conf/tomcat-users.xml先给Tomcat访问相关的功能分配角色和配置登录验证用户密码: <role rolename="manager-gui"/ 阅读全文
posted @ 2018-12-13 08:55 ParamousGIS 阅读(1438) 评论(0) 推荐(1) 编辑
摘要: 1.http://192.168.1.220:6080/arcgis/admin/login?redirect=Request URL: http://192.168.1.220:6080/arcgis/admin/login?redirect=Request Method: POSTStatus Code: 302 FoundRemote Address: 192.168.1.220:6080R... 阅读全文
posted @ 2018-12-08 12:20 ParamousGIS 阅读(676) 评论(0) 推荐(0) 编辑
摘要: ArcGIS for Server 的修改IP问题 1. [arcgisserver@centos6 ~]$ vi /home/arcgisserver/serverconfig/config-store/machines/CENTOS6.json {"machineName":"CENTOS6","platform":"Linux-amd64-2.6.32-642.el6.x8... 阅读全文
posted @ 2018-12-02 19:52 ParamousGIS 阅读(1447) 评论(0) 推荐(0) 编辑
摘要: 使用光盘作为yum软件安装源安装X Window 挂载光驱 [root@centos6 ~]# mkdir /media/cdrom [root@centos6 ~]# mount /dev/cdrom /media/cdrom/ 修改/etc/yum.repos.d/目录下文件 [root@centos6 yum.repos.d]# vi CentOS-Media.repo ... 阅读全文
posted @ 2018-11-30 16:57 ParamousGIS 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 矢量动态图层 Test Map 添加到... 阅读全文
posted @ 2018-11-27 17:48 ParamousGIS 阅读(526) 评论(0) 推荐(0) 编辑
摘要: [arcgisserver@gisserver3 usr]$ vi /arcgis/server/usr/init_user_param.sh 阅读全文
posted @ 2018-11-27 09:10 ParamousGIS 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 1. WIN2008R2 80端口被system占用解决办法 修改注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP右侧的start参数值为0,然后重启 2.Adapter对应的JDK与Tomcat版本要求 http://ente 阅读全文
posted @ 2018-11-24 23:24 ParamousGIS 阅读(230) 评论(0) 推荐(0) 编辑
摘要: import sys import json import pymongo import datetime from pymongo import MongoClient client = MongoClient('mongodb://192.168.1.31:20000,192.168.1.34:20000') db = client.RHY collection = db.ST_RIVER... 阅读全文
posted @ 2018-10-19 23:41 ParamousGIS 阅读(807) 评论(0) 推荐(0) 编辑
摘要: /usr/local/tomcat/conf/Catalina/localhost/resource.xml <?xml version='1.0' encoding='utf-8' ?><Context path="/resource" docBase="/data/gis/resource" r 阅读全文
posted @ 2018-10-19 11:01 ParamousGIS 阅读(331) 评论(0) 推荐(0) 编辑
摘要: from osgeo import ogrimport jsonfrom geojson import loads, dumps, Feature, FeatureCollectionfrom shapely.geometry import shape, Point, LineString'''shp_driver = ogr.GetDriverByName('ESRI Shapefile')sh... 阅读全文
posted @ 2018-09-22 19:04 ParamousGIS 阅读(305) 评论(0) 推荐(0) 编辑
摘要: import sqlite3, sys, logging, time, os, json, zlib, re'''MapDBImporter-latest -f png -mName "World Light" -mDescription "A simple, light grey world map" -s "F:\google\map\zoom" -d "F:\google\map\mbtil... 阅读全文
posted @ 2018-09-22 19:02 ParamousGIS 阅读(192) 评论(0) 推荐(0) 编辑
摘要: http-server --cors -p 9999 http-server --cors -p 9999 -c-1 Available Options: -p Port to use (defaults to 8080) -a Address to use (defaults to 0.0.0.0 阅读全文
posted @ 2018-09-15 19:46 ParamousGIS 阅读(2945) 评论(0) 推荐(0) 编辑
摘要: Leaflet Quick Start Guide Example --> 阅读全文
posted @ 2018-08-25 22:42 ParamousGIS 阅读(2796) 评论(0) 推荐(0) 编辑
摘要: https://github.com/jingsam/vector-tile-spec/blob/master/2.1/README_zh.mdhttps://github.com/mapbox/vector-tile-spec/tree/master/2.1https://github.com/mapbox/awesome-vector-tiles 阅读全文
posted @ 2018-08-25 22:20 ParamousGIS 阅读(374) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页