Package org.openstreetmap.josm.data.osm
package org.openstreetmap.josm.data.osm
Provides the classes for OSM data:
Primitives:Node,Way,RelationUsersTagsChangesets- Utilities classes
-
ClassDescriptionThe base class for data source change eventsAbstract class to represent common features of the datatypes primitives.A BBox represents an area in lat/lon space.Represents a single changeset in JOSM.ChangesetCache is global in-memory cache for changesets downloaded from an OSM API server.An event indicating a change in the
ChangesetCacheA listener that listens to changes on theChangesetCacheA ChangesetDataSet holds the content of a changeset.An entry in the changeset dataset.Type of primitive modification.Class to keep one entry of a changeset: the combination of modification type and primitive.A comment in a public changeset discussion.This is an exception that is thrown if the user attempts to upload a list of relations with a cyclic dependency in themException thrown when a primitive or data set does not pass its integrity checks.This is a listener that listens to selection change events in the data set.The base class for selection eventsPrimitives are added to the selectionThe event that is fired when the selection changed.Primitives are removed from the selectionThe selection is replaced by a new selectionToggle the selected state of a primitiveDataSet is the data behind the application.This class can be used to run consistency tests on dataset.A dataset merger which takes a target and a source dataset and merges the source data set onto the target dataset.The event that is fired when the data source list is changed.This is a listener that listens to selection change events in the data set.The default event implementation that is used to indicate a change in theChangesetCacheThis is the default implementation of aNameFormatterfor names ofIPrimitives andHistoryOsmPrimitives.Download policy.Data class representing one entry in the filter dialog.The class for storing and retrieving a filter from a preference entryClass that encapsulates the filter logic, i.e. applies a list of filters to a primitive.Describes quality of the filtering.The model that is used both for auto and manual filters.Class for applyingFilters toIPrimitives.Hash<K,T> An interface allowing injection of hashcode and equality implementation based on some inner state of an object for a set.This is a listener that listens to highlight segment changes.An event that is fired whenever highlighting on the OSMDataSetchanged.An interface used to indicate that a primitive is filterableGlobal OSM dataset registry.IPrimitive captures the common functions ofOsmPrimitiveandPrimitiveData.IRelation captures the common functions ofRelationandRelationData.IRelationMember<P extends IPrimitive>IRelationMember captures the common functions ofRelationMemberandRelationMemberData.A segment consisting of 2 consecutive nodes out of a way.This is a visitor that can be used to loop over the keys/values of this primitive.To be implemented by modifiable objects to offer a "read-only/locked" mode.Helper class to build multipolygons from multiple ways.Represents one polygon that consists of multiple ways.An exception indicating an error while joining ways to multipolygon rings.Formats a name for anIPrimitive.Hooks that allow correcting the name of a OSM primitiveOne node data, consisting of one world coordinate waypoint.The data on a single node (tags and position) that is stored in the databaseA directed or undirected graph of nodes.A directed pair of nodes (a,b != b,a).Provides some node order , based on coordinates, nodes with equal coordinates are equal.Class to hold and perform operations on a set of notesA listener that can be informed on note data changes.Abstraction ofDataSet.Global OSM dataset registry.Comparators for comparingOsmPrimitive.OSM primitive type.Utility methods/constants that are useful for generic OSM tag handling.Comparators for comparingIPrimitive.This class can be used to save properties of OsmPrimitive.interface to represent identification and type of the datatypes primitives.Stores primitives in quad buckets.QuadBuckets<T extends IQuadBucketType>Note: bbox of primitives added to QuadBuckets has to stay the same.QuadBuckets.QBLevel<T extends IQuadBucketType>A relation, having a set of tags and any number (0...n) of members.Relation data.A linkage class that can be used by an relation to keep a list of members.This is the data (role, type and id) that is stored in the database for a given relation member.This is an extension ofRelationMemberthat stores the parent relation and the index in it in addition to the role/child.A primitive id and a primitive typeStorage<T>A Set-like class that allows looking up equivalent preexisting instance.Hash forPrimitiveId.Object that can be rendered using a cacheable style.Tag represents an immutable key/value-pair.TagCollection is a collection of tags which can be used to manipulate tags managed byOsmPrimitives.Objects implement Tagged if they provide a map of key/value pairs.This class provides a read/write map that uses the same format asAbstractPrimitive.keys.An iterator that iterates over the tags in this map.This is the entry set of this map.Class representing multiple values of a given key.Generator of unique identifiers.Upload policy.A simple class to keep a list of user names.Public user information.One full way, consisting of a list of waynodes.The data (tags and node ids) that is stored for a way in the database.A segment consisting of two consecutive nodes out of a way.