Modifier and Type | Method and Description |
---|---|
protected <T extends OsmPrimitive> |
PasteTagsAction.TagPaster.getSourceTagsByType(OsmPrimitiveType type)
Replies the collection of tags for all primitives of type
type in the current
selection |
Modifier and Type | Method and Description |
---|---|
protected void |
PasteTagsAction.TagPaster.buildChangeCommand(java.util.Collection<? extends OsmPrimitive> selection,
TagCollection tc) |
Modifier and Type | Field and Description |
---|---|
static TagCollection |
ReverseWayNoTagCorrector.directionalTags
Tags that imply a semantic meaning from the way direction and cannot be changed.
|
Modifier and Type | Method and Description |
---|---|
static TagCollection |
ReverseWayNoTagCorrector.getDirectionalTags(Way way)
Replies the tags that imply a semantic meaning from
way direction and cannot be changed. |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
ReverseWayNoTagCorrector.confirmReverseWay(Way way,
TagCollection tags) |
protected static java.lang.String |
ReverseWayNoTagCorrector.getHTML(TagCollection tags) |
Modifier and Type | Method and Description |
---|---|
static TagCollection |
TagCollection.commonToAllPrimitives(java.util.Collection<? extends Tagged> primitives)
Replies a tag collection with the tags which are common to all primitives in in
primitives . |
TagCollection |
TagCollection.emptyTagsForKeysMissingIn(TagCollection other) |
static TagCollection |
TagCollection.from(java.util.Map<java.lang.String,java.lang.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 specific
OsmPrimitive . |
TagCollection |
TagCollection.getTagsFor(java.util.Collection<java.lang.String> keys)
Replies a tag collection with all tags whose key is equal to one of the keys in
keys . |
TagCollection |
TagCollection.getTagsFor(java.lang.String key)
Replies a tag collection with the tags for a given key.
|
TagCollection |
TagCollection.intersect(TagCollection other)
Builds the intersection of this tag collection and another tag collection
|
TagCollection |
TagCollection.minus(TagCollection other)
Replies the difference of this tag collection and another tag collection
|
TagCollection |
TagCollection.union(TagCollection other)
Replies the union of this tag collection and another tag collection
|
static TagCollection |
TagCollection.unionOfAllPrimitives(java.util.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 dataset
ds . |
Modifier and Type | Method and 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 collection
|
TagCollection |
TagCollection.minus(TagCollection other)
Replies the difference of this tag collection and another tag collection
|
void |
TagCollection.remove(TagCollection tags)
Removes all tags in the tag collection
tags from the current tag collection. |
TagCollection |
TagCollection.union(TagCollection other)
Replies the union of this tag collection and another tag collection
|
Constructor and Description |
---|
TagCollection(TagCollection other)
Creates a clone of the tag collection
other . |
Modifier and Type | Field and Description |
---|---|
private TagCollection |
MultiValueResolutionDecision.tags
the collection of tags for which a decision is needed
|
private TagCollection |
TagConflictResolverModel.tags |
Modifier and Type | Method and Description |
---|---|
TagCollection |
TagConflictResolverModel.getAllResolutions() |
TagCollection |
TagConflictResolverModel.getResolution() |
TagCollection |
PasteTagsConflictResolverDialog.getResolution() |
TagCollection |
PasteTagsConflictResolverDialog.getResolution(OsmPrimitiveType type) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Command> |
CombinePrimitiveResolverDialog.buildTagChangeCommand(OsmPrimitive primitive,
TagCollection tc) |
static void |
TagConflictResolutionUtil.combineTigerTags(TagCollection tc)
Combines tags from TIGER data
|
static void |
TagConflictResolutionUtil.completeTagCollectionForEditing(TagCollection tc)
Completes tags in the tag collection
tc with the empty value
for each tag. |
protected static void |
CombinePrimitiveResolverDialog.informAboutTagConflicts(java.util.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,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Initializes the conflict resolver for a specific type of primitives
|
static java.util.List<Command> |
CombinePrimitiveResolverDialog.launchIfNecessary(TagCollection tagsOfPrimitives,
java.util.Collection<? extends OsmPrimitive> primitives,
java.util.Collection<? extends OsmPrimitive> targetPrimitives)
Replies the list of
commands needed to resolve specified conflicts,
by displaying if necessary a CombinePrimitiveResolverDialog to the user. |
static void |
TagConflictResolutionUtil.normalizeTagCollectionBeforeEditing(TagCollection tc,
java.util.Collection<? extends OsmPrimitive> merged)
Normalizes the tags in the tag collection
tc before resolving tag conflicts. |
void |
PasteTagsConflictResolverDialog.populate(TagCollection tagsForAllPrimitives,
java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Populates the conflict resolver with one tag collection
|
void |
TagConflictResolverModel.populate(TagCollection tags,
java.util.Set<java.lang.String> keysWithConflicts)
Populates the model with the tags for which conflicts are to be resolved.
|
void |
PasteTagsConflictResolverDialog.populate(TagCollection tagsForNodes,
TagCollection tagsForWays,
TagCollection tagsForRelations,
java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics,
java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
Populate the tag conflict resolver with tags for each type of primitives
|
Constructor and Description |
---|
MultiValueResolutionDecision(TagCollection tags)
Creates a new decision for the tag collection
tags . |
Modifier and Type | Method and Description |
---|---|
TagCollection |
TagEditorModel.getTagCollection()
Replies the tags in this tag editor model as
TagCollection . |
Modifier and Type | Method and Description |
---|---|
void |
TagEditorModel.initFromTags(TagCollection tags)
Initializes the model with the tags in a tag collection.
|