コード例 #1
0
ファイル: geometries.py プロジェクト: GoSteven/Diary
 def json(self):
     """
     Returns the GeoJSON representation of this Geometry (requires
     GDAL 1.5+).
     """
     if GEOJSON:
         return capi.to_json(self.ptr)
     else:
         raise NotImplementedError('GeoJSON output only supported on GDAL 1.5+.')
コード例 #2
0
    def json(self):
        """
<<<<<<< HEAD
        Returns the GeoJSON representation of this Geometry.
=======
        Return the GeoJSON representation of this Geometry.
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        """
        return capi.to_json(self.ptr)
コード例 #3
0
ファイル: geometries.py プロジェクト: huicheese/Django-test3
 def json(self):
     """
     Returns the GeoJSON representation of this Geometry (requires
     GDAL 1.5+).
     """
     if GEOJSON:
         return capi.to_json(self.ptr)
     else:
         raise NotImplementedError(
             'GeoJSON output only supported on GDAL 1.5+.')
コード例 #4
0
ファイル: geometries.py プロジェクト: 007lva/mmddpp
 def json(self):
     """
     Returns the GeoJSON representation of this Geometry.
     """
     return capi.to_json(self.ptr)
コード例 #5
0
ファイル: geometries.py プロジェクト: lab3000/GalvanizeU
 def json(self):
     """
     Returns the GeoJSON representation of this Geometry.
     """
     return capi.to_json(self.ptr)