Package org.openstreetmap.josm.data.osm
Provides the classes for OSM data:
Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
- Utilities classes
-
Interface Summary Interface Description ChangesetCacheEvent An event indicating a change in theChangesetCache
ChangesetCacheListener A listener that listens to changes on theChangesetCache
ChangesetDataSet.ChangesetDataSetEntry An entry in the changeset dataset.DataSelectionListener This is a listener that listens to selection change events in the data set.DataSelectionListener.SelectionChangeEvent The event that is fired when the selection changed.DataSourceChangeEvent The event that is fired when the data source list is changed.DataSourceListener This is a listener that listens to selection change events in the data set.Hash<K,T> An interface allowing injection of hashcode and equality implementation based on some inner state of an object for a set.HighlightUpdateListener This is a listener that listens to highlight segment changes.IFilterablePrimitive An interface used to indicate that a primitive is filterableINode IOsmDataManager Global OSM dataset registry.IPrimitive IPrimitive captures the common functions ofOsmPrimitive
andPrimitiveData
.IRelation<M extends IRelationMember<? extends IPrimitive>> IRelation captures the common functions ofRelation
andRelationData
.IRelationMember<P extends IPrimitive> IRelationMember captures the common functions ofRelationMember
andRelationMemberData
.IWay<N extends INode> KeyValueVisitor This is a visitor that can be used to loop over the keys/values of this primitive.Lockable To be implemented by modifiable objects to offer a "read-only/locked" mode.NameFormatter Formats a name for anIPrimitive
.NameFormatterHook Hooks that allow correcting the name of a OSM primitiveNoteData.NoteDataUpdateListener A listener that can be informed on note data changes.OsmData<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>> Abstraction ofDataSet
.PrimitiveId interface to represent identification and type of the datatypes primitives.Stylable Object that can be rendered using a cacheable style.Tagged Objects implement Tagged if they provide a map of key/value pairs. -
Class Summary Class Description AbstractDataSourceChangeEvent The base class for data source change eventsAbstractPrimitive Abstract class to represent common features of the datatypes primitives.BBox A BBox represents an area in lat/lon space.BBox.Immutable Changeset Represents a single changeset in JOSM.ChangesetCache ChangesetCache is global in-memory cache for changesets downloaded from an OSM API server.ChangesetDataSet A ChangesetDataSet holds the content of a changeset.ChangesetDataSet.DefaultChangesetDataSetEntry Class to keep one entry of a changeset: the combination of modification type and primitive.ChangesetDataSet.DefaultIterator ChangesetDiscussionComment A comment in a public changeset discussion.DataSelectionListener.AbstractSelectionEvent The base class for selection eventsDataSelectionListener.SelectionAddEvent Primitives are added to the selectionDataSelectionListener.SelectionRemoveEvent Primitives are removed from the selectionDataSelectionListener.SelectionReplaceEvent The selection is replaced by a new selectionDataSelectionListener.SelectionToggleEvent Toggle the selected state of a primitiveDataSet DataSet is the data behind the application.DatasetConsistencyTest This class can be used to run consistency tests on dataset.DataSetMerger A dataset merger which takes a target and a source dataset and merges the source data set onto the target dataset.DefaultChangesetCacheEvent The default event implementation that is used to indicate a change in theChangesetCache
DefaultNameFormatter This is the default implementation of aNameFormatter
for names ofIPrimitive
s andHistoryOsmPrimitive
s.Filter Data class representing one entry in the filter dialog.Filter.FilterPreferenceEntry The class for storing and retrieving a filter from a preference entryFilterMatcher Class that encapsulates the filter logic, i.e. applies a list of filters to a primitive.FilterMatcher.FilterInfo FilterModel The model that is used both for auto and manual filters.FilterWorker Class for applyingFilter
s toIPrimitive
s.HighlightUpdateListener.HighlightUpdateEvent An event that is fired whenever highlighting on the OSMDataSet
changed.IWaySegment<N extends INode,W extends IWay<N>> A segment consisting of 2 consecutive nodes out of a way.MultipolygonBuilder Helper class to build multipolygons from multiple ways.MultipolygonBuilder.JoinedPolygon Represents one polygon that consists of multiple ways.Node One node data, consisting of one world coordinate waypoint.NodeData The data on a single node (tags and position) that is stored in the databaseNodeGraph A directed or undirected graph of nodes.NodePair A directed pair of nodes (a,b != b,a).NodePositionComparator Provides some node order , based on coordinates, nodes with equal coordinates are equal.NoteData Class to hold and perform operations on a set of notesOsmDataManager Global OSM dataset registry.OsmDataManager.InstanceHolder OsmPrimitive OsmPrimitiveComparator Comparators for comparingOsmPrimitive
.OsmUtils Utility methods/constants that are useful for generic OSM tag handling.PrimitiveComparator Comparators for comparingIPrimitive
.PrimitiveData This class can be used to save properties of OsmPrimitive.QuadBucketPrimitiveStore<N extends INode,W extends IWay<N>,R extends IRelation<?>> 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> Relation A relation, having a set of tags and any number (0...n) of members.RelationData Relation data.RelationMember A linkage class that can be used by an relation to keep a list of members.RelationMemberData This is the data (role, type and id) that is stored in the database for a given relation member.RelationToChildReference This is an extension ofRelationMember
that stores the parent relation and the index in it in addition to the role/child.SimplePrimitiveId A primitive id and a primitive typeStorage<T> A Set-like class that allows looking up equivalent preexisting instance.Storage.PrimitiveIdHash Hash forPrimitiveId
.Tag Tag represents an immutable key/value-pair.TagCollection TagCollection is a collection of tags which can be used to manipulate tags managed byOsmPrimitive
s.TagMap This class provides a read/write map that uses the same format asAbstractPrimitive.keys
.TagMap.TagEntryIterator An iterator that iterates over the tags in this map.TagMap.TagEntrySet This is the entry set of this map.Tags Class representing multiple values of a given key.UniqueIdGenerator Generator of unique identifiers.User A simple class to keep a list of user names.UserInfo Public user information.Way One full way, consisting of a list of waynodes
.WayData The data (tags and node ids) that is stored for a way in the database.WaySegment A segment consisting of two consecutive nodes out of a way. -
Enum Summary Enum Description ChangesetDataSet.ChangesetModificationType Type of primitive modification.DownloadPolicy Download policy.FilterMatcher.FilterType Describes quality of the filtering.OsmPrimitiveType OSM primitive type.UploadPolicy Upload policy. -
Exception Summary Exception Description CyclicUploadDependencyException This is an exception that is thrown if the user attempts to upload a list of relations with a cyclic dependency in themDataIntegrityProblemException Exception thrown when a primitive or data set does not pass its integrity checks.MultipolygonBuilder.JoinedPolygonCreationException An exception indicating an error while joining ways to multipolygon rings.