Package | Description |
---|---|
org.openstreetmap.josm |
Provides the classes of JOSM application.
|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.downloadtasks | |
org.openstreetmap.josm.actions.mapmode | |
org.openstreetmap.josm.actions.search | |
org.openstreetmap.josm.command |
Provides the classes for JOSM commands allowing to modify an OSM data set.
|
org.openstreetmap.josm.data |
Provides the classes for JOSM managed data.
|
org.openstreetmap.josm.data.osm | |
org.openstreetmap.josm.data.osm.event | |
org.openstreetmap.josm.data.osm.visitor | |
org.openstreetmap.josm.data.osm.visitor.paint | |
org.openstreetmap.josm.data.osm.visitor.paint.relations | |
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.conflict.pair | |
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.dialogs.changeset |
Standalone dialog allowing to handle OSM changesets (query and display them).
|
org.openstreetmap.josm.gui.dialogs.relation |
Toggle dialog allowing to display currently loaded relations and perform operations on them.
|
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.layer.gpx |
Provides classes for handling GPX layers.
|
org.openstreetmap.josm.gui.tagging.ac |
Provides classes for handling autocompletion of tags.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
org.openstreetmap.josm.io.remotecontrol.handler |
Modifier and Type | Method and Description |
---|---|
DataSet |
Main.getCurrentDataSet()
Replies the current data set.
|
Modifier and Type | Method and Description |
---|---|
static DataSet |
JosmAction.getCurrentDataSet()
Replies the current dataset.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectNonBranchingWaySequences.extend(DataSet data)
Extend the current selection
|
protected java.util.Set<OsmPrimitive> |
UploadSelectionAction.getDeletedPrimitives(DataSet ds) |
Modifier and Type | Field and Description |
---|---|
protected DataSet |
DownloadOsmTask.AbstractInternalTask.dataSet |
private DataSet |
DownloadReferrersTask.parents
the parents
|
Modifier and Type | Method and Description |
---|---|
protected DataSet |
DownloadOsmChangeTask.DownloadTask.parseDataSet() |
protected DataSet |
DownloadOsmTask.DownloadTask.parseDataSet() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<OsmPrimitive> |
DownloadTaskList.getCompletePrimitives(DataSet ds)
Replies the set of ids of all complete, non-new primitives (i.e.
|
Modifier and Type | Method and Description |
---|---|
private static void |
DrawAction.addRemoveSelection(DataSet ds,
OsmPrimitive toAdd,
OsmPrimitive toRemove) |
Modifier and Type | Field and Description |
---|---|
private DataSet |
SearchAction.SearchTask.ds |
Constructor and Description |
---|
SearchTask(DataSet ds,
SearchAction.SearchSetting setting,
java.util.Collection<OsmPrimitive> selection,
Predicate<OsmPrimitive> predicate) |
Modifier and Type | Field and Description |
---|---|
protected DataSet |
PurgeCommand.ds |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<DataSet> |
AutosaveTask.changedDatasets |
Modifier and Type | Method and Description |
---|---|
void |
APIDataSet.init(DataSet ds)
initializes the API data set with the modified primitives in
ds |
Constructor and Description |
---|
APIDataSet(DataSet ds)
initializes the API data set with the modified primitives in
ds |
Modifier and Type | Field and Description |
---|---|
private DataSet |
OsmPrimitive.dataSet
the parent dataset
|
private DataSet |
DatasetConsistencyTest.dataSet |
private DataSet |
DatasetFactory.ds |
private DataSet |
DataSetMerger.sourceDataSet
the source dataset where primitives are merged from
|
private DataSet |
DataSetMerger.targetDataSet
the target dataset for merging
|
Modifier and Type | Method and Description |
---|---|
DataSet |
DataSet.clone() |
DataSet |
OsmPrimitive.getDataSet() |
DataSet |
DataSetMerger.getTargetDataSet()
replies my dataset
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.mergeFrom(DataSet from)
Moves all primitives and datasources from DataSet "from" to this DataSet.
|
void |
DataSet.mergeFrom(DataSet from,
ProgressMonitor progressMonitor)
Moves all primitives and datasources from DataSet "from" to this DataSet.
|
static java.lang.String |
DatasetConsistencyTest.runTests(DataSet dataSet)
Runs test on the given dataset.
|
(package private) void |
Relation.setDataset(DataSet dataSet) |
(package private) void |
OsmPrimitive.setDataset(DataSet dataSet)
This method should never ever by called from somewhere else than Dataset.addPrimitive or removePrimitive methods
|
(package private) void |
Node.setDataset(DataSet dataSet) |
(package private) void |
Way.setDataset(DataSet dataSet) |
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 . |
Constructor and Description |
---|
DatasetConsistencyTest(DataSet dataSet,
java.io.Writer writer)
Constructs a new
DatasetConsistencyTest . |
DatasetFactory(DataSet ds) |
DataSetMerger(DataSet targetDataSet,
DataSet sourceDataSet)
constructor
The visitor will merge
sourceDataSet onto targetDataSet |
Modifier and Type | Field and Description |
---|---|
protected DataSet |
AbstractDatasetChangedEvent.dataSet |
Modifier and Type | Method and Description |
---|---|
DataSet |
AbstractDatasetChangedEvent.getDataset() |
Constructor and Description |
---|
AbstractDatasetChangedEvent(DataSet dataSet) |
ChangesetIdChangedEvent(DataSet dataSet,
java.util.List<OsmPrimitive> primitives,
int oldChangesetId,
int newChangesetId) |
DataChangedEvent(DataSet dataSet) |
DataChangedEvent(DataSet dataSet,
java.util.List<AbstractDatasetChangedEvent> events) |
NodeMovedEvent(DataSet dataSet,
Node node) |
PrimitiveFlagsChangedEvent(DataSet dataSet,
OsmPrimitive primitive) |
PrimitivesAddedEvent(DataSet dataSet,
java.util.Collection<? extends OsmPrimitive> primitives,
boolean wasIncomplete) |
PrimitivesRemovedEvent(DataSet dataSet,
java.util.Collection<? extends OsmPrimitive> primitives,
boolean wasComplete) |
RelationMembersChangedEvent(DataSet dataSet,
Relation relation) |
TagsChangedEvent(DataSet dataSet,
OsmPrimitive primitive,
java.util.Map<java.lang.String,java.lang.String> originalKeys) |
WayNodesChangedEvent(DataSet dataSet,
Way way) |
Modifier and Type | Field and Description |
---|---|
private DataSet |
MergeSourceBuildingVisitor.hull |
private DataSet |
MergeSourceBuildingVisitor.selectionBase |
Modifier and Type | Method and Description |
---|---|
DataSet |
MergeSourceBuildingVisitor.build()
Builds and returns the "hull".
|
Constructor and Description |
---|
MergeSourceBuildingVisitor(DataSet selectionBase)
Creates the visitor.
|
Modifier and Type | Field and Description |
---|---|
private DataSet |
WireframeMapRenderer.ds
DataSet passed to the @{link render} function to overcome the argument
limitations of @{link Visitor} interface. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMapRenderer.drawVirtualNodes(DataSet data,
BBox bbox)
Draws virtual nodes.
|
void |
StyledMapRenderer.render(DataSet data,
boolean renderVirtualNodes,
Bounds bounds) |
void |
Rendering.render(DataSet data,
boolean renderVirtualNodes,
Bounds bbox)
Renders the OSM data in
data |
void |
WireframeMapRenderer.render(DataSet data,
boolean virtual,
Bounds bounds)
Renders the dataset for display.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<NavigatableComponent,java.util.Map<DataSet,java.util.Map<Relation,Multipolygon>>> |
MultipolygonCache.cache |
Modifier and Type | Method and Description |
---|---|
void |
MultipolygonCache.clear(DataSet ds)
Clears the cache for the given dataset.
|
private java.util.Collection<java.util.Map<Relation,Multipolygon>> |
MultipolygonCache.getMapsFor(DataSet ds) |
private void |
Multipolygon.PolyData.resetNodes(DataSet dataSet) |
private void |
MultipolygonCache.updateMultipolygonsReferringTo(AbstractDatasetChangedEvent event,
java.util.Collection<? extends OsmPrimitive> primitives,
DataSet ds) |
private java.util.Collection<java.util.Map<Relation,Multipolygon>> |
MultipolygonCache.updateMultipolygonsReferringTo(AbstractDatasetChangedEvent event,
java.util.Collection<? extends OsmPrimitive> primitives,
DataSet ds,
java.util.Collection<java.util.Map<Relation,Multipolygon>> initialMaps) |
Modifier and Type | Method and Description |
---|---|
protected DataSet |
MapView.getCurrentDataSet()
Deprecated.
Use
Main.getLayerManager() instead. |
protected DataSet |
NavigatableComponent.getCurrentDataSet() |
Modifier and Type | Field and Description |
---|---|
private DataSet |
ListMergeModel.myDataset |
Modifier and Type | Method and Description |
---|---|
void |
ChangesetDialog.SelectObjectsAction.selectObjectsByChangesetIds(DataSet ds,
java.util.Set<java.lang.Integer> ids) |
Modifier and Type | Method and Description |
---|---|
void |
ChangesetListModel.initFromDataSet(DataSet ds) |
Modifier and Type | Field and Description |
---|---|
private DataSet |
RelationTree.RelationLoader.ds |
private DataSet |
MemberRoleCellEditor.ds |
private DataSet |
ParentRelationLoadingTask.referrers |
Modifier and Type | Method and Description |
---|---|
protected void |
ChildRelationBrowser.DownloadAllChildrenTask.mergeDataSet(DataSet ds)
Merges the primitives in
ds to the dataset of the
edit layer |
protected void |
ChildRelationBrowser.DownloadRelationSetTask.mergeDataSet(DataSet dataSet) |
void |
ReferringRelationsBrowserModel.populate(DataSet ds)
Populates the browser with the list of referring relations in the
DataSet ds. |
Constructor and Description |
---|
MemberRoleCellEditor(DataSet ds,
Relation relation)
Constructs a new
MemberRoleCellEditor . |
MemberTableColumnModel(DataSet ds,
Relation relation)
Constructs a new
MemberTableColumnModel . |
Modifier and Type | Field and Description |
---|---|
private DataSet |
UploadDialog.dataSet |
protected DataSet |
AbstractPrimitiveTask.ds |
Modifier and Type | Method and Description |
---|---|
void |
UploadDialog.setChangesetTags(DataSet dataSet)
Sets the tags for this upload based on (later items overwrite earlier ones):
previous "source" and "comment" input
the tags set in the dataset (see
getChangeSetTags() )
the tags from the selected open changeset
the JOSM user agent (see Version.getAgentString(boolean) )
|
Modifier and Type | Field and Description |
---|---|
DataSet |
OsmDataLayer.data
The data behind this layer.
|
Modifier and Type | Method and Description |
---|---|
DataSet |
MainLayerManager.getEditDataSet()
Gets the data set of the active edit layer.
|
Modifier and Type | Method and Description |
---|---|
void |
OsmDataLayer.mergeFrom(DataSet from)
merges the primitives in dataset
from into the dataset of
this layer |
void |
OsmDataLayer.mergeFrom(DataSet from,
ProgressMonitor progressMonitor)
merges the primitives in dataset
from into the dataset of this layer |
static GpxData |
OsmDataLayer.toGpxData(DataSet data,
java.io.File file)
Converts given OSM dataset to GPX data.
|
Constructor and Description |
---|
OsmDataLayer(DataSet data,
java.lang.String name,
java.io.File associatedFile)
Construct a new
OsmDataLayer . |
Modifier and Type | Method and Description |
---|---|
abstract DataSet |
ConvertToDataLayerAction.convert()
Performs the conversion to a
DataSet . |
DataSet |
ConvertToDataLayerAction.FromGpxLayer.convert() |
DataSet |
ConvertToDataLayerAction.FromMarkerLayer.convert() |
Modifier and Type | Field and Description |
---|---|
protected DataSet |
AutoCompletionManager.ds
The data set that is managed
|
Constructor and Description |
---|
AutoCompletionManager(DataSet ds)
Constructs a new
AutoCompletionManager . |
Modifier and Type | Field and Description |
---|---|
DataSet |
MultiFetchServerObjectReader.FetchResult.dataSet
The resulting data set
|
protected DataSet |
AbstractReader.ds
The dataset to add parsed objects to.
|
private DataSet |
MultiFetchServerObjectReader.outputDataSet |
Modifier and Type | Method and Description |
---|---|
protected DataSet |
OsmReader.doParseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor) |
DataSet |
AbstractReader.getDataSet()
Replies the parsed data set
|
private DataSet |
OsmServerBackreferenceReader.getReferringPrimitives(ProgressMonitor progressMonitor,
java.lang.String type,
java.lang.String message) |
protected DataSet |
OsmServerBackreferenceReader.getReferringRelations(ProgressMonitor progressMonitor)
Reads referring relations from the API server and replies them in a
DataSet |
protected DataSet |
OsmServerBackreferenceReader.getReferringWays(ProgressMonitor progressMonitor)
Reads referring ways from the API server and replies them in a
DataSet |
DataSet |
OsmServerLocationReader.OsmParser.parse() |
DataSet |
OsmServerLocationReader.OsmChangeParser.parse() |
static DataSet |
OsmReader.parseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.
|
static DataSet |
OsmChangeReader.parseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.
|
protected DataSet |
OverpassDownloadReader.parseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor) |
protected DataSet |
BoundingBoxDownloader.parseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.
|
protected DataSet |
OsmImporter.parseDataSet(java.io.InputStream in,
ProgressMonitor progressMonitor) |
DataSet |
OverpassDownloadReader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
BoundingBoxDownloader.parseOsm(ProgressMonitor progressMonitor) |
abstract DataSet |
OsmServerReader.parseOsm(ProgressMonitor progressMonitor)
Download OSM files from somewhere
|
DataSet |
OsmServerObjectReader.parseOsm(ProgressMonitor progressMonitor)
Downloads and parses the data.
|
DataSet |
OsmServerLocationReader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
MultiFetchServerObjectReader.parseOsm(ProgressMonitor progressMonitor)
invokes one or more Multi Gets to fetch the
OsmPrimitive s and replies
the dataset of retrieved primitives. |
DataSet |
MultiFetchServerObjectReader.Fetcher.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
OsmServerBackreferenceReader.parseOsm(ProgressMonitor progressMonitor)
Reads the referring primitives from the OSM server, parses them and
replies them as
DataSet |
DataSet |
OsmServerUserInfoReader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
OsmServerHistoryReader.parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!
|
DataSet |
OsmServerChangesetReader.parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!
|
DataSet |
OsmServerReader.parseOsmBzip2(ProgressMonitor progressMonitor)
Download BZip2-compressed OSM files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmBzip2(ProgressMonitor progressMonitor) |
DataSet |
OsmServerReader.parseOsmChange(ProgressMonitor progressMonitor)
Download OSM Change files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmChange(ProgressMonitor progressMonitor) |
DataSet |
OsmServerReader.parseOsmChangeBzip2(ProgressMonitor progressMonitor)
Download BZip2-compressed OSM Change files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmChangeBzip2(ProgressMonitor progressMonitor) |
DataSet |
OsmServerReader.parseOsmChangeGzip(ProgressMonitor progressMonitor)
Download GZip-compressed OSM Change files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmChangeGzip(ProgressMonitor progressMonitor) |
DataSet |
OsmServerReader.parseOsmGzip(ProgressMonitor progressMonitor)
Download GZip-compressed OSM files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmGzip(ProgressMonitor progressMonitor) |
DataSet |
OsmServerReader.parseOsmZip(ProgressMonitor progressMonitor)
Download Zip-compressed OSM files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmZip(ProgressMonitor progressMonitor) |
protected DataSet |
OsmServerBackreferenceReader.readIncompletePrimitives(DataSet ds,
ProgressMonitor progressMonitor)
Scans a dataset for incomplete primitives.
|
protected DataSet |
MultiFetchServerObjectReader.Fetcher.singleGetId(OsmPrimitiveType type,
long id,
ProgressMonitor progressMonitor)
invokes a Multi Get for a single id and a given
OsmPrimitiveType . |
Modifier and Type | Method and Description |
---|---|
protected void |
OsmChangeImporter.addDataLayer(DataSet dataSet,
OsmDataLayer layer,
java.lang.String filePath) |
MultiFetchServerObjectReader |
MultiFetchServerObjectReader.append(DataSet ds,
long id,
OsmPrimitiveType type)
appends a
OsmPrimitive id to the list of ids which will be fetched from the server. |
protected void |
GeoJSONWriter.appendLayerBounds(DataSet ds,
JsonObjectBuilder object) |
protected void |
GeoJSONWriter.appendLayerFeatures(DataSet ds,
JsonObjectBuilder object) |
protected OsmDataLayer |
OsmImporter.createLayer(DataSet dataSet,
java.io.File associatedFile,
java.lang.String layerName) |
protected java.lang.Runnable |
OsmImporter.createPostLayerTask(DataSet dataSet,
java.io.File associatedFile,
java.lang.String layerName,
OsmDataLayer layer) |
protected void |
MultiFetchServerObjectReader.merge(DataSet from)
merges the dataset
from to MultiFetchServerObjectReader.outputDataSet . |
void |
OsmServerReadPostprocessor.postprocessDataSet(DataSet ds,
ProgressMonitor progress) |
protected DataSet |
OsmServerBackreferenceReader.readIncompletePrimitives(DataSet ds,
ProgressMonitor progressMonitor)
Scans a dataset for incomplete primitives.
|
protected void |
MultiFetchServerObjectReader.rememberNodesOfIncompleteWaysToLoad(DataSet from) |
void |
OsmWriter.writeContent(DataSet ds)
Writes the contents of the given dataset (nodes, then ways, then relations)
|
void |
OsmWriter.writeDataSources(DataSet ds) |
Constructor and Description |
---|
FetchResult(DataSet dataSet,
java.util.Set<PrimitiveId> missingPrimitives)
Constructs a
FetchResult |
Modifier and Type | Field and Description |
---|---|
private DataSet |
LoadDataHandler.dataSet
Holds the parsed data set
|
Constructor and Description |
---|
LoadDataTask(boolean newLayer,
DataSet dataSet,
java.lang.String layerName)
Constructs a new
LoadDataTask . |