Point in polygon calculation using vector geometric methods with application to geospatial data

06/07/2023
by   Eyram Schwinger, et al.
0

In this work, we designed algorithms for the point in polygon problem based on the ray casting algorithm using equations from vector geometry. The algorithms were implemented using the python programming language. We tested the algorithm against the point in polygon algorithms used by the shapely (and by extension geopandas) library and the OpenCV library using points from the google Open Buildings project. Our algorithm in pure python performed much better than the shapely implementation. It also performed better than the OpenCV implementation when combined with the Numba optimization library. We also performed simulations to verify that our algorithm performance was of the order O(n).

READ FULL TEXT

page 4

page 5

page 7

research
07/03/2019

libconform v0.1.0: a Python library for conformal prediction

This paper introduces libconform v0.1.0, a Python library for the confor...
research
06/25/2021

Optimal Checkpointing for Adjoint Multistage Time-Stepping Schemes

We consider checkpointing strategies that minimize the number of recompu...
research
02/23/2023

PNet: A Python Library for Petri Net Modeling and Simulation

Petri Net is a formalism to describe changes between 2 or more states ac...
research
03/05/2018

Fast Implementation of a Bayesian Unsupervised Algorithm

In a recent paper, we have proposed an unsupervised algorithm for audio ...
research
12/28/2018

Vilin: Unconstrained Numerical Optimization Application

We introduce an application for executing and testing different unconstr...
research
03/05/2018

Fast Implementation of a Bayesian Unsupervised Segmentation Algorithm

In a recent paper, we have proposed an unsupervised algorithm for audio ...
research
08/26/2020

TIV.lib: an open-source library for the tonal description of musical audio

In this paper, we present TIV.lib, an open-source library for the conten...

Please sign up or login with your details

Forgot password? Click here to reset