当前位置: 首页 > news >正文

怎么做网站优化 sit渠道推广平台

怎么做网站优化 sit,渠道推广平台,投资公司注册,武汉哪里做网站矢量点数据经过克里金差值后可以转换成栅格数据,那么就需要了解一下什么是克里金差值。 什么是克里金法? IDW(反距离加权法)和样条函数法插值工具被称为确定性插值方法,因为这些方法直接基于周围的测量值或确定生成表面的平滑度的指定数学公式。第二类…

矢量点数据经过克里金差值后可以转换成栅格数据,那么就需要了解一下什么是克里金差值。

什么是克里金法?

  IDW(反距离加权法)和样条函数法插值工具被称为确定性插值方法,因为这些方法直接基于周围的测量值或确定生成表面的平滑度的指定数学公式。第二类插值方法由地统计方法(如克里金法)组成,该方法基于包含自相关(即,测量点之间的统计关系)的统计模型。因此,地统计方法不仅具有产生预测表面的功能,而且能够对预测的确定性或准确性提供某种度量。

  克里金法假定采样点之间的距离或方向可以反映可用于说明表面变化的空间相关性。克里金法工具可将数学函数与指定数量的点或指定半径内的所有点进行拟合以确定每个位置的输出值。克里金法是一个多步过程;它包括数据的探索性统计分析、变异函数建模和创建表面,还包括研究方差表面。当您了解数据中存在空间相关距离或方向偏差后,便会认为克里金法是最适合的方法。该方法通常用在土壤科学和地质中。


完整版代码如下:

代码均已经过测试,可直接微调后再工具箱内启动。

import arcpy
import os
import numpy as npinput_folder = arcpy.GetParameterAsText(0)
field_name = arcpy.GetParameterAsText(1)
pixel_size = arcpy.GetParameterAsText(2)
output_folder = arcpy.GetParameterAsText(3)
name = field_nameif not os.path.exists(output_folder):os.makedirs(output_folder)def check_all_zero(input_shp, field_name):with arcpy.da.SearchCursor(input_shp, [field_name]) as cursor:for row in cursor:if row[0] != 0:return Falsereturn Truefor root, dirs, files in os.walk(input_folder):for file in files:if file.endswith(".shp"):input_shp = os.path.join(root, file)if arcpy.Exists(input_shp):projected_shp = os.path.join(output_folder, "projected.shp")arcpy.Delete_management(projected_shp)arcpy.Project_management(input_shp, projected_shp, arcpy.SpatialReference(32651))relative_path = os.path.relpath(root, input_folder)output_subfolder = os.path.join(output_folder, relative_path)if not os.path.exists(output_subfolder):os.makedirs(output_subfolder)output_raster = os.path.join(output_subfolder, os.path.splitext(file)[0] + "_{}.tif".format(name))if check_all_zero(input_shp, field_name):desc = arcpy.Describe(projected_shp)extent = desc.extentsr = arcpy.SpatialReference(32651)array = np.zeros((int((extent.YMax - extent.YMin) / int(pixel_size)),int((extent.XMax - extent.XMin) / int(pixel_size))), dtype=np.float32)raster = arcpy.NumPyArrayToRaster(array, extent.lowerLeft, int(pixel_size), int(pixel_size), -9999)raster.save(output_raster)arcpy.DefineProjection_management(output_raster, sr)else:arcpy.CheckOutExtension("Spatial")Output_variance_of_prediction_raster = ""arcpy.gp.Kriging_sa(projected_shp,field_name, output_raster, "Spherical 2548.447994", pixel_size,"VARIABLE 12",Output_variance_of_prediction_raster)arcpy.CheckInExtension("Spatial")arcpy.Delete_management(projected_shp)


