Esempio n. 1
0
 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+.')
Esempio n. 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)
Esempio n. 3
0
 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+.')
Esempio n. 4
0
 def json(self):
     """
     Returns the GeoJSON representation of this Geometry.
     """
     return capi.to_json(self.ptr)
Esempio n. 5
0
 def json(self):
     """
     Returns the GeoJSON representation of this Geometry.
     """
     return capi.to_json(self.ptr)