Title :
The study of robust algorithm for orientation and point inclusion query for polygon in GIS
Author :
Ding, Jian ; Wang, Qing ; Wu, Kehong ; Rui, Ting ; Yang, Lamei
Author_Institution :
Dept. of Instrum. Sci. & Eng., Southeast Univ., Nanjing, China
Abstract :
The polygon orientation identification and point-in-polygon query algorithm for GIS polygon is in the course of improvement. Robust algorithms are presented in this paper. By comparing the serial number of polygon´s four (or three, two) extreme points, the polygon´s orientation can be identified, the main computation in the new algorithm is only integers´ comparison. By finding the shortest point to subtense edge´s approximate distance of the query point to all the polygon edges, and comparing its´ cross product with that of a extreme point, the inclusion between the point and the polygon can be identified. The algorithms overcome the shortage of the past algorithms, treat the special cases as the ordinary ones. The algorithms´ time complexity and space complexity is linear to the number of polygon´s vertices. No special cases should be pay more attention to. They are easy to understand and straight forward to implement. Analyses show that they are robust, highly efficient.
Keywords :
computational complexity; geographic information systems; query processing; GIS polygon; point inclusion query; point-in-polygon query; polygon orientation identification; polygon vertices; robust algorithm; serial number; space complexity; subtense edge approximate distance; time complexity; Algorithm design and analysis; Approximation algorithms; Computer graphics; Computers; Geographic Information Systems; Robustness; Software algorithms; extreme point; orientation identification; point inclusion query; point to subtense edge´s approximate distance; polygon;
Conference_Titel :
Remote Sensing, Environment and Transportation Engineering (RSETE), 2011 International Conference on
Conference_Location :
Nanjing
Print_ISBN :
978-1-4244-9172-8
DOI :
10.1109/RSETE.2011.5964886