Package org.goplanit.osm.util
Class OsmRelationUtils
- java.lang.Object
-
- org.goplanit.osm.util.OsmRelationUtils
-
public class OsmRelationUtils extends Object
Utilities in relation to parsing OSM relations while constructing a PLANit model from it- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description OsmRelationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static de.topobyte.osm4j.core.model.iface.OsmRelationMember
findFirstOsmRelationMemberWithRole(de.topobyte.osm4j.core.model.iface.OsmRelation osmRelation, String role)
Find the first relation member with the given role
-
-
-
Method Detail
-
findFirstOsmRelationMemberWithRole
public static de.topobyte.osm4j.core.model.iface.OsmRelationMember findFirstOsmRelationMemberWithRole(de.topobyte.osm4j.core.model.iface.OsmRelation osmRelation, String role)
Find the first relation member with the given role- Parameters:
osmRelation
- to checkrole
- to find- Returns:
- member found, null if none is found
-
-