예제 #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)
예제 #2
0
	def write(self,dcfile): 
		self.lines = self.makelines()
		shape.write(self, dcfile)