示例#1
0
 def clone(self):
     "Clones this coordinate sequence."
     return GEOSCoordSeq(cs_clone(self.ptr), self.hasz)
示例#2
0
        Returns whether this coordinate sequence is 3D.  This property value is
=======
        Return whether this coordinate sequence is 3D. This property value is
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        inherited from the parent Geometry.
        """
        return self._z

    # ### Other Methods ###
    def clone(self):
<<<<<<< HEAD
        "Clones this coordinate sequence."
=======
        "Clone this coordinate sequence."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return GEOSCoordSeq(capi.cs_clone(self.ptr), self.hasz)

    @property
    def kml(self):
<<<<<<< HEAD
        "Returns the KML representation for the coordinates."
=======
        "Return the KML representation for the coordinates."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        # Getting the substitution string depending on whether the coordinates have
        #  a Z dimension.
        if self.hasz:
            substr = '%s,%s,%s '
        else:
            substr = '%s,%s,0 '
        return '<coordinates>%s</coordinates>' % \
示例#3
0
 def clone(self):
     "Clone this coordinate sequence."
     return GEOSCoordSeq(capi.cs_clone(self.ptr), self.hasz)
示例#4
0
"""