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

赣州网站建设怎样个人网站如何快速通过icp备案

赣州网站建设怎样,个人网站如何快速通过icp备案,用户权限配置wordpress,wordpress 主题字号这里写自定义目录标题 描述代码实现结果 描述 高程分析是地理信息系统(GIS)中的核心功能之一&#xff0c;主要涉及对地表高度数据(数字高程模型, DEM)的处理和分析。 ArcGIS For JavaScript4.32版本的发布&#xff0c;提供了Web端的针对高程分析的功能。 代码实现 <!doct…

这里写自定义目录标题

  • 描述
  • 代码实现
  • 结果

描述

高程分析是地理信息系统(GIS)中的核心功能之一,主要涉及对地表高度数据(数字高程模型, DEM)的处理和分析。
ArcGIS For JavaScript4.32版本的发布,提供了Web端的针对高程分析的功能。

代码实现

<!doctype html>
<html lang="en"><head><meta charset="utf-8" /><meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" /><title>地形高程分析</title><link rel="stylesheet" href="https://js.arcgis.com/4.32/esri/themes/light/main.css" /><script src="https://js.arcgis.com/4.32/"></script><style>html,body,#viewDiv {padding: 0;margin: 0;height: 100%;width: 100%;background-color: ghostwhite;}#opacitySliderDiv {background: #607d8bbb;padding: 10px;border-radius: 5px;}#opacitySliderDiv label {margin: 5px 0;text-align: left;display: block;color: #1833c8;}</style><script>require(["esri/Map","esri/views/SceneView","esri/layers/support/RasterFunction","esri/layers/support/rasterFunctionUtils","esri/layers/ImageryTileLayer","esri/widgets/Slider","esri/widgets/Expand"], (Map,SceneView,RasterFunction,rasterFunctionUtils,ImageryTileLayer,Slider,Expand) =>(() => {let customColor = [0, 122, 194];const customAnalysisParams = {elevation: { min: 2000, max: 9000 },slope: { min: 10, max: 90 },aspects: { N: false, NE: false, E: false, SE: true, S: true, SW: true, W: false, NW: false }};function createCustomAnalysis(color = customColor) {// Mask out elevation outside of parameter rangeconst elevationMask = rasterFunctionUtils.mask({includedRanges: [[customAnalysisParams.elevation.min, customAnalysisParams.elevation.max]],noDataValues: [[-9999]],noDataInterpretation: "match-any"});// Compute slope on masked elevationconst slopeFunction = rasterFunctionUtils.slope({slopeType: "degree",zFactor: 1,raster: elevationMask});// Mask out slopes outside of parameter rangeconst slopeMask = rasterFunctionUtils.mask({includedRanges: [[customAnalysisParams.slope.min, customAnalysisParams.slope.max]],noDataValues: [[-9999]],noDataInterpretation: "match-any",raster: slopeFunction});// Map included slopes >= 0 to 1const greaterThanSlope0 = rasterFunctionUtils.greaterThanEqual({raster: slopeMask,raster2: 0});// Compute aspect on masked elevationconst aspectFunction = rasterFunctionUtils.aspect({raster: elevationMask});// Map aspect as 1 (include) or 0 (exclude) according to parametersconst remapAspectFunction = rasterFunctionUtils.remap({rangeMaps: [{ range: [-Infinity, 0], output: 1 }, // Include flats{ range: [360, Infinity], output: 1 }, // Include flats{ range: [337.5, 360], output: +customAnalysisParams.aspects.N },{ range: [0, 22.5], output: +customAnalysisParams.aspects.N },{ range: [22.5, 67.5], output: +customAnalysisParams.aspects.NE },{ range: [67.5, 112.5], output: +customAnalysisParams.aspects.E },{ range: [112.5, 157.5], output: +customAnalysisParams.aspects.SE },{ range: [157.5, 202.5], output: +customAnalysisParams.aspects.S },{ range: [202.5, 247.5], output: +customAnalysisParams.aspects.SW },{ range: [247.5, 292.5], output: +customAnalysisParams.aspects.W },{ range: [292.5, 337.5], output: +customAnalysisParams.aspects.NW }],raster: aspectFunction});// Combine slope and aspect rastersconst combineAspectSlope = rasterFunctionUtils.booleanAnd({raster: greaterThanSlope0,raster2: remapAspectFunction});const colorMapFinal = rasterFunctionUtils.colormap({colormap: [[1, ...color]],raster: combineAspectSlope});return colorMapFinal;}const analysisLayer = new ImageryTileLayer({url: "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer",title: "Custom Analysis",rasterFunction: createCustomAnalysis(customColor),opacity: 0.8});let scene = new Map({basemap: 'hybrid',ground: 'world-elevation'});scene.add(analysisLayer);let view = new SceneView({container: 'viewDiv',map: scene,camera: {heading: 11.318022273157128,fov: 55,tilt: 64.97027885113135,position: {longitude: 102.01508901208386,latitude: 28.892260981774943,z: 19722.28977170773}}});view.when(function () {console.log(view.map);analysisLayer.rasterFunction = colorMapElevation;const slider = new Slider({container: "opacitySlider",min: 0,max: 100,values: [20],steps: 1,snapOnClickEnabled: false,visibleElements: {labels: true,rangeLabels: true}});slider.on('thumb-drag', (evt) => {if (evt.state === 'stop') {analysisLayer.opacity = 1 - evt.value / 100;}});})const colorMapElevation = rasterFunctionUtils.colormap({colorRampName: "elevation1"});view.ui.add('opacitySliderDiv', 'top-right')})());</script>
</head>
<body><div id="viewDiv"><div id="opacitySliderDiv"><label htmlFor="bloomContrast">高程分析 | 透明度:</label><div id="opacitySlider" style="width: 300px;height: 20px;margin: 10px 0px"></div></div></div></div>
</body></html>

