diff --git a/plio/geofuncs/geofuncs.py b/plio/geofuncs/geofuncs.py
index 94e7d07af4c41de76cbf78c5f09d51d5ae7362bc..83b2d49e2bd354dd9920a2b79be96541cd1cc13c 100644
--- a/plio/geofuncs/geofuncs.py
+++ b/plio/geofuncs/geofuncs.py
@@ -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):