Exemplo n.º 1
0
	def write(self,dcfile): 
		firstpoint = self.lines[0]
		lastpoint = self.lines[-1]
		if firstpoint != lastpoint : print "WARNING: First and last point of polyline unequal"
		shape.write(self,dcfile)
Exemplo n.º 2
0
	def write(self,dcfile): 
		self.lines = self.makelines()
		shape.write(self, dcfile)