Example #1
0
 def __init__(self):
     self.ns = {'ksj': 'http://nlftp.mlit.go.jp/ksj/schemas/ksj-app',
                'gml': 'http://www.opengis.net/gml/3.2',
                'xlink': 'http://www.w3.org/1999/xlink',
                'xsi': 'http://www.w3.org/2001/XMLSchema-instance'}
     self.id = -1
     self.osm = ET._Element('osm')
     self.osm.set("version", "0.6")
Example #2
0
    def __init__(self):
        self.ns = {
            'ksj': 'http://nlftp.mlit.go.jp/ksj/schemas/ksj-app',
            'gml': 'http://www.opengis.net/gml/3.2',
            'xlink': 'http://www.w3.org/1999/xlink',
            'xsi': 'http://www.w3.org/2001/XMLSchema-instance'
        }

        self.id = -200000000000

        self.osm = ET._Element('osm')
        self.osm.set("version", "0.6")