コード例 #1
0
 def setUp(self):
     self.l = Shapefile('work/states.shp')
コード例 #2
0
ファイル: workspacetest.py プロジェクト: 3Geo/geoscript-py
  def testAdd(self):
    shp = Shapefile('work/states.shp') 
    l = self.ws.add(shp, 'states2')
 
    assert l
    assert shp.count() == l.count()
コード例 #3
0
ファイル: test_istyle.py プロジェクト: ecor/geoscript-py
def points():
    return Shapefile('work/point.shp')
コード例 #4
0
ファイル: test_istyle.py プロジェクト: ecor/geoscript-py
def polygons():
    return Shapefile('work/polygon.shp')
コード例 #5
0
ファイル: test_istyle.py プロジェクト: ecor/geoscript-py
def lines():
    return Shapefile('work/line.shp')
コード例 #6
0
    def testAdd(self):
        shp = Shapefile('work/states.shp')
        l = self.ws.add(shp, 'states2')

        assert l
        assert shp.count() == l.count()
コード例 #7
0
 def setUp(self):
     mem = Memory()
     self.l = mem.add(Shapefile('work/states.shp'))