Ejemplo n.º 1
0
 def pretty_wkt(self, simplify=0):
     "Returns the 'pretty' representation of the WKT."
     return capi.to_pretty_wkt(self.ptr, byref(c_char_p()), simplify)
Ejemplo n.º 2
0
"""
Ejemplo n.º 3
0
 def pretty_wkt(self, simplify=0):
     "Returns the 'pretty' representation of the WKT."
     return capi.to_pretty_wkt(self.ptr, byref(c_char_p()), simplify)
Ejemplo n.º 4
0
    def wkt(self):
<<<<<<< HEAD
        "Returns the WKT representation of this Spatial Reference."
=======
        "Return the WKT representation of this Spatial Reference."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return capi.to_wkt(self.ptr, byref(c_char_p()))

    @property
    def pretty_wkt(self, simplify=0):
<<<<<<< HEAD
        "Returns the 'pretty' representation of the WKT."
=======
        "Return the 'pretty' representation of the WKT."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return capi.to_pretty_wkt(self.ptr, byref(c_char_p()), simplify)

    @property
    def proj(self):
<<<<<<< HEAD
        "Returns the PROJ.4 representation for this Spatial Reference."
=======
        "Return the PROJ.4 representation for this Spatial Reference."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return capi.to_proj(self.ptr, byref(c_char_p()))

    @property
    def proj4(self):
        "Alias for proj()."
        return self.proj