Friday, March 30, 2012

Great circle flights from Beijing, arcpy version

In the previous post, we found a pure Python solution to generating great circles from a common point, specifically from Beijing airports to all other airports in the world that maintain commercial flight routes from it. This situation is modeled by finding geodesic arcs, great circles from point to point in the spheroid.


In this post we present a solution implemented only with arcpy (ESRI's ArcGIS 10.0 Python geoprocessing package):



Here you can download the complete script with data. Change the root of your workspace from "C:\pythonGIS" accordingly and unzip the files in the new root defined.

No comments:

Post a Comment