Changeset 13667 in josm for trunk/src/org/openstreetmap/josm/data/osm/Relation.java
- Timestamp:
- 2018-04-23T22:17:10+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r13665 r13667 41 41 42 42 /** 43 * 43 * Sets members of the relation. 44 44 * @param members Can be null, in that case all members are removed 45 45 * @since 1925 … … 430 430 } 431 431 432 /**433 * Determines if this relation is a boundary.434 * @return {@code true} if a boundary relation435 */436 public boolean isBoundary() {437 return "boundary".equals(get("type"));438 }439 440 @Override441 public boolean isMultipolygon() {442 return "multipolygon".equals(get("type")) || isBoundary();443 }444 445 432 @Override 446 433 public BBox getBBox() {
Note:
See TracChangeset
for help on using the changeset viewer.