Ignore:
Timestamp:
2015-10-27T09:09:48+01:00 (10 years ago)
Author:
malcolmh
Message:

[seachart] fix errors

Location:
applications/editors/josm/plugins/seachart/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Rules.java

    r31532 r31716  
    190190                        if (testObject(Obj.LKBSPT)) for (Feature f : objects) if (testFeature(f)) areas();
    191191                        if (testObject(Obj.LAKARE)) for (Feature f : objects) if (testFeature(f)) areas();
    192                         if (testObject(Obj.RIVBNK)) for (Feature f : objects) if (testFeature(f)) areas();
    193192                        if (testObject(Obj.RIVERS)) for (Feature f : objects) if (testFeature(f)) waterways();
    194193                        if (testObject(Obj.CANALS)) for (Feature f : objects) if (testFeature(f)) waterways();
     
    286285                        break;
    287286                case LAKARE:
    288                 case RIVBNK:
    289287                        Renderer.lineVector(feature, new LineStyle(Symbols.Bwater, 10, Symbols.Bwater));
    290288                        break;
  • applications/editors/josm/plugins/seachart/src/s57/S57osm.java

    r31704 r31716  
    3737        static {
    3838                OSMtags.put("natural=coastline", new KeyVal<>(Obj.COALNE, Att.UNKATT, null, null)); OSMtags.put("natural=water", new KeyVal<>(Obj.LAKARE, Att.UNKATT, null, null));
    39                 OSMtags.put("waterway=river", new KeyVal<>(Obj.RIVERS, Att.UNKATT, null, null));
     39                OSMtags.put("waterway=river", new KeyVal<>(Obj.RIVERS, Att.UNKATT, null, null)); OSMtags.put("waterway=riverbank", new KeyVal<>(Obj.COALNE, Att.UNKATT, null, null));
    4040                OSMtags.put("waterway=canal", new KeyVal<>(Obj.CANALS, Att.UNKATT, null, null)); OSMtags.put("waterway=dock", new KeyVal<>(Obj.HRBBSN, Att.UNKATT, null, null));
    4141                OSMtags.put("waterway=lock", new KeyVal<>(Obj.HRBBSN, Att.UNKATT, null, null)); OSMtags.put("landuse=basin", new KeyVal<>(Obj.LAKARE, Att.UNKATT, null, null));
Note: See TracChangeset for help on using the changeset viewer.