From b3f3777181383ffc2288c055d7092f8342b4f520 Mon Sep 17 00:00:00 2001 From: Justin Braaten Date: Mon, 6 Jan 2025 11:20:32 -0800 Subject: [PATCH] Aways return geographic coordinates from ee.Geometry.bounds() PiperOrigin-RevId: 712597402 --- xee/ext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xee/ext.py b/xee/ext.py index 763fe84..1175ae0 100644 --- a/xee/ext.py +++ b/xee/ext.py @@ -291,14 +291,14 @@ def get_info(self) -> Dict[str, Any]: rpcs.append(('projection', self.projection)) if isinstance(self.geometry, ee.Geometry): - rpcs.append(('bounds', self.geometry.bounds(1, proj=self.projection))) + rpcs.append(('bounds', self.geometry.bounds(1))) else: rpcs.append( ( 'bounds', self.image_collection.first() .geometry() - .bounds(1, proj=self.projection), + .bounds(1), ) )