Uses of Class
org.openstreetmap.josm.data.osm.DataSet
-
Packages that use DataSet Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.corrector Provides the classes for JOSMtag correctors
.org.openstreetmap.josm.actions.downloadtasks Provides the classes for JOSMdownload tasks
.org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap modes
.org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set.org.openstreetmap.josm.command.conflict Provides commands for handling conflicts.org.openstreetmap.josm.data Provides the classes for JOSM managed data.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.data.osm.event Provides the classes for OSM dataset events.org.openstreetmap.josm.data.osm.visitor Provides the classes for performing actions on OSM primitives using Visitor design pattern.org.openstreetmap.josm.data.osm.visitor.paint.relations Provides the classes for painting and cachingMultipolygon
relations.org.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.org.openstreetmap.josm.gui.conflict.pair Provides the classes for displaying conflicts as pair of lists.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 elseorg.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.download Provides GUI classes for the download dialog.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.gui.io.importexport Provides GUI classes for handling file import/export operations.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.mappaint Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.org.openstreetmap.josm.gui.preferences.advanced Provides classes for handling advanced preferences.org.openstreetmap.josm.gui.tagging.ac Provides GUI classes for handling autocompletion of tags.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.io.remotecontrol.handler Provides the classes for remote control handlers (features exposed to the browser).org.openstreetmap.josm.io.session Provides the classes for user sessions import/export.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of DataSet in org.openstreetmap.josm.actions
Fields in org.openstreetmap.josm.actions declared as DataSet Modifier and Type Field Description private DataSet
JoinAreasAction. ds
Methods in org.openstreetmap.josm.actions with parameters of type DataSet Modifier and Type Method Description static Command
AlignInCircleAction. buildCommand(DataSet ds)
Builds "align in circle" command depending on the selected objects.Command
AlignInLineAction. buildCommand(DataSet ds)
Builds "align in line" command depending on the selected objects.void
SelectNonBranchingWaySequences. extend(DataSet data)
Extend the current selectionprotected Set<OsmPrimitive>
UploadSelectionAction. getDeletedPrimitives(DataSet ds)
static Collection<OsmPrimitive>
SelectByInternalPointAction. getSurroundingObjects(DataSet ds, EastNorth internalPoint, boolean includeMultipolygonWays)
Returns the surrounding polygons/multipolygons ordered by their area size (from small to large) which contain the internal point.static void
CreateCircleAction. runOn(DataSet ds)
Run the action on the given dataset.static void
SplitWayAction. runOn(DataSet ds)
Run the action on the given dataset. -
Uses of DataSet in org.openstreetmap.josm.actions.corrector
Methods in org.openstreetmap.josm.actions.corrector with parameters of type DataSet Modifier and Type Method Description protected Collection<Command>
TagCorrector. applyCorrections(DataSet dataSet, Map<OsmPrimitive,List<TagCorrection>> tagCorrectionsMap, Map<OsmPrimitive,List<RoleCorrection>> roleCorrectionMap, String description)
Creates the commands to correct the tags. -
Uses of DataSet in org.openstreetmap.josm.actions.downloadtasks
Fields in org.openstreetmap.josm.actions.downloadtasks declared as DataSet Modifier and Type Field Description protected DataSet
DownloadOsmTask.AbstractInternalTask. dataSet
private DataSet
DownloadReferrersTask. parents
the parentsMethods in org.openstreetmap.josm.actions.downloadtasks that return DataSet Modifier and Type Method Description protected DataSet
DownloadOsmChangeTask.DownloadTask. parseDataSet()
protected DataSet
DownloadOsmTask.DownloadTask. parseDataSet()
Methods in org.openstreetmap.josm.actions.downloadtasks with parameters of type DataSet Modifier and Type Method Description protected OsmDataLayer
DownloadGeoJsonTask.InternalDownloadTask. createNewLayer(DataSet dataSet, Optional<String> layerName)
protected OsmDataLayer
DownloadOsmTask.AbstractInternalTask. createNewLayer(DataSet ds, Optional<String> layerName)
Can be overridden (e.g.protected Set<OsmPrimitive>
DownloadTaskList. getCompletePrimitives(DataSet ds)
Replies the set of ids of all complete, non-new primitives (i.e.protected Collection<OsmPrimitive>
DownloadOsmTask. searchPotentiallyDeletedPrimitives(DataSet ds)
protected Collection<OsmPrimitive>
DownloadOsmTask.AbstractInternalTask. searchPrimitivesToUpdate(Bounds bounds, DataSet ds)
Look for primitives deleted on server (thus absent from downloaded data) but still present in existing data layer -
Uses of DataSet in org.openstreetmap.josm.actions.mapmode
Methods in org.openstreetmap.josm.actions.mapmode with parameters of type DataSet Modifier and Type Method Description private static void
DrawAction. addRemoveSelection(DataSet ds, OsmPrimitive toAdd, OsmPrimitive toRemove)
private static void
DrawAction. addSelection(DataSet ds, OsmPrimitive toAdd)
private static void
DrawAction. clearSelection(DataSet ds, OsmPrimitive toRemove)
private static Command
SelectAction. getLastCommandInDataset(DataSet ds)
Obtain command in undoRedo stack to "continue" when draggingprivate static void
DrawAction. setSelection(DataSet ds, Collection<OsmPrimitive> toSet)
private static void
DrawAction. setSelection(DataSet ds, OsmPrimitive toSet)
-
Uses of DataSet in org.openstreetmap.josm.command
Fields in org.openstreetmap.josm.command declared as DataSet Modifier and Type Field Description private DataSet
Command. data
the dataset which this command is applied toMethods in org.openstreetmap.josm.command that return DataSet Modifier and Type Method Description DataSet
Command. getAffectedDataSet()
Gets the data set this command affects.Constructors in org.openstreetmap.josm.command with parameters of type DataSet Constructor Description AbstractNodesCommand(DataSet ds, Way way, C cmdNodes)
Constructs a newAbstractNodesCommand
.AddCommand(DataSet data, OsmPrimitive osm)
Creates the command and specify the element to add in the context of the given data set.AddPrimitivesCommand(List<PrimitiveData> data, List<PrimitiveData> toSelect, DataSet ds)
Constructs a newAddPrimitivesCommand
to add data to the given data set.AddPrimitivesCommand(List<PrimitiveData> data, DataSet ds)
Constructs a newAddPrimitivesCommand
to add data to the given data set.ChangeCommand(DataSet data, OsmPrimitive osm, OsmPrimitive newOsm)
Constructs a newChangeCommand
in the context of a given data set.ChangeMembersCommand(DataSet data, Relation relation, List<RelationMember> newMembers)
Constructs a newChangeMembersCommand
in the context of a given data set.ChangeNodesCommand(DataSet ds, Way way, List<Node> newNodes)
Constructs a newChangeNodesCommand
.ChangePropertyCommand(DataSet ds, Collection<? extends OsmPrimitive> objects, Map<String,String> tags)
Creates a command to change multiple tags of multiple objectsChangePropertyKeyCommand(DataSet ds, Collection<? extends OsmPrimitive> objects, String key, String newKey)
Constructs a newChangePropertyKeyCommand
.ChangeRelationMemberRoleCommand(DataSet dataSet, Relation relation, int position, String newRole)
Constructs a newChangeRelationMemberRoleCommand
.Command(DataSet data)
Creates a new command in the context of a specific data set, without data layerDeleteCommand(DataSet dataset, Collection<? extends OsmPrimitive> data)
Constructor for a collection of data to be deleted in the context of a specific data setDeleteCommand(DataSet dataset, OsmPrimitive data)
Constructor for a single data item.MoveCommand(DataSet ds, Collection<OsmPrimitive> objects, double x, double y)
Constructs a newMoveCommand
and assign the initial object set and movement vector.MoveCommand(DataSet ds, Collection<OsmPrimitive> objects, EastNorth start, EastNorth end)
Constructs a newMoveCommand
to move a collection of primitives.MoveCommand(DataSet ds, OsmPrimitive p, EastNorth start, EastNorth end)
Constructs a newMoveCommand
to move a primitive.PurgeCommand(DataSet data, Collection<OsmPrimitive> toPurge, Collection<OsmPrimitive> makeIncomplete)
Constructs a newPurgeCommand
(does not handle conflicts).RemoveNodesCommand(DataSet ds, Way way, Set<Node> rmNodes)
Constructs a newRemoveNodesCommand
.SelectCommand(DataSet dataset, Collection<OsmPrimitive> newSelection)
Constructs a new select command.SequenceCommand(DataSet ds, String name, Collection<Command> sequenz, boolean continueOnError)
Create the command by specifying the list of commands to execute. -
Uses of DataSet in org.openstreetmap.josm.command.conflict
Constructors in org.openstreetmap.josm.command.conflict with parameters of type DataSet Constructor Description ConflictAddCommand(DataSet ds, Conflict<? extends OsmPrimitive> conflict)
Constructs a newConflictAddCommand
.ConflictResolveCommand(DataSet ds)
Constructs a newConflictResolveCommand
in the context of a given data set. -
Uses of DataSet in org.openstreetmap.josm.data
Fields in org.openstreetmap.josm.data declared as DataSet Modifier and Type Field Description private DataSet
UndoRedoHandler.CommandQueueCleanedEvent. ds
Methods in org.openstreetmap.josm.data that return DataSet Modifier and Type Method Description DataSet
UndoRedoHandler.CommandQueueCleanedEvent. getDataSet()
Returns the affected dataset.Methods in org.openstreetmap.josm.data with parameters of type DataSet Modifier and Type Method Description void
UndoRedoHandler. clean(DataSet dataSet)
Resets all commands that affect the given dataset.void
APIDataSet. init(DataSet ds)
initializes the API data set with the modified primitives inds
Constructors in org.openstreetmap.josm.data with parameters of type DataSet Constructor Description APIDataSet(DataSet ds)
initializes the API data set with the modified primitives inds
CommandQueueCleanedEvent(UndoRedoHandler source, DataSet ds)
-
Uses of DataSet in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm declared as DataSet Modifier and Type Field Description private DataSet
DatasetConsistencyTest. dataSet
private DataSet
HighlightUpdateListener.HighlightUpdateEvent. dataSet
private DataSet
OsmPrimitive. dataSet
the parent datasetprivate DataSet
AbstractDataSourceChangeEvent. source
private DataSet
DataSelectionListener.AbstractSelectionEvent. source
private DataSet
DataSetMerger. sourceDataSet
the source dataset where primitives are merged fromprivate DataSet
DataSetMerger. targetDataSet
the target dataset for mergingMethods in org.openstreetmap.josm.data.osm that return DataSet Modifier and Type Method Description DataSet
IOsmDataManager. getActiveDataSet()
Gets the active data set (can be read-only).DataSet
OsmDataManager. getActiveDataSet()
DataSet
HighlightUpdateListener.HighlightUpdateEvent. getDataSet()
Get the modified data set.DataSet
OsmPrimitive. getDataSet()
DataSet
IOsmDataManager. getEditDataSet()
Gets the active edit data set (not read-only).DataSet
OsmDataManager. getEditDataSet()
DataSet
AbstractDataSourceChangeEvent. getSource()
DataSet
DataSelectionListener.AbstractSelectionEvent. getSource()
DataSet
DataSelectionListener.SelectionChangeEvent. getSource()
Gets the data set that triggered this selection event.DataSet
DataSourceChangeEvent. getSource()
Gets the data set that triggered this selection event.DataSet
DataSetMerger. getTargetDataSet()
replies my datasetMethods in org.openstreetmap.josm.data.osm with parameters of type DataSet Modifier and Type Method Description boolean
IOsmDataManager. containsDataSet(DataSet ds)
Determines if the list of data sets managed by JOSM containsds
.boolean
OsmDataManager. containsDataSet(DataSet ds)
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 String
DatasetConsistencyTest. runTests(DataSet dataSet)
Runs test on the given dataset.void
IOsmDataManager. setActiveDataSet(DataSet ds)
Sets the active data set (and also edit data set if not read-only).void
OsmDataManager. setActiveDataSet(DataSet ds)
(package private) void
Node. 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
Relation. 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 datasetds
.Constructors in org.openstreetmap.josm.data.osm with parameters of type DataSet Constructor Description AbstractDataSourceChangeEvent(DataSet source, Set<DataSource> old)
Create a Data Source change eventAbstractSelectionEvent(DataSet source, Set<OsmPrimitive> old)
DataSet(DataSet copyFrom)
Creates a newDataSet
.DatasetConsistencyTest(DataSet dataSet, Writer writer)
Constructs a newDatasetConsistencyTest
.DataSetMerger(DataSet targetDataSet, DataSet sourceDataSet)
constructor The visitor will mergesourceDataSet
ontotargetDataSet
HighlightUpdateEvent(DataSet dataSet)
Create a new highlight update event.SelectionAddEvent(DataSet source, Set<OsmPrimitive> old, Stream<OsmPrimitive> toAdd)
SelectionRemoveEvent(DataSet source, Set<OsmPrimitive> old, Stream<OsmPrimitive> toRemove)
SelectionReplaceEvent(DataSet source, Set<OsmPrimitive> old, Stream<OsmPrimitive> newSelection)
SelectionToggleEvent(DataSet source, Set<OsmPrimitive> old, Stream<OsmPrimitive> toToggle)
-
Uses of DataSet in org.openstreetmap.josm.data.osm.event
Fields in org.openstreetmap.josm.data.osm.event declared as DataSet Modifier and Type Field Description protected DataSet
AbstractDatasetChangedEvent. dataSet
The dataset from which the event came from.Methods in org.openstreetmap.josm.data.osm.event that return DataSet Modifier and Type Method Description DataSet
AbstractDatasetChangedEvent. getDataset()
Returns the dataset from which the event came from.Constructors in org.openstreetmap.josm.data.osm.event with parameters of type DataSet Constructor Description AbstractDatasetChangedEvent(DataSet dataSet)
Constructs a newAbstractDatasetChangedEvent
.ChangesetIdChangedEvent(DataSet dataSet, List<OsmPrimitive> primitives, int oldChangesetId, int newChangesetId)
Constructs a newChangesetIdChangedEvent
.DataChangedEvent(DataSet dataSet)
Constructs a newDataChangedEvent
DataChangedEvent(DataSet dataSet, List<AbstractDatasetChangedEvent> events)
Constructs a newDataChangedEvent
DataSourceAddedEvent(DataSet source, Set<DataSource> old, Stream<DataSource> newDataSources)
Create a Data Source change eventDataSourceRemovedEvent(DataSet source, Set<DataSource> old, Stream<DataSource> removedDataSources)
Create a Data Source change eventFilterChangedEvent(DataSet dataSet)
Constructs a newFilterChangedEvent
.NodeMovedEvent(DataSet dataSet, Node node)
Constructs a newNodeMovedEvent
.PrimitiveFlagsChangedEvent(DataSet dataSet, OsmPrimitive primitive)
Constructs a newPrimitiveFlagsChangedEvent
.PrimitivesAddedEvent(DataSet dataSet, Collection<? extends OsmPrimitive> primitives, boolean wasIncomplete)
Constructs a newPrimitivesAddedEvent
.PrimitivesRemovedEvent(DataSet dataSet, Collection<? extends OsmPrimitive> primitives, boolean wasComplete)
Constructs a newPrimitivesRemovedEvent
.RelationMembersChangedEvent(DataSet dataSet, Relation relation)
Constructs a newRelationMembersChangedEvent
.TagsChangedEvent(DataSet dataSet, OsmPrimitive primitive, Map<String,String> originalKeys)
Constructs a newTagsChangedEvent
.WayNodesChangedEvent(DataSet dataSet, Way way)
Constructs a newWayNodesChangedEvent
. -
Uses of DataSet in org.openstreetmap.josm.data.osm.visitor
Fields in org.openstreetmap.josm.data.osm.visitor declared as DataSet Modifier and Type Field Description private DataSet
MergeSourceBuildingVisitor. hull
private DataSet
MergeSourceBuildingVisitor. selectionBase
Methods in org.openstreetmap.josm.data.osm.visitor that return DataSet Modifier and Type Method Description DataSet
MergeSourceBuildingVisitor. build()
Builds and returns the "hull".Constructors in org.openstreetmap.josm.data.osm.visitor with parameters of type DataSet Constructor Description MergeSourceBuildingVisitor(DataSet selectionBase)
Creates the visitor. -
Uses of DataSet in org.openstreetmap.josm.data.osm.visitor.paint.relations
Fields in org.openstreetmap.josm.data.osm.visitor.paint.relations with type parameters of type DataSet Modifier and Type Field Description private Map<DataSet,Map<Relation,Multipolygon>>
MultipolygonCache. cache
Methods in org.openstreetmap.josm.data.osm.visitor.paint.relations with parameters of type DataSet Modifier and Type Method Description void
MultipolygonCache. clear(DataSet ds)
Clears the cache for the given dataset.private Collection<Map<Relation,Multipolygon>>
MultipolygonCache. getMapsFor(DataSet ds)
private void
Multipolygon.PolyData. resetNodes(DataSet dataSet)
private void
MultipolygonCache. updateMultipolygonsReferringTo(AbstractDatasetChangedEvent event, Collection<? extends OsmPrimitive> primitives, DataSet ds)
private Collection<Map<Relation,Multipolygon>>
MultipolygonCache. updateMultipolygonsReferringTo(AbstractDatasetChangedEvent event, Collection<? extends OsmPrimitive> primitives, DataSet ds, Collection<Map<Relation,Multipolygon>> initialMaps)
-
Uses of DataSet in org.openstreetmap.josm.data.validation.tests
Fields in org.openstreetmap.josm.data.validation.tests declared as DataSet Modifier and Type Field Description private DataSet
UnconnectedWays. ds
-
Uses of DataSet in org.openstreetmap.josm.gui.conflict.pair
Fields in org.openstreetmap.josm.gui.conflict.pair declared as DataSet Modifier and Type Field Description private DataSet
AbstractListMergeModel. myDataset
-
Uses of DataSet in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type DataSet Modifier and Type Method Description void
ChangesetDialog.SelectObjectsAction. selectObjectsByChangesetIds(DataSet ds, Set<Integer> ids)
-
Uses of DataSet in org.openstreetmap.josm.gui.dialogs.changeset
Methods in org.openstreetmap.josm.gui.dialogs.changeset with parameters of type DataSet Modifier and Type Method Description void
ChangesetListModel. initFromDataSet(DataSet ds)
Loads this list with the given changesets -
Uses of DataSet in org.openstreetmap.josm.gui.dialogs.relation
Fields in org.openstreetmap.josm.gui.dialogs.relation declared as DataSet Modifier and Type Field Description private DataSet
RelationTree.RelationLoader. ds
Methods in org.openstreetmap.josm.gui.dialogs.relation with parameters of type DataSet Modifier and Type Method Description protected void
ChildRelationBrowser.DownloadTask. mergeDataSet(DataSet ds)
Merges the primitives inds
to the dataset of the edit layervoid
ReferringRelationsBrowserModel. populate(DataSet ds)
Populates the browser with the list of referring relations in theDataSet
ds. -
Uses of DataSet in org.openstreetmap.josm.gui.download
Methods in org.openstreetmap.josm.gui.download that return types with arguments of type DataSet Modifier and Type Method Description Class<? extends AbstractDownloadTask<DataSet>>
OSMDownloadSource.OsmDataDownloadType. getDownloadClass()
-
Uses of DataSet in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as DataSet Modifier and Type Field Description private DataSet
UploadDialog. dataSet
protected DataSet
AbstractPrimitiveTask. ds
private DataSet
DownloadFromOverpassTask. ds
Methods in org.openstreetmap.josm.gui.io with parameters of type DataSet Modifier and Type Method Description (package private) static String
UploadDialogModel. addHashTagsFromDataSet(String comment, DataSet dataSet)
Returns the given comment with appended hashtags from dataset changeset tags, if not already present.void
UploadDialog. initLifeCycle(DataSet dataSet)
Initializes this life cycle of the dialog.void
UploadDialogModel. putAll(DataSet dataSet)
Inserts all tags from aDataSet
.Constructors in org.openstreetmap.josm.gui.io with parameters of type DataSet Constructor Description DownloadFromOverpassTask(String request, DataSet ds, ProgressMonitor monitor)
Constructor -
Uses of DataSet in org.openstreetmap.josm.gui.io.importexport
Methods in org.openstreetmap.josm.gui.io.importexport that return DataSet Modifier and Type Method Description DataSet
GeoJSONImporter. parseDataSet(String source)
Parse GeoJSON dataset.protected DataSet
OsmImporter. parseDataSet(InputStream in, ProgressMonitor progressMonitor)
Methods in org.openstreetmap.josm.gui.io.importexport with parameters of type DataSet Modifier and Type Method Description protected OsmDataLayer
OsmImporter. createLayer(DataSet dataSet, File associatedFile, String layerName)
protected Runnable
OsmImporter. createPostLayerTask(DataSet dataSet, File associatedFile, String layerName, OsmDataLayer layer)
-
Uses of DataSet in org.openstreetmap.josm.gui.layer
Fields in org.openstreetmap.josm.gui.layer declared as DataSet Modifier and Type Field Description DataSet
OsmDataLayer. data
The data behind this layer.Methods in org.openstreetmap.josm.gui.layer that return DataSet Modifier and Type Method Description DataSet
MainLayerManager. getActiveDataSet()
Gets the data set of the activeOsmDataLayer
.DataSet
OsmDataLayer. getDataSet()
Returns theDataSet
behind this layer.DataSet
MainLayerManager. getEditDataSet()
Gets the data set of the active edit layer, if not readOnly.DataSet
MainLayerManager.ActiveLayerChangeEvent. getPreviousDataSet()
Gets the data set that was previously used.Methods in org.openstreetmap.josm.gui.layer with parameters of type DataSet Modifier and Type Method Description protected static void
OsmDataLayer. fillGpxData(GpxData gpxData, DataSet data, File file, String gpxPrefix)
void
OsmDataLayer. mergeFrom(DataSet from)
merges the primitives in datasetfrom
into the dataset of this layervoid
OsmDataLayer. mergeFrom(DataSet from, ProgressMonitor progressMonitor)
merges the primitives in datasetfrom
into the dataset of this layerstatic GpxData
OsmDataLayer. toGpxData(DataSet data, File file)
Converts given OSM dataset to GPX data.Constructors in org.openstreetmap.josm.gui.layer with parameters of type DataSet Constructor Description OsmDataLayer(DataSet data, String name, File associatedFile)
Construct a newOsmDataLayer
. -
Uses of DataSet in org.openstreetmap.josm.gui.layer.gpx
Methods in org.openstreetmap.josm.gui.layer.gpx that return DataSet Modifier and Type Method Description DataSet
ConvertFromGpxLayerAction. convert()
static DataSet
ConvertFromGpxLayerAction. convert(GpxData data, String convertTags, String gpxPrefix)
DataSet
ConvertFromMarkerLayerAction. convert()
abstract DataSet
ConvertToDataLayerAction. convert()
Performs the conversion to aDataSet
.static DataSet
ConvertFromGpxLayerAction. filterDataSet(DataSet ds, List<String> listPos, String gpxPrefix)
Filters the tags of the givenDataSet
Methods in org.openstreetmap.josm.gui.layer.gpx with parameters of type DataSet Modifier and Type Method Description static DataSet
ConvertFromGpxLayerAction. filterDataSet(DataSet ds, List<String> listPos, String gpxPrefix)
Filters the tags of the givenDataSet
-
Uses of DataSet in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as DataSet Modifier and Type Field Description private DataSet
RenderingHelper. ds
Methods in org.openstreetmap.josm.gui.mappaint that return DataSet Modifier and Type Method Description private DataSet
RenderingCLI. loadDataset()
Methods in org.openstreetmap.josm.gui.mappaint with parameters of type DataSet Modifier and Type Method Description (package private) RenderingCLI.RenderingArea
RenderingCLI. determineRenderingArea(DataSet ds)
Find the area to render and the scale, given certain command line options and the dataset.Constructors in org.openstreetmap.josm.gui.mappaint with parameters of type DataSet Constructor Description RenderingHelper(DataSet ds, Bounds bounds, double scale, Collection<RenderingHelper.StyleData> styles)
Construct a newRenderingHelper
. -
Uses of DataSet in org.openstreetmap.josm.gui.preferences.advanced
Constructors in org.openstreetmap.josm.gui.preferences.advanced with parameters of type DataSet Constructor Description UnclearableOsmDataLayer(DataSet data, String name)
-
Uses of DataSet in org.openstreetmap.josm.gui.tagging.ac
Fields in org.openstreetmap.josm.gui.tagging.ac declared as DataSet Modifier and Type Field Description protected DataSet
AutoCompletionManager. ds
The data set that is managedFields in org.openstreetmap.josm.gui.tagging.ac with type parameters of type DataSet Modifier and Type Field Description private static Map<DataSet,AutoCompletionManager>
AutoCompletionManager. INSTANCES
Methods in org.openstreetmap.josm.gui.tagging.ac with parameters of type DataSet Modifier and Type Method Description static AutoCompletionManager
AutoCompletionManager. of(DataSet dataSet)
Returns theAutoCompletionManager
for the given data set.Constructors in org.openstreetmap.josm.gui.tagging.ac with parameters of type DataSet Constructor Description AutoCompletionManager(DataSet ds)
Constructs a newAutoCompletionManager
. -
Uses of DataSet in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as DataSet Modifier and Type Field Description private DataSet
GeoJSONWriter. data
DataSet
MultiFetchServerObjectReader.FetchResult. dataSet
The resulting data setprotected DataSet
AbstractReader. ds
The dataset to add parsed objects to.private DataSet
MultiFetchServerObjectReader. outputDataSet
Methods in org.openstreetmap.josm.io that return DataSet Modifier and Type Method Description protected abstract DataSet
AbstractReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
protected DataSet
AbstractReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor, AbstractReader.ParserWorker parserWorker)
protected DataSet
GeoJSONReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
protected DataSet
OsmJsonReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
protected DataSet
OsmReader. doParseDataSet(InputStream source, ProgressMonitor progressMonitor)
DataSet
AbstractReader. getDataSet()
Replies the parsed data setprivate DataSet
OsmServerBackreferenceReader. getReferringPrimitives(ProgressMonitor progressMonitor, String type, String message)
protected DataSet
OsmServerBackreferenceReader. getReferringRelations(ProgressMonitor progressMonitor)
Reads referring relations from the API server and replies them in aDataSet
protected DataSet
OsmServerBackreferenceReader. getReferringWays(ProgressMonitor progressMonitor)
Reads referring ways from the API server and replies them in aDataSet
DataSet
GeoJSONServerReader.GeoJsonParser. parse()
DataSet
OsmServerLocationReader.OsmChangeParser. parse()
DataSet
OsmServerLocationReader.OsmParser. parse()
protected DataSet
BoundingBoxDownloader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
GeoJSONReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmChangeReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmJsonReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.static DataSet
OsmReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor, OsmReader.Options... options)
Parse the given input source and return the dataset.protected DataSet
OverpassDownloadReader. parseDataSet(InputStream source, ProgressMonitor progressMonitor)
DataSet
BoundingBoxDownloader. parseOsm(ProgressMonitor progressMonitor)
DataSet
GeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
GeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
DataSet
MultiFetchServerObjectReader.Fetcher. parseOsm(ProgressMonitor progressMonitor)
DataSet
MultiFetchServerObjectReader. parseOsm(ProgressMonitor progressMonitor)
invokes one or more Multi Gets to fetch theOsmPrimitive
s and replies the dataset of retrieved primitives.DataSet
OsmServerBackreferenceReader. parseOsm(ProgressMonitor progressMonitor)
Reads the referring primitives from the OSM server, parses them and replies them asDataSet
DataSet
OsmServerChangesetReader. parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!DataSet
OsmServerHistoryReader. parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!DataSet
OsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
DataSet
OsmServerObjectReader. parseOsm(ProgressMonitor progressMonitor)
Downloads and parses the data.abstract DataSet
OsmServerReader. parseOsm(ProgressMonitor progressMonitor)
Download OSM files from somewhereDataSet
OsmServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)
Download compressed OSM files from somewhereDataSet
OsmServerUserInfoReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerUserPreferencesReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OverpassDownloadReader. parseOsm(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor)
DataSet
OsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)
DataSet
OsmServerReader. parseOsmChange(ProgressMonitor progressMonitor)
Download OSM Change uncompressed files from somewhereDataSet
OsmServerReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)
Download OSM Change compressed files from somewhereprotected 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 givenOsmPrimitiveType
.Methods in org.openstreetmap.josm.io that return types with arguments of type DataSet Modifier and Type Method Description static Pair<DataSet,NoteData>
OsmChangeReader. parseDataSetAndNotes(InputStream source, ProgressMonitor progressMonitor)
Parse the given input source and return the dataset and notes, if any (OsmAnd extends the osmChange format by adding notes).Methods in org.openstreetmap.josm.io with parameters of type DataSet Modifier and Type Method Description MultiFetchServerObjectReader
MultiFetchServerObjectReader. append(DataSet ds, long id, OsmPrimitiveType type)
appends aOsmPrimitive
id to the list of ids which will be fetched from the server.protected void
GeoJSONWriter. appendLayerBounds(DataSet ds, javax.json.JsonObjectBuilder object)
protected void
GeoJSONWriter. appendLayerFeatures(DataSet ds, javax.json.JsonObjectBuilder object)
private void
MultiFetchServerObjectReader. checkMissing(DataSet ds, ProgressMonitor progressMonitor)
Workaround for difference in Overpass API.protected void
MultiFetchServerObjectReader. merge(DataSet from)
merges the datasetfrom
toMultiFetchServerObjectReader.outputDataSet
.void
OsmServerReadPostprocessor. postprocessDataSet(DataSet ds, ProgressMonitor progress)
Execute the post processor.protected DataSet
OsmServerBackreferenceReader. readIncompletePrimitives(DataSet ds, ProgressMonitor progressMonitor)
Scans a dataset for incomplete primitives.protected void
MultiFetchServerObjectReader. rememberNodesOfIncompleteWaysToLoad(DataSet from)
void
OsmWriter. write(DataSet data)
Writes the full OSM file for the given data set (header, data sources, osm data, footer).void
OsmWriter. writeContent(DataSet ds)
Writes the contents of the given dataset (nodes, then ways, then relations)void
OsmWriter. writeDataSources(DataSet ds)
Writes data sources with their respective bounds.Constructors in org.openstreetmap.josm.io with parameters of type DataSet Constructor Description FetchResult(DataSet dataSet, Set<PrimitiveId> missingPrimitives)
Constructs aFetchResult
GeoJSONWriter(DataSet ds)
Constructs a newGeoJSONWriter
. -
Uses of DataSet in org.openstreetmap.josm.io.remotecontrol.handler
Fields in org.openstreetmap.josm.io.remotecontrol.handler declared as DataSet Modifier and Type Field Description private DataSet
LoadDataHandler. dataSet
Holds the parsed data setConstructors in org.openstreetmap.josm.io.remotecontrol.handler with parameters of type DataSet Constructor Description LoadDataTask(DownloadParams settings, DataSet dataSet, String layerName)
Constructs a newLoadDataTask
. -
Uses of DataSet in org.openstreetmap.josm.io.session
Methods in org.openstreetmap.josm.io.session with parameters of type DataSet Modifier and Type Method Description static void
OsmDataSessionExporter. exportData(DataSet data, OutputStream out)
Exports OSM data to the given output stream. -
Uses of DataSet in org.openstreetmap.josm.tools
Fields in org.openstreetmap.josm.tools declared as DataSet Modifier and Type Field Description private static DataSet
Territories. dataSet
Methods in org.openstreetmap.josm.tools that return DataSet Modifier and Type Method Description static DataSet
Territories. getOriginalDataSet()
Returns the original territories dataset.
-