Skip to content
Snippets Groups Projects
Commit 497dfeb1 authored by jay's avatar jay
Browse files

Added geofuncs module for overlap computations

parent 727ca04f
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,11 @@ def intersection_to_pixels(inverse_affine, ul, ur, lr, ll):
if py > maxy:
maxy = py
if minx < 0:
minx = 0
if miny < 0:
miny = 0
return minx, maxx, miny, maxy
def compute_overlap(geodata_a, geodata_b):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment