e9fbecd45cb415adb0c47e5e85a74a3a4e98a676
[osm/LW-UI.git] / lib / osm / osm_rdcl_parser.py
1 #
2 # Copyright 2018 EveryUP Srl
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 import json
18 import pyaml
19 import yaml
20 from lib.util import Util
21 from lib.parser import Parser
22 import logging
23 import traceback
24 import glob
25 import os
26
27 logging.basicConfig(level=logging.DEBUG)
28 log = logging.getLogger('OsmParser')
29
30
31 class OsmParser(Parser):
32 """Parser methods for osm project type
33
34 """