03 2019 档案

摘要: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 阅读(284) 评论(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 阅读(210) 评论(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 阅读(452) 评论(0) 推荐(0) 编辑
摘要:shp2pgsql -s 4326 /var/www/apps/map/data/ShaanXi/station.shp postgis.station | psql -d geodb -U username 阅读全文
posted @ 2019-03-21 23:22 ParamousGIS 编辑
摘要:update station set shape = ST_GeomFromText(CONCAT( 'POINT(', x, ' ', y, ')' )); CONCAT( 'POINT(', x, ' ', y, ')' ) select * from station 阅读全文
posted @ 2019-03-21 23:18 ParamousGIS 编辑
摘要:命令:find . -name ".git" | xargs rm –Rflinux $ find . -type d -iname '__pycache__' -exec rm -rf {} \; 阅读全文
posted @ 2019-03-18 21:48 ParamousGIS 阅读(174) 评论(0) 推荐(0) 编辑
摘要:用户名和邮箱地址的作用用户名和邮箱地址是本地git客户端的一个变量,不随git库而改变。每次commit都会用用户名和邮箱纪录。github的contributions统计就是按邮箱来统计的。修改密码git config --global credential.helper store (输入这个命令后,以后只要在输入一次用户名密码)查看用户名和邮箱地址:$ git config user.nam... 阅读全文
posted @ 2019-03-18 21:11 ParamousGIS 阅读(5586) 评论(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 阅读(3751) 评论(0) 推荐(0) 编辑
摘要:GDAL是一个操作各种栅格地理数据格式的库。包括读取、写入、转换、处理各种栅格数据格式(有些特定的格式对一些操作如写入等不支持)。它使用了一个单一的抽象数据模型就支持了大多数的栅格数据(GIS对栅格,矢量,3D数据模型的抽象能力实在令人叹服)。当然除了栅格操作,这个库还同时包括了操作矢量数据的另一个有名的库ogr(ogr这个库另外介绍),这样这个库就同时具备了操作栅格和矢量数据的能力,买一送一,这... 阅读全文
posted @ 2019-03-13 15:45 ParamousGIS 阅读(1124) 评论(0) 推荐(0) 编辑
摘要:Ubuntu 18 + Redis安装 1.安装命令: opengis@gisserver20:~sudoaptgetinstallredisserver2.tcpopengis@gisserver20:  sudo netstat -ap | grep 6379 3. 阅读全文
posted @ 2019-03-04 16:51 ParamousGIS 阅读(359) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示