Fix crash
This commit is contained in:
parent
c2d6987b81
commit
b2c1046860
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ public class OpenstreetmapLocalUtil implements OpenstreetmapUtil {
|
|||
n.getLocation().getLongitude(),
|
||||
nodeId);
|
||||
entity.putTag(st.getOsmTag(), st.getOsmValue());
|
||||
if(st.getOsmTag2() != null) {
|
||||
entity.putTag(st.getOsmTag2(), st.getOsmValue2());
|
||||
}
|
||||
entity.putTag(OSMTagKey.NAME.getValue(), n.getName());
|
||||
entity.putTag(OSMTagKey.OPENING_HOURS.getValue(), n.getOpeningHours());
|
||||
|
||||
|
|
Loading…
Reference in a new issue