Ignore:
Timestamp:
2015-02-19T21:52:40+01:00 (11 years ago)
Author:
malcolmh
Message:

add base map rendering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/s57/S57obj.java

    r31014 r31027  
    178178        }
    179179       
    180         private static final HashMap<String, Obj> OSMtags = new HashMap<String, Obj>();
    181         static {
    182                 OSMtags.put("natural=coastline", Obj.COALNE); OSMtags.put("natural=water", Obj.LAKARE);
    183                 OSMtags.put("waterway=riverbank", Obj.RIVBNK); OSMtags.put("waterway=river", Obj.RIVERS); OSMtags.put("waterway=canal", Obj.CANALS);
    184                 OSMtags.put("wetland=tidalflat", Obj.DEPARE);
    185         }
    186        
    187         public static Obj OSMobj(String key, String val) {
    188                 Obj obj = OSMtags.get(key + "=" + val);
    189                 if (obj != null) {
    190                         return obj;
    191                 }
    192                 return Obj.UNKOBJ;
    193         }
    194 
    195180}
Note: See TracChangeset for help on using the changeset viewer.