简体   繁体   English

计算shapefile的面积

[英]Calculating the area of a shapefile

I'm using AnyLogic's new GIS capabilities, which in turn uses the OpenMap API. 我正在使用AnyLogic的新GIS功能,该功能又使用OpenMap API。 I want to figure out the area of each shapefile I'm using, each of which is represented by an AnyLogic ShapeGISMap.Layer that uses an OpenMap AreaShapeLayer (both of which I can play with). 我想弄清楚我正在使用的每个shapefile的区域,每个区域ShapeGISMap.Layer使用OpenMap AreaShapeLayer (我可以一起使用)的AnyLogic ShapeGISMap.Layer表示。 How do I calculate the area? 如何计算面积?

Only one way I can think of: Plot the content of your shapefile using a polyline (or some other AL markup element) and calculate its area using known syntax. 我只能想到的一种方法是:使用折线(或其他AL标记元素)绘制shapefile的内容,并使用已知语法计算其面积。 Otherwise, resort to some geo-processing tool such as ArcGIS :-( 否则,请使用某些地理处理工具,例如ArcGIS :-(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM