Don't commit empty values (case of no name)
This commit is contained in:
parent
c9c2d491ba
commit
a4b4c8adbb
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ public class OpenstreetmapRemoteUtil implements OpenstreetmapUtil {
|
|||
|
||||
for(String k : n.getTagKeySet()){
|
||||
String val = n.getTag(k);
|
||||
if (val.length() == 0) continue;
|
||||
ser.startTag(null, "tag"); //$NON-NLS-1$
|
||||
ser.attribute(null, "k", k); //$NON-NLS-1$
|
||||
ser.attribute(null, "v", val); //$NON-NLS-1$
|
||||
|
|
Loading…
Reference in a new issue