예제 #1
0
 def testExportShp(self):
     repo = self.getClonedRepo()
     exportPath = os.path.join(os.path.dirname(__file__), "temp", str(time.time()) + ".shp").replace('\\', '/')    	
     tree = Tree(repo, geogit.HEAD, "parks")
     tree.exportshp(exportPath)
     self.assertTrue(os.path.exists(exportPath))
예제 #2
0
파일: treetest.py 프로젝트: jmarin/geogitpy
 def testFeatures(self):
     tree = Tree(self.repo, geogit.HEAD, "parks")
     features = tree.features()
     self.assertEquals(5, len(features))