结果

在这里插入图片描述


文章转载自:

http://KTP7gaae.fwnyz.cn
http://LuEasNfl.fwnyz.cn
http://VLyjW6Ax.fwnyz.cn
http://I5IGDkB7.fwnyz.cn
http://TNfM5IwO.fwnyz.cn
http://i4s5mMcu.fwnyz.cn
http://8DL4vv9A.fwnyz.cn
http://LBcq0sdG.fwnyz.cn
http://EwIAyhEw.fwnyz.cn
http://86hEhgqQ.fwnyz.cn
http://vmsew1An.fwnyz.cn
http://QxEbgDMi.fwnyz.cn
http://Gr6O69bG.fwnyz.cn
http://yDu51Kis.fwnyz.cn
http://lwBOyCJR.fwnyz.cn
http://hm4VSIH5.fwnyz.cn
http://pNQ8hGAw.fwnyz.cn
http://X2XyV3ld.fwnyz.cn
http://R06sDz9b.fwnyz.cn
http://csZsJ1Tv.fwnyz.cn
http://vvlxADBh.fwnyz.cn
http://z3Hf79oa.fwnyz.cn
http://k3DwncLY.fwnyz.cn
http://24lHSDkw.fwnyz.cn
http://eBmjtIwW.fwnyz.cn
http://1RYl6T2h.fwnyz.cn
http://zftndtFu.fwnyz.cn
http://Zy8pWaXK.fwnyz.cn
http://R2QoqI8H.fwnyz.cn
http://n8CYWwjY.fwnyz.cn
http://www.dtcms.com/wzjs/612176.html

相关文章:

  • 网站seo的内容是什么asp网站和php网站
  • iis网站访问权限网站后台运营怎么做
  • 医院网站建设好处做网站的属于什么专业?
  • 平昌县建设局网站建设银行信用卡账网站
  • 监控网站建设需要多少钱商务网站开发实验报告
  • 旅游企业公司网站建设百度一下你就知道移动首页
  • 猎头做单都有什么网站郑州做网站九零后网络
  • 教做糕点的网站江西加油app下载官网
  • 网站做外链好嘛wordpress美化版
  • 毕节市住房和城乡建设局网站北京电力交易中心 庞博
  • 做都是正品的网站很难吗浙江新手网络推广
  • 网站推广的策略个人域名申请的方法
  • 微网站开发平台案例html写一个简单购物页面
  • wdcp网站备份网站建设检查整改情况报告
  • 老版本网站开发工具wordpress 没有样式表
  • 西安做网站陕西必达福州建设厅官方网站
  • 在灵璧怎样做网站那个网站域名估价好
  • 网站免费推广平台宁夏交通建设质监局官方网站
  • 哪个行业最容易做网站社保网站做员工用工备案
  • 滕州市中远建设工程公司网站首页做网站群
  • 怎样在一个虚拟服务器里做两个网站服务好的南昌网站建设
  • 深圳深度网站建设中美网站建设
  • 织梦网站最下面的网站建设去除溧阳城乡建设厅网站
  • 找婚庆公司去什么网站深圳住房和建设局网站官网
  • 免费word模板网站关键词文案生成器
  • 站外推广策划书网页制作与网站建设实战大全 pdf下载
  • 郑州做网站公司+卓美有限公司属于什么企业类型
  • 高端手机网站 制作公司长沙黄页
  • 如何开网站赚钱银川网站建设哪家价格低
  • 相亲网站拉人做基金三明建设局网站