Tuesday 21 November 2017

antarctica - Intersection algorithm that correctly handles 180° meridian and poles?


Is there a well known intersection algorithm that correctly handles 180 meridian and poles?


For example, let's say we have a list of latitude and longitude values that represent Antarctica. Let's say we also have a simple polygon that represents an airplane. We want to know if the airplane is over Antarctica.


Generic 2D polygon intersection does not work in this case if you simply use latitude for y and longitude for x, because the flat coordinate system will have edges at -180 and 180 longitude, and -90 and 90 latitude. Antarctica will go off the page on three of the edges.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...