def getLength(self): """Calculate the length of the wire. Returns: The float value of the length. """ linestring = geo.LineString(self.pointlist) return linestring.length