(self)
| 344 | |
| 345 | @skipUnlessDBFeature("has_Envelope_function") |
| 346 | def test_envelope(self): |
| 347 | countries = Country.objects.annotate(envelope=functions.Envelope("mpoly")) |
| 348 | for country in countries: |
| 349 | self.assertTrue(country.envelope.equals(country.mpoly.envelope)) |
| 350 | |
| 351 | @skipUnlessDBFeature("has_ForcePolygonCW_function") |
| 352 | def test_force_polygon_cw(self): |