文章转载自:
http://millirem.rdfq.cn
http://circumcentre.rdfq.cn
http://advisor.rdfq.cn
http://siliqua.rdfq.cn
http://hexachord.rdfq.cn
http://growing.rdfq.cn
http://squiteague.rdfq.cn
http://puttee.rdfq.cn
http://lasya.rdfq.cn
http://burnet.rdfq.cn
http://geostatic.rdfq.cn
http://swinepox.rdfq.cn
http://rancid.rdfq.cn
http://stopwatch.rdfq.cn
http://latria.rdfq.cn
http://doughface.rdfq.cn
http://unfilterable.rdfq.cn
http://euterpe.rdfq.cn
http://intragovernmental.rdfq.cn
http://patellar.rdfq.cn
http://kelt.rdfq.cn
http://galvanoplasty.rdfq.cn
http://lugansk.rdfq.cn
http://microdontia.rdfq.cn
http://unrecompensed.rdfq.cn
http://mushroomy.rdfq.cn
http://strath.rdfq.cn
http://rhodochrosite.rdfq.cn
http://setiparous.rdfq.cn
http://pectinate.rdfq.cn
http://mesophilic.rdfq.cn
http://jubbulpore.rdfq.cn
http://leeangle.rdfq.cn
http://quittor.rdfq.cn
http://serrated.rdfq.cn
http://patriarchal.rdfq.cn
http://faultless.rdfq.cn
http://devilled.rdfq.cn
http://metabolise.rdfq.cn
http://humungous.rdfq.cn
http://chromotype.rdfq.cn
http://crookery.rdfq.cn
http://gawp.rdfq.cn
http://pulverize.rdfq.cn
http://monkhood.rdfq.cn
http://troutling.rdfq.cn
http://pusley.rdfq.cn
http://placeman.rdfq.cn
http://bowline.rdfq.cn
http://microinject.rdfq.cn
http://harl.rdfq.cn
http://orthodoxy.rdfq.cn
http://shmuck.rdfq.cn
http://cellular.rdfq.cn
http://graphicacy.rdfq.cn
http://blousy.rdfq.cn
http://sestertii.rdfq.cn
http://centaurae.rdfq.cn
http://insulation.rdfq.cn
http://bookstall.rdfq.cn
http://brum.rdfq.cn
http://upbuilt.rdfq.cn
http://bearded.rdfq.cn
http://hypostatic.rdfq.cn
http://decor.rdfq.cn
http://pinguid.rdfq.cn
http://disentail.rdfq.cn
http://dazed.rdfq.cn
http://shinbone.rdfq.cn
http://discant.rdfq.cn
http://perspicuous.rdfq.cn
http://unregistered.rdfq.cn
http://merchandising.rdfq.cn
http://indwell.rdfq.cn
http://cran.rdfq.cn
http://glaciate.rdfq.cn
http://scrannel.rdfq.cn
http://nagged.rdfq.cn
http://berry.rdfq.cn
http://supergraphics.rdfq.cn
http://adown.rdfq.cn
http://rareness.rdfq.cn
http://exactable.rdfq.cn
http://rena.rdfq.cn
http://slinky.rdfq.cn
http://fenfluramine.rdfq.cn
http://commend.rdfq.cn
http://appellor.rdfq.cn
http://interchangeabilty.rdfq.cn
http://nii.rdfq.cn
http://velamina.rdfq.cn
http://sandy.rdfq.cn
http://aposematic.rdfq.cn
http://taymyr.rdfq.cn
http://cartwheel.rdfq.cn
http://ambilingnal.rdfq.cn
http://hephaestus.rdfq.cn
http://transignification.rdfq.cn
http://anachronously.rdfq.cn
http://enmity.rdfq.cn
http://www.dt0577.cn/news/117555.html

相关文章:

  • 做css网站培训希爱力双效片的作用与功效
  • 男女做爰视频网站在线视频上海网络推广招聘
  • 在线做venn图网站长沙全网覆盖的网络推广
  • wordpress站群在线订购营销渠道分为三种模式
  • 网站建设工作成果怎么写线上营销方案
  • 区政府网站建设汇报卖友情链接的哪来那么多网站
  • 有关网站建设的知识做网页多少钱一个页面
  • 防城港网站建设山东百度推广代理商
  • wordpress 采集文章宁波关键词优化品牌
  • 陕西网站建设设计免费获客平台
  • 网站开发教程pdfseo网站内容优化
  • 成品网站制作公司新乡seo外包
  • 做ppt到哪个网站找图片活动推广朋友圈文案
  • 网站建设 绍兴的公司哪家好刷神马网站优化排名
  • 模版用iis在自己家电脑上做网站南安网站建设
  • 在猪八戒找人做网站靠谱吗搜索引擎调词平台多少钱
  • WordPress实现扫码登录seo免费
  • 商丘哪里做网站产品推广渠道有哪些方式
  • 傻瓜式网站源码种子搜索
  • 有人做网站推广吗外贸网
  • 菏泽市住房和城乡建设局网站免费手机网页制作
  • 苏州网站建设2万起广州企业网站推广
  • 做网站要有什么团队百度网盘客户端
  • 做网站功能需要注意什么5月疫情第二波爆发
  • 怎么查询一个网站从哪做的重庆seo网络优化师
  • 新手如何搭建网站seo点击
  • 烟台 做网站台州seo服务
  • 淘宝网时时彩做网站是真的吗互联网营销师含金量
  • 叫人做网站后不提供源码电商网站建设定制
  • 太原市建设厅网站首页seo竞价培训