Ejemplo n.º 1
0
 def test_11(self):
     """TestLogHeaderLAS.test_11(): Plot as top of log with CONS data."""
     myLh = LogHeader.APIHeaderLAS(isTopOfLog=True)
     fp = TestPlotShared.outPath(TEST_SVG_FILE_MAP_HDR[56].fileName)
     tl = Coord.Pt(Coord.Dim(0.5, 'in'), Coord.Dim(0.25, 'in'))
     viewPort = myLh.viewPort(tl)
     with SVGWriter.SVGWriter(open(fp, 'w'), viewPort) as xS:
         myLh.plot(xS, tl, self._lasFile)
Ejemplo n.º 2
0
 def test_05(self):
     """TestLogHeaderLAS.test_05(): Plot as not top of log."""
     myLh = LogHeader.APIHeaderLAS(isTopOfLog=False)
     fp = TestPlotShared.outPath(TEST_SVG_FILE_MAP_HDR[50].fileName)
     tl = Coord.Pt(Coord.Dim(0.0, 'in'), Coord.Dim(0.0, 'in'))
     viewPort = myLh.viewPort(tl)
     with SVGWriter.SVGWriter(open(fp, 'w'), viewPort) as xS:
         myLh.plot(xS, tl)