示例#1
0
    def test_write_kml(self):
        d = Domain(4326, "-te 25 70 35 72 -ts 500 500")
        tmpfilename = os.path.join(ntd.tmp_data_path, 'domain_write_kml.kml')
        d.write_kml(kmlFileName=tmpfilename)

        self.assertTrue(os.path.exists(tmpfilename))
示例#2
0
    def test_write_kml(self):
        d = Domain(4326, "-te 25 70 35 72 -ts 500 500")
        tmpfilename = os.path.join(ntd.tmp_data_path, "domain_write_kml.kml")
        d.write_kml(kmlFileName=tmpfilename)

        self.assertTrue(os.path.exists(tmpfilename))