简体   繁体   中英

Calculating the area of a shapefile

I'm using AnyLogic's new GIS capabilities, which in turn uses the 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). 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. Otherwise, resort to some geo-processing tool such as ArcGIS :-(

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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