Package | Description |
---|---|
org.openstreetmap.josm.actions.corrector |
Provides the classes for JOSM
tag correctors . |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.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.
|
Modifier and Type | Field and Description |
---|---|
private static TagCollection |
ReverseWayNoTagCorrector.DIRECTIONAL_TAGS
Tags that imply a semantic meaning from the way direction and cannot be changed.
|
Modifier and Type | Method and Description |
---|---|
static TagCollection |
ReverseWayNoTagCorrector.getDirectionalTags(Tagged way)
Replies the tags that imply a semantic meaning from
way direction and cannot be changed. |
Modifier and Type | Method and Description |
---|---|
private static boolean |
ReverseWayNoTagCorrector.confirmReverseWay(Way way,
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 |
PasteTagsConflictResolverDialog.getResolution()
Returns conflict resolution.
|
TagCollection |
TagConflictResolverModel.getResolution() |
TagCollection |
PasteTagsConflictResolverDialog.getResolution(OsmPrimitiveType type) |
Modifier and Type | Method and Description |
---|---|
static void |
TagConflictResolutionUtil.applyAutomaticTagConflictResolution(TagCollection tc)
Automatically resolve some tag conflicts.
|
static void |
TagConflictResolutionUtil.applyAutomaticTagConflictResolution(TagCollection tc,
java.util.Collection<TagConflictResolutionUtil.AutomaticTagConflictResolver> resolvers)
Automatically resolve some given conflicts using the given resolvers.
|
protected java.util.List<Command> |
CombinePrimitiveResolverDialog.buildTagChangeCommand(OsmPrimitive primitive,
TagCollection tc)
Builds the list of tag change commands.
|
protected java.util.List<Command> |
CombinePrimitiveResolver.buildTagChangeCommand(OsmPrimitive primitive,
TagCollection tc)
Builds the list of tag change commands.
|
static void |
TagConflictResolutionUtil.completeTagCollectionForEditing(TagCollection tc)
Completes tags in the tag collection
tc with the empty value
for each tag. |
private static java.lang.String |
CombinePrimitiveResolverDialog.getKeyDescription(java.lang.String key,
TagCollection normalizedTags) |
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.
|
(package private) void |
TagConflictResolverModel.populate(TagCollection tags,
java.util.Set<java.lang.String> keysWithConflicts,
boolean fireEvent)
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 | Field and Description |
---|---|
private java.util.EnumMap<OsmPrimitiveType,TagCollection> |
PrimitiveTagTransferData.tags |
Modifier and Type | Method and Description |
---|---|
TagCollection |
PrimitiveTagTransferData.getForPrimitives(OsmPrimitiveType type)
Gets the tags used for this primitive type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PrimitiveTagTransferPaster.TagPasteSupport.buildTags(TagCollection tc) |
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.
|