随笔分类 -  Python--GIS

摘要:参考:https://www.cnblogs.com/luo30zhao/p/10515594.htmlhttps://blog.csdn.net/skiof007/article/details/78678490pip3 install cryptography>>> from cryptography.hazmat.backends import default_backend>>> from... 阅读全文
posted @ 2019-08-21 17:22 ParamousGIS 阅读(669) 评论(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) 编辑
摘要: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 阅读(308) 评论(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 阅读(199) 评论(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 阅读(3533) 评论(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 阅读(370) 评论(0) 推荐(0) 编辑
摘要:1.软件下载 postgresql-9.6.1-1-windows-x64-binaries.zip https://www.postgresql.org/download/windows/ postgis-bundle-pg96-2.3.1x64.zip http://download.osgeo 阅读全文
posted @ 2016-12-11 23:41 ParamousGIS 阅读(4048) 评论(0) 推荐(0) 编辑
摘要:1.下载 https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz 2.上传到服务器 3. 安装相关依赖 yum install gcc openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel 4. 解压 tar xf Python... 阅读全文
posted @ 2016-12-11 01:44 ParamousGIS 阅读(1052) 评论(0) 推荐(0) 编辑
摘要:GDAL原生支持超过100种栅格数据类型,涵盖所有主流GIS与RS数据格式,包括• ArcInfo grids, ArcSDE raster, Imagine, Idrisi, ENVI, GRASS, GeoTIFF • HDF4, HDF5• USGS DOQ, USGS DEM • ECW, MrSID • TIFF, JPEG, JPEG2000, PNG, GIF, BMP 完... 阅读全文
posted @ 2016-12-10 20:21 ParamousGIS 阅读(908) 评论(0) 推荐(0) 编辑
摘要:Carto documentation The following is a list of properties provided in CartoCSS that you can apply to map elements. All elements image-filters functions agg-stack-blurembossblurgraysobeledge-detectx-gr... 阅读全文
posted @ 2016-12-10 16:41 ParamousGIS 阅读(748) 评论(0) 推荐(0) 编辑
摘要:from osgeo import ogrimport jsonfrom geojson import loads, dumps, Feature, FeatureCollectionfrom shapely.geometry import shape, Point, LineString '''s 阅读全文
posted @ 2016-11-27 23:17 ParamousGIS 阅读(479) 评论(0) 推荐(0) 编辑
摘要:这三个坐标系统是当前国内较为常用的,它们均采用不同的椭球基准。其中北京54坐标系,属三心坐标系,大地原点在苏联的普而科沃,长轴6378245m,短轴6356863,扁率1/298.3;西安80坐标系,属三心坐标系;国家80坐标系,大地原点在陕西省径阳县永乐镇,长轴6378140m,短轴6356755,扁率1/298.25722101;WGS84坐标系为协议地球坐标参考系,长轴6378137.0... 阅读全文
posted @ 2016-11-21 23:55 ParamousGIS 阅读(9142) 评论(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 @ 2016-11-21 23:53 ParamousGIS 阅读(24533) 评论(1) 推荐(3) 编辑
摘要: 阅读全文
posted @ 2016-11-21 23:47 ParamousGIS 阅读(699) 评论(0) 推荐(0) 编辑
摘要:GIS理论(墨卡托投影、地理坐标系、地面分辨率、地图比例尺、Bing Maps Tile System) 墨卡托投影(Mercator Projection),又名“等角正轴圆柱投影”,荷兰地图学家墨卡托(Mercator)在1569年拟定,假设地球被围在一个中空的圆柱里,其赤道与圆柱相接触,然后再假想地 球中心有一盏灯,把球面上的图形投影到圆柱体上,再把圆柱体展开,这就是一幅标准纬线为零度(... 阅读全文
posted @ 2016-11-21 23:46 ParamousGIS 阅读(19442) 评论(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... 阅读全文
posted @ 2016-11-21 23:43 ParamousGIS 阅读(403) 评论(0) 推荐(0) 编辑
摘要:$('#stationQuery').bind('click', function(){ var drawStyle = .extend(,map.geomap("option","drawStyle"));vargraphicLayer=("#graphicLayer" 阅读全文
posted @ 2016-09-14 13:38 ParamousGIS 阅读(391) 评论(0) 推荐(0) 编辑
摘要:# # -*- coding: utf-8 -*-# QiXiangAnalyze.py# Created on: 2012-07-04 08:15:21.00000# Creater: GISPathfinder# Usage: isolineAnalyze <station> <reclassi 阅读全文
posted @ 2016-09-12 08:54 ParamousGIS 阅读(280) 评论(0) 推荐(0) 编辑
摘要:import time from struct import * import subprocess import fiona import math import numpy as np import pylab as pl from osgeo import ogr, gdal import shapely.geometry as geometry from shapely.geometry... 阅读全文
posted @ 2016-08-31 15:52 ParamousGIS 阅读(2130) 评论(1) 推荐(0) 编辑
摘要:1.生成WebMap页面 #!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess from jinja2 import Environment, FileSystemLoader # Create our DEM #将DEM数据转化为ENVI的bin格式(一个头文件xml与一个数据文件bin) # use gdal_t... 阅读全文
posted @ 2016-08-21 10:23 ParamousGIS 阅读(5759) 评论(8) 推荐(1) 编辑

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