随笔分类 -  OpenGIS

摘要: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 阅读(362) 评论(0) 推荐(0)
摘要:GDAL提供了获取投影坐标系的C函数GDALGetProjectionRef以及对应的C++函数GetProjectionRef, 但在获取投影坐标系之前需要设置通过CPLSetConfigOption函数设置”GDAL_DATA”环境变量, 例如:CPLSetConfigOption(“GDAL_ 阅读全文
posted @ 2019-02-22 11:37 ParamousGIS 阅读(2931) 评论(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 阅读(596) 评论(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 阅读(293) 评论(0) 推荐(0)
摘要:Leaflet Quick Start Guide Example --> 阅读全文
posted @ 2018-08-25 22:42 ParamousGIS 阅读(2873) 评论(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 阅读(386) 评论(0) 推荐(0)
摘要:按以下公式转换: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 阅读(690) 评论(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 阅读(3601) 评论(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 阅读(415) 评论(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 阅读(327) 评论(0) 推荐(0)
摘要:GIS理论(墨卡托投影、地理坐标系、地面分辨率、地图比例尺、Bing Maps Tile System) 墨卡托投影(Mercator Projection),又名“等角正轴圆柱投影”,荷兰地图学家墨卡托(Mercator)在1569年拟定,假设地球被围在一个中空的圆柱里,其赤道与圆柱相接触,然后再假想地球中心有一盏灯,把球面上的图形投影到圆柱体上,再把圆柱体展开,这就是一幅标准纬线为零度(即赤... 阅读全文
posted @ 2018-08-25 08:29 ParamousGIS 阅读(1876) 评论(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 阅读(2217) 评论(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 阅读(322) 评论(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 阅读(184) 评论(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 阅读(319) 评论(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 阅读(4257) 评论(0) 推荐(0)
摘要:1.tilestache.cfg 2. TileStacheTest.py 3. tilestache-seed tilestache-seed.py -b -33.8294 -71.0362 -33.1445 -70.3331 -p 0 -e geojson -c tilestache.cfg - 阅读全文
posted @ 2016-12-27 00:01 ParamousGIS 阅读(427) 评论(0) 推荐(0)
摘要:1.加入YUM源 rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm 2.更新 sudo yum update 3.安装软件 yum install qgis qgis-python qgis-grass qgis-mapserver 阅读全文
posted @ 2016-12-25 20:33 ParamousGIS 阅读(1763) 评论(1) 推荐(0)
摘要:Mapbox Vector Tile Specification A specification for encoding tiled vector data. License The text of this specification is licensed under a Creative Commons Attribution 3.0 United States License. Howe... 阅读全文
posted @ 2016-12-18 21:12 ParamousGIS 阅读(809) 评论(0) 推荐(0)
摘要:simplestyle-spec A simple specification for styling GeoJSON data. Versions 1.1.0 Adds properties to permit styling of Polygon and LineString types. 1.0.0 Initial release: this defines only three keys ... 阅读全文
posted @ 2016-12-18 21:06 ParamousGIS 阅读(499) 评论(0) 推荐(0)