自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 spacenet 卫星数据集亚马逊云链接更新

语义分割类:SN1_buildings、SN2_buildings、SN3_roads、SN4_buildings、SN5_roads、SN6_buildings通过以下方式查看aws s3 lss3://spacenet-dataset/spacenet/SN1_buildings/aws s3 lss3://spacenet-dataset/spacenet/SN2_build...

2020-03-26 17:27:02 2299 2

原创 dpkg: error processing package *** (--configure)错误解决办法

在 Ubuntu 执行sudo apt-get upgrade 或sudo apt-get install时,出现了如下的报错:dpkg: error processing package ***subprocess installed post-installation script returned error exit status 127这主要是由于不完全安装导致的。解决方...

2020-03-26 17:17:57 46948 13

原创 python gdal,ogr实现geojson转shpfile

本文修改自:【python】geoJson转换Shapefilegdal,ogr实现geojson转shpfileimport jsonimport gdalfrom osgeo import ogrdef create_polygon(coords): ring = ogr.Geometry(ogr.wkbLinearRing) for coord in co...

2020-03-25 14:37:07 2455

原创 python gdal.RasterizeLayer根据shp、geojson矢量创建栅格

python gdal.RasterizeLayer根据矢量创建栅格实现如下,RasterizeLayer支持shp、geojson等获取的矢量图层。注意:burn_values=[1] 参数一定是序列[1],不能是1,否则报错:TypeError: not a sequenceimport gdalfrom osgeo import ogrfg = 'polygon.geojso...

2020-03-25 14:25:01 4461 2

原创 python os.mkdir与os.makedirs递归创建目录

os.mkdir创建单层目录#!/usr/bin/python# -*- coding: UTF-8 -*-import os, sys# 创建的目录path = "/tmp/home/monthly/daily/hourly"os.mkdir( path, 0755 );os.makedirs递归创建目录#!/usr/bin/python# -*- coding...

2020-03-25 09:45:24 8210 2

转载 Ubuntu16.04中安装图形化界面

【安装Ubnutu16.04图形化界面】apt-get updateapt-get install vnc4serverapt-get install xfce4apt-get install ubuntu-desktopsudo apt-get install xrdp安装完上述步骤以后执行下面的命令【允许图形界面root登录】...

2020-03-24 11:48:13 4259

原创 Windows防火墙入栈规则(远程访问)设置方法

Windows 7电脑:依次打开“计算机”——“控制面板”——“Windows防火墙”,如下图所示:Windows 10电脑:依次打开“开始菜单”——“设置”——“Windows 防火墙”,如下图所示:入栈规则设置:打开高级设置,点击左侧“入站规则”,再点击右侧“新建规则...”,如下图:选择“端口(O)”,点击“下一步”按钮,如下图:“此规则应用...

2020-03-21 20:52:53 8976

原创 TypeError: in method 'DatasetIONumPy', argument 3 of type 'int'

TypeError: in method 'DatasetIONumPy', argument 3 of type 'int' 报错xoff数据类型错误是因为这里严格要求int类型,输入的整型是int32, int16会报错DatasetIONumPy的定义:def DatasetIONumPy(ds, bWrite, xoff, yoff, xsize, ysize, psArra...

2020-03-20 11:59:55 2855 2

原创 python gdal ReadAsArray 按块读取栅格

gdal ReadAsArray支持按块读取影像,有两种方式:(1)针对datasetdataset = gdal.Open(file, gdal.GA_ReadOnly)data = dataset.ReadAsArray(xoff=0, yoff=0, xsize=512, ysize=512)(2)针对banddataset = gdal.Open(file, gdal...

2020-03-20 11:54:38 14852 5

原创 python tuple元素赋值

不同于list,python tuple中的元素本身不允许被修改,直接赋值会报错,例如:some_tuple = (1,2,3)>>> some_tuple[0] = [2]Traceback (most recent call last): File "<stdin>", line 1, in <module>TypeError: 'tu...

2020-03-15 11:54:43 3214

原创 减灾云服务平台 IN-CORE

IN-CORE:Run your scientific analyses that model the impact of natural hazards on a community and the resilience of those communities.TheNational Institute of Standards and Technology (NIST)funded ...

2020-03-05 18:31:13 362

原创 Building damage dataset

1.xView2-xBDhttps://xview2.org/register to downloadxBD: Annotated high-resolution satellite imagery for building damage assessment6 disaster types,850,736 buildings, 45,361 sq km2.xVi...

2020-03-04 22:52:33 545

转载 Remote sensing for natural disasters: Facts and figures(遥感在自然灾害中的应用)

By:Sian LewisSian Lewisexplains how remote sensing can be used to help manage natural disasters and highlights ongoing efforts and obstacles.Severe geo-physical or climatic events, including ear...

2020-03-03 21:33:49 1678

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除