Ignore:
Timestamp:
2013-04-01T21:20:55+02:00 (11 years ago)
Author:
zverik
Message:

leave coastline tag when creating a single ring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/TheRing.java

    r26929 r29459  
    297297            relation.put("type", "multipolygon");
    298298            for( String key : sourceCopy.keySet() ) {
    299                 if( !linearTags.contains(key) ) {
    300                     relation.put(key, sourceCopy.get(key));
    301                     sourceCopy.remove(key);
    302                 }
     299                if( linearTags.contains(key) ) continue;
     300                if( key.equals("natural") && sourceCopy.get("natural").equals("coastline") ) continue;
     301                relation.put(key, sourceCopy.get(key));
     302                sourceCopy.remove(key);
    303303            }
    304304        }
Note: See TracChangeset for help on using the changeset viewer.