Uses of Class
org.openstreetmap.josm.data.osm.TagCollection
-
Packages that use TagCollection Package Description org.openstreetmap.josm.actions.corrector Provides the classes for JOSMtag correctors
.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.gui.conflict.tags Provides the classes for resolving conflicts between OSM tags.org.openstreetmap.josm.gui.datatransfer.data Provides the classes for defining the serializable data transferred using cut/copy/paste operations.org.openstreetmap.josm.gui.datatransfer.importers Provides the classes for the transfer support controllers allowing cut/copy/paste operations.org.openstreetmap.josm.gui.tagging Provides classes for handling edition of OSM tags: tag tables, tag editors.org.openstreetmap.josm.io Provides the classes for JOSM input/output support. -
-
Uses of TagCollection in org.openstreetmap.josm.actions.corrector
Fields in org.openstreetmap.josm.actions.corrector declared as TagCollection Modifier and Type Field Description private static TagCollection
ReverseWayNoTagCorrector. DIRECTIONAL_TAGS
Tags that imply a semantic meaning from the way direction and cannot be changed.Methods in org.openstreetmap.josm.actions.corrector that return TagCollection Modifier and Type Method Description static TagCollection
ReverseWayNoTagCorrector. getDirectionalTags(Tagged way)
Replies the tags that imply a semantic meaning fromway
direction and cannot be changed.Methods in org.openstreetmap.josm.actions.corrector with parameters of type TagCollection Modifier and Type Method Description private static boolean
ReverseWayNoTagCorrector. confirmReverseWay(Way way, TagCollection tags)
-
Uses of TagCollection in org.openstreetmap.josm.data.osm
Methods in org.openstreetmap.josm.data.osm that return TagCollection Modifier and Type Method Description static TagCollection
TagCollection. commonToAllPrimitives(Collection<? extends Tagged> primitives)
Replies a tag collection with the tags which are common to all primitives in inprimitives
.TagCollection
TagCollection. emptyTagsForKeysMissingIn(TagCollection other)
static TagCollection
TagCollection. from(Map<String,String> tags)
Creates a tag collection from a map of key/value-pairs.static TagCollection
TagCollection. from(Tagged primitive)
Creates a tag collection from the tags managed by a specificOsmPrimitive
.TagCollection
TagCollection. getTagsFor(String key)
Replies a tag collection with the tags for a given key.TagCollection
TagCollection. getTagsFor(Collection<String> keys)
Replies a tag collection with all tags whose key is equal to one of the keys inkeys
.TagCollection
TagCollection. intersect(TagCollection other)
Builds the intersection of this tag collection and another tag collectionTagCollection
TagCollection. minus(TagCollection other)
Replies the difference of this tag collection and another tag collectionTagCollection
TagCollection. union(TagCollection other)
Replies the union of this tag collection and another tag collectionstatic TagCollection
TagCollection. unionOfAllPrimitives(Collection<? extends Tagged> primitives)
Creates a tag collection from the union of the tags managed by a collection of primitives.static TagCollection
TagCollection. unionOfAllPrimitives(DataSet ds)
Replies a tag collection with the union of the tags which are common to all primitives in the datasetds
.Methods in org.openstreetmap.josm.data.osm with parameters of type TagCollection Modifier and Type Method Description void
TagCollection. add(TagCollection tags)
Adds the tags of another tag collection to this collection.TagCollection
TagCollection. emptyTagsForKeysMissingIn(TagCollection other)
TagCollection
TagCollection. intersect(TagCollection other)
Builds the intersection of this tag collection and another tag collectionTagCollection
TagCollection. minus(TagCollection other)
Replies the difference of this tag collection and another tag collectionvoid
TagCollection. remove(TagCollection tags)
Removes all tags in the tag collectiontags
from the current tag collection.TagCollection
TagCollection. union(TagCollection other)
Replies the union of this tag collection and another tag collectionConstructors in org.openstreetmap.josm.data.osm with parameters of type TagCollection Constructor Description TagCollection(TagCollection other)
Creates a clone of the tag collectionother
. -
Uses of TagCollection in org.openstreetmap.josm.gui.conflict.tags
Fields in org.openstreetmap.josm.gui.conflict.tags declared as TagCollection Modifier and Type Field Description private TagCollection
MultiValueResolutionDecision. tags
the collection of tags for which a decision is neededprivate TagCollection
TagConflictResolverModel. tags
Methods in org.openstreetmap.josm.gui.conflict.tags that return TagCollection Modifier and Type Method Description TagCollection
TagConflictResolverModel. getAllResolutions()
TagCollection
PasteTagsConflictResolverDialog. getResolution()
Returns conflict resolution.TagCollection
PasteTagsConflictResolverDialog. getResolution(OsmPrimitiveType type)
TagCollection
TagConflictResolverModel. getResolution()
Methods in org.openstreetmap.josm.gui.conflict.tags with parameters of type TagCollection Modifier and Type Method Description static void
TagConflictResolutionUtil. applyAutomaticTagConflictResolution(TagCollection tc)
Automatically resolve some tag conflicts.static void
TagConflictResolutionUtil. applyAutomaticTagConflictResolution(TagCollection tc, Collection<TagConflictResolutionUtil.AutomaticTagConflictResolver> resolvers)
Automatically resolve some given conflicts using the given resolvers.protected List<Command>
CombinePrimitiveResolver. buildTagChangeCommand(OsmPrimitive primitive, TagCollection tc)
Builds the list of tag change commands.protected List<Command>
CombinePrimitiveResolverDialog. buildTagChangeCommand(OsmPrimitive primitive, TagCollection tc)
Builds the list of tag change commands.static void
TagConflictResolutionUtil. completeTagCollectionForEditing(TagCollection tc)
Completes tags in the tag collectiontc
with the empty value for each tag.private static String
CombinePrimitiveResolverDialog. getKeyDescription(String key, TagCollection normalizedTags)
protected static void
CombinePrimitiveResolverDialog. informAboutTagConflicts(Collection<? extends OsmPrimitive> primitives, TagCollection normalizedTags)
Inform a non-expert user about what tag conflict resolution means.protected void
PasteTagsConflictResolverDialog. initResolver(OsmPrimitiveType type, TagCollection tc, Map<OsmPrimitiveType,Integer> targetStatistics)
Initializes the conflict resolver for a specific type of primitivesstatic List<Command>
CombinePrimitiveResolverDialog. launchIfNecessary(TagCollection tagsOfPrimitives, Collection<? extends OsmPrimitive> primitives, Collection<? extends OsmPrimitive> targetPrimitives)
Replies the list ofcommands
needed to resolve specified conflicts, by displaying if necessary aCombinePrimitiveResolverDialog
to the user.static void
TagConflictResolutionUtil. normalizeTagCollectionBeforeEditing(TagCollection tc, Collection<? extends OsmPrimitive> merged)
Normalizes the tags in the tag collectiontc
before resolving tag conflicts.void
PasteTagsConflictResolverDialog. populate(TagCollection tagsForAllPrimitives, Map<OsmPrimitiveType,Integer> sourceStatistics, Map<OsmPrimitiveType,Integer> targetStatistics)
Populates the conflict resolver with one tag collectionvoid
PasteTagsConflictResolverDialog. populate(TagCollection tagsForNodes, TagCollection tagsForWays, TagCollection tagsForRelations, Map<OsmPrimitiveType,Integer> sourceStatistics, Map<OsmPrimitiveType,Integer> targetStatistics)
Populate the tag conflict resolver with tags for each type of primitivesvoid
TagConflictResolverModel. populate(TagCollection tags, Set<String> keysWithConflicts)
Populates the model with the tags for which conflicts are to be resolved.(package private) void
TagConflictResolverModel. populate(TagCollection tags, Set<String> keysWithConflicts, boolean fireEvent)
Populates the model with the tags for which conflicts are to be resolved.Constructors in org.openstreetmap.josm.gui.conflict.tags with parameters of type TagCollection Constructor Description MultiValueResolutionDecision(TagCollection tags)
Creates a new decision for the tag collectiontags
. -
Uses of TagCollection in org.openstreetmap.josm.gui.datatransfer.data
Fields in org.openstreetmap.josm.gui.datatransfer.data with type parameters of type TagCollection Modifier and Type Field Description private EnumMap<OsmPrimitiveType,TagCollection>
PrimitiveTagTransferData. tags
Methods in org.openstreetmap.josm.gui.datatransfer.data that return TagCollection Modifier and Type Method Description TagCollection
PrimitiveTagTransferData. getForPrimitives(OsmPrimitiveType type)
Gets the tags used for this primitive type. -
Uses of TagCollection in org.openstreetmap.josm.gui.datatransfer.importers
Methods in org.openstreetmap.josm.gui.datatransfer.importers with parameters of type TagCollection Modifier and Type Method Description protected void
PrimitiveTagTransferPaster.TagPasteSupport. buildTags(TagCollection tc)
-
Uses of TagCollection in org.openstreetmap.josm.gui.tagging
Methods in org.openstreetmap.josm.gui.tagging that return TagCollection Modifier and Type Method Description TagCollection
TagEditorModel. getTagCollection()
Replies the tags in this tag editor model asTagCollection
.Methods in org.openstreetmap.josm.gui.tagging with parameters of type TagCollection Modifier and Type Method Description void
TagEditorModel. initFromTags(TagCollection tags)
Initializes the model with the tags in a tag collection. -
Uses of TagCollection in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io that return TagCollection Modifier and Type Method Description private static TagCollection
GeoJSONReader. getTags(javax.json.JsonObject feature)
private static TagCollection
GeoJSONReader. mergeAllTagValues(OsmPrimitive primitive, TagCollection featureTags)
Methods in org.openstreetmap.josm.io with parameters of type TagCollection Modifier and Type Method Description private static TagCollection
GeoJSONReader. mergeAllTagValues(OsmPrimitive primitive, TagCollection featureTags)
-