Return the Spatial Reference for this Geometry.
(self)
| 317 | |
| 318 | # The SRS property |
| 319 | def _get_srs(self): |
| 320 | "Return the Spatial Reference for this Geometry." |
| 321 | try: |
| 322 | srs_ptr = capi.get_geom_srs(self.ptr) |
| 323 | return SpatialReference(srs_api.clone_srs(srs_ptr)) |
| 324 | except SRSException: |
| 325 | return None |
| 326 | |
| 327 | def _set_srs(self, srs): |
| 328 | "Set the SpatialReference for this geometry." |
nothing calls this directly
no test coverage detected