Arcgis操作系列1 - arcgis平面米转度方法

1方法1:

这个工具可以转换坐标,但是不能换投影系统,比如可以2000平面转2000经纬度,如果要2000平面转84经纬度,需要输入转换参数。

方法2:

使用arcgis 的geometry project方法 分别输入输出坐标系和gemetry值

方法3:https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.projection-amd.html#project

代码调用arcgis 的API 

// Project each polygon in the array. project() will use the spatial
// reference of the first geometry in the array as an input spatial
// reference. It will use the default transformation. If one is required
// when converting from input spatial reference to the output spatial reference.
var outSpatialReference = new SpatialReference({
 wkid: 53008 //Sphere_Sinusoidal
});

polygonGraphics.forEach(function(graphic) {
  graphic.geometry = projection.project(graphic.geometry, outSpatialReference);
});

将不定期更新资源,欢迎持续关注

想获得更多的学习知识请关注微信公众号:西北码农或扫下方二维码

全部评论

相关推荐

owwhy:难,技术栈在嵌入式这块显得非常浅,并且简历有大问题。教育经历浓缩成两行就行了,写什么主修课程,说的不好听这块没人在意,自我评价删了,项目写详细点,最终简历缩成一页。相关技能怎么说呢,有点差了,还写成这么多行
投了多少份简历才上岸
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务