(self)
| 435 | ee.Geometry.MultiPolygon(*coords) |
| 436 | |
| 437 | def test_point(self): |
| 438 | coords = [1, 2, 3, 4] |
| 439 | proj = 'EPSG:4326' |
| 440 | func = ee.ApiFunction.lookup('GeometryConstructors.Point') |
| 441 | |
| 442 | geometry = ee.Geometry.Point(coords, proj) |
| 443 | self.assertEqual(func, geometry.func) |
| 444 | self.assertEqual( |
| 445 | { |
| 446 | 'coordinates': ee.List(coords), |
| 447 | 'crs': ee.Projection(proj), |
| 448 | }, |
| 449 | geometry.args, |
| 450 | ) |
| 451 | |
| 452 | def test_point_kwargs(self): |
| 453 | coords = [1, 2, 3, 4] |