Ignore:
Timestamp:
2015-05-28T21:10:44+02:00 (10 years ago)
Author:
malcolmh
Message:

clip to map bounds

File:
1 edited

Legend:

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

    r31063 r31157  
    224224        }
    225225       
    226         class OSMtag {
    227                 String key;
    228                 String val;
    229                 OSMtag(String k, String v) {
    230                         key = k;
    231                         val = v;
    232                 }
    233         }
    234        
    235226        public NodeTab nodes;
    236227        public EdgeTab edges;
     
    246237        private Edge edge;
    247238        private KeyVal<?> osm = S57osm.OSMtag("", "");
    248 
    249         public S57map() {
     239        boolean sea;
     240
     241        public S57map(boolean s) {
     242                sea = s;
    250243                nodes = new NodeTab();          // All nodes in map
    251244                edges = new EdgeTab();          // All edges in map
     
    477470                                }
    478471                        }
    479                 } else {
     472                } else if (!sea) {
    480473                        KeyVal<?> kv = S57osm.OSMtag(key, val);
    481474                        if (kv.obj != Obj.UNKOBJ) {
Note: See TracChangeset for help on using the changeset viewer.