Class OsmPrimitiveComparator

    • Method Detail

      • orderingNodesWaysRelations

        public static java.util.Comparator<OsmPrimitive> orderingNodesWaysRelations()
        Returns a comparator ordering the primitives by type in the order NODE, WAY, RELATION
        Returns:
        a comparator ordering the primitives by type in the order NODE, WAY, RELATION
      • orderingWaysRelationsNodes

        public static java.util.Comparator<OsmPrimitive> orderingWaysRelationsNodes()
        Returns a comparator ordering the primitives by type in the order WAY, RELATION, NODE
        Returns:
        a comparator ordering the primitives by type in the order WAY, RELATION, NODE
      • orderingRelationsWaysNodes

        public static java.util.Comparator<OsmPrimitive> orderingRelationsWaysNodes()
        Returns a comparator ordering the primitives by type in the order RELATION, WAY, NODE
        Returns:
        a comparator ordering the primitives by type in the order RELATION, WAY, NODE
        Since:
        11679