예제 #1
0
 def _get_spatial_filter(self):
     try:
         return OGRGeometry(
             geom_api.clone_geom(capi.get_spatial_filter(self.ptr)))
     except OGRException:
         return None
예제 #2
0
파일: layer.py 프로젝트: 01-/django
 def _get_spatial_filter(self):
     try:
         return OGRGeometry(geom_api.clone_geom(capi.get_spatial_filter(self.ptr)))
     except GDALException:
         return None
예제 #3
0
from ctypes import byref, c_double