Class OsmRelationUtils


  • public class OsmRelationUtils
    extends Object
    Utilities in relation to parsing OSM relations while constructing a PLANit model from it
    Author:
    markr
    • Constructor Detail

      • OsmRelationUtils

        public OsmRelationUtils()
    • 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 check
        role - to find
        Returns:
        member found, null if none is found