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,RelationUsersTagsChangesetsUtilities 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 cachingMultipolygonrelations.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 DataSetJoinAreasAction. dsMethods in org.openstreetmap.josm.actions with parameters of type DataSet Modifier and Type Method Description static CommandAlignInCircleAction. buildCommand(DataSet ds)Builds "align in circle" command depending on the selected objects.CommandAlignInLineAction. buildCommand(DataSet ds)Builds "align in line" command depending on the selected objects.voidSelectNonBranchingWaySequences. extend(DataSet data)Extend the current selectionprotected java.util.Set<OsmPrimitive>UploadSelectionAction. getDeletedPrimitives(DataSet ds)static java.util.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 voidCreateCircleAction. runOn(DataSet ds)Run the action on the given dataset.static voidSplitWayAction. runOn(DataSet ds)Run the action on the given dataset.(package private) voidSimplifyWayAction.SimplifyWayDataSelectionListener. updateWayList(DataSet 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 java.util.Collection<Command>TagCorrector. applyCorrections(DataSet dataSet, java.util.Map<OsmPrimitive,java.util.List<TagCorrection>> tagCorrectionsMap, java.util.Map<OsmPrimitive,java.util.List<RoleCorrection>> roleCorrectionMap, java.lang.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 DataSetDownloadOsmTask.AbstractInternalTask. dataSetprivate DataSetDownloadReferrersTask. parentsthe parentsMethods in org.openstreetmap.josm.actions.downloadtasks that return DataSet Modifier and Type Method Description protected DataSetDownloadOsmChangeTask.DownloadTask. parseDataSet()protected DataSetDownloadOsmTask.DownloadTask. parseDataSet()Methods in org.openstreetmap.josm.actions.downloadtasks with parameters of type DataSet Modifier and Type Method Description protected OsmDataLayerDownloadGeoJsonTask.InternalDownloadTask. createNewLayer(DataSet dataSet, java.util.Optional<java.lang.String> layerName)protected OsmDataLayerDownloadOsmTask.AbstractInternalTask. createNewLayer(DataSet ds, java.util.Optional<java.lang.String> layerName)Can be overridden (e.g.protected java.util.Set<OsmPrimitive>DownloadTaskList. getCompletePrimitives(DataSet ds)Replies the set of ids of all complete, non-new primitives (i.e.private static java.util.Map<OsmPrimitive,java.time.Instant>DownloadOsmChangeTask. getToLoad(DataSet ds)Get the primitives to load more informationprotected java.util.Collection<OsmPrimitive>DownloadOsmTask. searchPotentiallyDeletedPrimitives(DataSet ds)protected java.util.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 voidImproveWayAccuracyAction. addNode(DataSet ds)Add a new node to the currently highlighted segmentprivate static voidDrawAction. addRemoveSelection(DataSet ds, OsmPrimitive toAdd, OsmPrimitive toRemove)private static voidDrawAction. addSelection(DataSet ds, OsmPrimitive toAdd)private static voidDrawAction. clearSelection(DataSet ds, OsmPrimitive toRemove)private static CommandSelectAction. getLastCommandInDataset(DataSet ds)Obtain command in undoRedo stack to "continue" when draggingprivate booleanImproveWayAccuracyAction. selectWay(DataSet ds)Select the initial wayprivate static voidDrawAction. setSelection(DataSet ds, java.util.Collection<OsmPrimitive> toSet)private static voidDrawAction. 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 DataSetCommand. datathe dataset which this command is applied toMethods in org.openstreetmap.josm.command that return DataSet Modifier and Type Method Description DataSetCommand. getAffectedDataSet()Gets the data set this command affects.Methods in org.openstreetmap.josm.command with parameters of type DataSet Modifier and Type Method Description private voidAddPrimitivesCommand. executeRealCommand(DataSet ds)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(java.util.List<PrimitiveData> data, java.util.List<PrimitiveData> toSelect, DataSet ds)Constructs a newAddPrimitivesCommandto add data to the given data set.AddPrimitivesCommand(java.util.List<PrimitiveData> data, DataSet ds)Constructs a newAddPrimitivesCommandto add data to the given data set.ChangeCommand(DataSet data, OsmPrimitive osm, OsmPrimitive newOsm)Constructs a newChangeCommandin the context of a given data set.ChangeMembersCommand(DataSet data, Relation relation, java.util.List<RelationMember> newMembers)Constructs a newChangeMembersCommandin the context of a given data set.ChangeNodesCommand(DataSet ds, Way way, java.util.List<Node> newNodes)Constructs a newChangeNodesCommand.ChangePropertyCommand(DataSet ds, java.util.Collection<? extends OsmPrimitive> objects, java.util.Map<java.lang.String,java.lang.String> tags)Creates a command to change multiple tags of multiple objectsChangePropertyKeyCommand(DataSet ds, java.util.Collection<? extends OsmPrimitive> objects, java.lang.String key, java.lang.String newKey)Constructs a newChangePropertyKeyCommand.ChangeRelationMemberRoleCommand(DataSet dataSet, Relation relation, int position, java.lang.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, java.util.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, java.util.Collection<OsmPrimitive> objects, double x, double y)Constructs a newMoveCommandand assign the initial object set and movement vector.MoveCommand(DataSet ds, java.util.Collection<OsmPrimitive> objects, EastNorth start, EastNorth end)Constructs a newMoveCommandto move a collection of primitives.MoveCommand(DataSet ds, OsmPrimitive p, EastNorth start, EastNorth end)Constructs a newMoveCommandto move a primitive.PurgeCommand(DataSet data, java.util.Collection<OsmPrimitive> toPurge, java.util.Collection<OsmPrimitive> makeIncomplete)Constructs a newPurgeCommand(does not handle conflicts).RemoveNodesCommand(DataSet ds, Way way, java.util.Set<Node> rmNodes)Constructs a newRemoveNodesCommand.SelectCommand(DataSet dataset, java.util.Collection<OsmPrimitive> newSelection)Constructs a new select command.SequenceCommand(DataSet ds, java.lang.String name, java.util.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 newConflictResolveCommandin 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 DataSetUndoRedoHandler.CommandQueueCleanedEvent. dsMethods in org.openstreetmap.josm.data that return DataSet Modifier and Type Method Description DataSetUndoRedoHandler.CommandQueueCleanedEvent. getDataSet()Returns the affected dataset.Methods in org.openstreetmap.josm.data with parameters of type DataSet Modifier and Type Method Description voidUndoRedoHandler. clean(DataSet dataSet)Resets all commands that affect the given dataset.voidAPIDataSet. init(DataSet ds)initializes the API data set with the modified primitives indsConstructors in org.openstreetmap.josm.data with parameters of type DataSet Constructor Description APIDataSet(DataSet ds)initializes the API data set with the modified primitives indsCommandQueueCleanedEvent(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 DataSetDatasetConsistencyTest. dataSetprivate DataSetHighlightUpdateListener.HighlightUpdateEvent. dataSetprivate DataSetOsmPrimitive. dataSetthe parent datasetprivate DataSetAbstractDataSourceChangeEvent. sourceprivate DataSetDataSelectionListener.AbstractSelectionEvent. sourceprivate DataSetDataSetMerger. sourceDataSetthe source dataset where primitives are merged fromprivate DataSetDataSetMerger. targetDataSetthe target dataset for mergingMethods in org.openstreetmap.josm.data.osm that return DataSet Modifier and Type Method Description DataSetIOsmDataManager. getActiveDataSet()Gets the active data set (can be read-only).DataSetOsmDataManager. getActiveDataSet()DataSetHighlightUpdateListener.HighlightUpdateEvent. getDataSet()Get the modified data set.DataSetOsmPrimitive. getDataSet()DataSetIOsmDataManager. getEditDataSet()Gets the active edit data set (not read-only).DataSetOsmDataManager. getEditDataSet()DataSetAbstractDataSourceChangeEvent. getSource()DataSetDataSelectionListener.AbstractSelectionEvent. getSource()DataSetDataSelectionListener.SelectionChangeEvent. getSource()Gets the data set that triggered this selection event.DataSetDataSourceChangeEvent. getSource()Gets the data set that triggered this selection event.DataSetDataSetMerger. getTargetDataSet()replies my datasetMethods in org.openstreetmap.josm.data.osm with parameters of type DataSet Modifier and Type Method Description booleanIOsmDataManager. containsDataSet(DataSet ds)Determines if the list of data sets managed by JOSM containsds.booleanOsmDataManager. containsDataSet(DataSet ds)voidDataSet. mergeFrom(DataSet from)Moves all primitives and datasources from DataSet "from" to this DataSet.voidDataSet. mergeFrom(DataSet from, ProgressMonitor progressMonitor)Moves all primitives and datasources from DataSet "from" to this DataSet.static java.lang.StringDatasetConsistencyTest. runTests(DataSet dataSet)Runs test on the given dataset.voidIOsmDataManager. setActiveDataSet(DataSet ds)Sets the active data set (and also edit data set if not read-only).voidOsmDataManager. setActiveDataSet(DataSet ds)(package private) voidNode. setDataset(DataSet dataSet)(package private) voidOsmPrimitive. setDataset(DataSet dataSet)This method should never ever by called from somewhere else than Dataset.addPrimitive or removePrimitive methods(package private) voidRelation. setDataset(DataSet dataSet)(package private) voidWay. setDataset(DataSet dataSet)static TagCollectionTagCollection. 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, java.util.Set<DataSource> old)Create a Data Source change eventAbstractSelectionEvent(DataSet source, java.util.Set<OsmPrimitive> old)DataSet(DataSet copyFrom)Creates a newDataSet.DatasetConsistencyTest(DataSet dataSet, java.io.Writer writer)Constructs a newDatasetConsistencyTest.DataSetMerger(DataSet targetDataSet, DataSet sourceDataSet)constructorHighlightUpdateEvent(DataSet dataSet)Create a new highlight update event.SelectionAddEvent(DataSet source, java.util.Set<OsmPrimitive> old, java.util.stream.Stream<OsmPrimitive> toAdd)SelectionRemoveEvent(DataSet source, java.util.Set<OsmPrimitive> old, java.util.stream.Stream<OsmPrimitive> toRemove)SelectionReplaceEvent(DataSet source, java.util.Set<OsmPrimitive> old, java.util.stream.Stream<OsmPrimitive> newSelection)SelectionToggleEvent(DataSet source, java.util.Set<OsmPrimitive> old, java.util.stream.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 DataSetAbstractDatasetChangedEvent. dataSetThe dataset from which the event came from.Methods in org.openstreetmap.josm.data.osm.event that return DataSet Modifier and Type Method Description DataSetAbstractDatasetChangedEvent. 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, java.util.List<OsmPrimitive> primitives, int oldChangesetId, int newChangesetId)Constructs a newChangesetIdChangedEvent.DataChangedEvent(DataSet dataSet)Constructs a newDataChangedEventDataChangedEvent(DataSet dataSet, java.util.List<AbstractDatasetChangedEvent> events)Constructs a newDataChangedEventDataSourceAddedEvent(DataSet source, java.util.Set<DataSource> old, java.util.stream.Stream<DataSource> newDataSources)Create a Data Source change eventDataSourceRemovedEvent(DataSet source, java.util.Set<DataSource> old, java.util.stream.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, java.util.Collection<? extends OsmPrimitive> primitives, boolean wasIncomplete)Constructs a newPrimitivesAddedEvent.PrimitivesRemovedEvent(DataSet dataSet, java.util.Collection<? extends OsmPrimitive> primitives, boolean wasComplete)Constructs a newPrimitivesRemovedEvent.RelationMembersChangedEvent(DataSet dataSet, Relation relation)Constructs a newRelationMembersChangedEvent.TagsChangedEvent(DataSet dataSet, OsmPrimitive primitive, java.util.Map<java.lang.String,java.lang.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 DataSetMergeSourceBuildingVisitor. hullprivate DataSetMergeSourceBuildingVisitor. selectionBaseMethods in org.openstreetmap.josm.data.osm.visitor that return DataSet Modifier and Type Method Description DataSetMergeSourceBuildingVisitor. 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 java.util.Map<DataSet,java.util.Map<Relation,Multipolygon>>MultipolygonCache. cacheMethods in org.openstreetmap.josm.data.osm.visitor.paint.relations with parameters of type DataSet Modifier and Type Method Description voidMultipolygonCache. clear(DataSet ds)Clears the cache for the given dataset.private java.util.Collection<java.util.Map<Relation,Multipolygon>>MultipolygonCache. getMapsFor(DataSet ds)private voidMultipolygon.PolyData. resetNodes(DataSet dataSet)private voidMultipolygonCache. 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) -
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 DataSetUnconnectedWays. 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 DataSetAbstractListMergeModel. 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 voidChangesetDialog.SelectObjectsAction. selectObjectsByChangesetIds(DataSet ds, java.util.Set<java.lang.Integer> ids)Select objects based off of the changeset id -
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 voidChangesetListModel. 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 DataSetRelationTree.RelationLoader. dsMethods in org.openstreetmap.josm.gui.dialogs.relation with parameters of type DataSet Modifier and Type Method Description protected voidChildRelationBrowser.DownloadTask. mergeDataSet(DataSet ds)Merges the primitives indsto the dataset of the edit layervoidReferringRelationsBrowserModel. populate(DataSet ds)Populates the browser with the list of referring relations in theDataSetds. -
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 java.lang.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 DataSetUploadDialog. dataSetprotected DataSetAbstractPrimitiveTask. dsprivate DataSetDownloadFromOverpassTask. dsMethods in org.openstreetmap.josm.gui.io with parameters of type DataSet Modifier and Type Method Description (package private) static java.lang.StringUploadDialogModel. addHashTagsFromDataSet(java.lang.String comment, DataSet dataSet)Returns the given comment with appended hashtags from dataset changeset tags, if not already present.voidUploadDialog. initLifeCycle(DataSet dataSet)Initializes this life cycle of the dialog.voidUploadDialogModel. putAll(DataSet dataSet)Inserts all tags from aDataSet.Constructors in org.openstreetmap.josm.gui.io with parameters of type DataSet Constructor Description DownloadFromOverpassTask(java.lang.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 protected DataSetGeoJSONImporter. parseDataSet(java.io.InputStream in, ProgressMonitor progressMonitor)protected DataSetOsmImporter. parseDataSet(java.io.InputStream in, ProgressMonitor progressMonitor)protected DataSetOsmPbfImporter. parseDataSet(java.io.InputStream in, ProgressMonitor progressMonitor)Methods in org.openstreetmap.josm.gui.io.importexport with parameters of type DataSet Modifier and Type Method Description protected OsmDataLayerOsmImporter. createLayer(DataSet dataSet, java.io.File associatedFile, java.lang.String layerName)protected java.lang.RunnableOsmImporter. createPostLayerTask(DataSet dataSet, java.io.File associatedFile, java.lang.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 DataSetOsmDataLayer. dataThe data behind this layer.Methods in org.openstreetmap.josm.gui.layer that return DataSet Modifier and Type Method Description DataSetMainLayerManager. getActiveDataSet()Gets the data set of the activeOsmDataLayer.DataSetOsmDataLayer. getDataSet()Returns theDataSetbehind this layer.DataSetMainLayerManager. getEditDataSet()Gets the data set of the active edit layer, if not readOnly.DataSetMainLayerManager.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 voidOsmDataLayer. fillGpxData(GpxData gpxData, DataSet data, java.io.File file, java.lang.String gpxPrefix)voidOsmDataLayer. mergeFrom(DataSet from)merges the primitives in datasetfrominto the dataset of this layervoidOsmDataLayer. mergeFrom(DataSet from, ProgressMonitor progressMonitor)merges the primitives in datasetfrominto the dataset of this layerstatic GpxDataOsmDataLayer. toGpxData(DataSet data, java.io.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, java.lang.String name, java.io.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 DataSetConvertFromGpxLayerAction. convert()static DataSetConvertFromGpxLayerAction. convert(GpxData data, java.lang.String convertTags, java.lang.String gpxPrefix)DataSetConvertFromMarkerLayerAction. convert()abstract DataSetConvertToDataLayerAction. convert()Performs the conversion to aDataSet.static DataSetConvertFromGpxLayerAction. filterDataSet(DataSet ds, java.util.List<java.lang.String> listPos, java.lang.String gpxPrefix)Filters the tags of the givenDataSetMethods in org.openstreetmap.josm.gui.layer.gpx with parameters of type DataSet Modifier and Type Method Description static DataSetConvertFromGpxLayerAction. filterDataSet(DataSet ds, java.util.List<java.lang.String> listPos, java.lang.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 DataSetRenderingHelper. dsMethods in org.openstreetmap.josm.gui.mappaint that return DataSet Modifier and Type Method Description private DataSetRenderingCLI. loadDataset()Methods in org.openstreetmap.josm.gui.mappaint with parameters of type DataSet Modifier and Type Method Description (package private) RenderingCLI.RenderingAreaRenderingCLI. 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, java.util.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, java.lang.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 DataSetAutoCompletionManager. dsThe 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 java.util.Map<DataSet,AutoCompletionManager>AutoCompletionManager. INSTANCESMethods in org.openstreetmap.josm.gui.tagging.ac with parameters of type DataSet Modifier and Type Method Description static AutoCompletionManagerAutoCompletionManager. of(DataSet dataSet)Returns theAutoCompletionManagerfor 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 DataSetGeoJSONWriter. dataDataSetMultiFetchServerObjectReader.FetchResult. dataSetThe resulting data setprotected DataSetAbstractReader. dsThe dataset to add parsed objects to.private DataSetMultiFetchServerObjectReader. outputDataSetMethods in org.openstreetmap.josm.io that return DataSet Modifier and Type Method Description protected abstract DataSetAbstractReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)private DataSetAbstractReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor, java.lang.Object parserWorker)protected DataSetAbstractReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor, AbstractReader.BinaryParserWorker parserWorker)protected DataSetAbstractReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor, AbstractReader.ParserWorker parserWorker)protected DataSetGeoJSONReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)protected DataSetOsmJsonReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)protected DataSetOsmPbfReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)protected DataSetOsmReader. doParseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)DataSetAbstractReader. getDataSet()Replies the parsed data setprivate DataSetOsmServerBackreferenceReader. getReferringPrimitives(ProgressMonitor progressMonitor, java.lang.String type, java.lang.String message)protected DataSetOsmServerBackreferenceReader. getReferringRelations(ProgressMonitor progressMonitor)Reads referring relations from the API server and replies them in aDataSetprotected DataSetOsmServerBackreferenceReader. getReferringWays(ProgressMonitor progressMonitor)Reads referring ways from the API server and replies them in aDataSetDataSetGeoJSONServerReader.GeoJsonParser. parse()DataSetOsmServerLocationReader.OsmChangeParser. parse()DataSetOsmServerLocationReader.OsmParser. parse()protected DataSetBoundingBoxDownloader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)Parse the given input source and return the dataset.static DataSetGeoJSONReader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)Parse the given input source and return the dataset.static DataSetOsmChangeReader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)Parse the given input source and return the dataset.static DataSetOsmJsonReader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)Parse the given input source and return the dataset.static DataSetOsmPbfReader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)Parse the given input source and return the dataset.static DataSetOsmReader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)Parse the given input source and return the dataset.static DataSetOsmReader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor, OsmReader.Options... options)Parse the given input source and return the dataset.protected DataSetOverpassDownloadReader. parseDataSet(java.io.InputStream source, ProgressMonitor progressMonitor)DataSetBoundingBoxDownloader. parseOsm(ProgressMonitor progressMonitor)DataSetGeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor)DataSetGeoJSONServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)DataSetMultiFetchServerObjectReader.Fetcher. parseOsm(ProgressMonitor progressMonitor)DataSetMultiFetchServerObjectReader. parseOsm(ProgressMonitor progressMonitor)invokes one or more Multi Gets to fetch theOsmPrimitives and replies the dataset of retrieved primitives.DataSetOsmServerBackreferenceReader. parseOsm(ProgressMonitor progressMonitor)Reads the referring primitives from the OSM server, parses them and replies them asDataSetDataSetOsmServerChangesetReader. parseOsm(ProgressMonitor progressMonitor)don't use - not implemented!DataSetOsmServerHistoryReader. parseOsm(ProgressMonitor progressMonitor)don't use - not implemented!DataSetOsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor)DataSetOsmServerLocationReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)DataSetOsmServerObjectReader. parseOsm(ProgressMonitor progressMonitor)Downloads and parses the data.abstract DataSetOsmServerReader. parseOsm(ProgressMonitor progressMonitor)Download OSM files from somewhereDataSetOsmServerReader. parseOsm(ProgressMonitor progressMonitor, Compression compression)Download compressed OSM files from somewhereDataSetOsmServerUserInfoReader. parseOsm(ProgressMonitor progressMonitor)DataSetOsmServerUserPreferencesReader. parseOsm(ProgressMonitor progressMonitor)DataSetOverpassDownloadReader. parseOsm(ProgressMonitor progressMonitor)DataSetOsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor)DataSetOsmServerLocationReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)DataSetOsmServerReader. parseOsmChange(ProgressMonitor progressMonitor)Download OSM Change uncompressed files from somewhereDataSetOsmServerReader. parseOsmChange(ProgressMonitor progressMonitor, Compression compression)Download OSM Change compressed files from somewhereprotected DataSetOsmServerBackreferenceReader. readIncompletePrimitives(DataSet ds, ProgressMonitor progressMonitor)Scans a dataset for incomplete primitives.protected DataSetMultiFetchServerObjectReader.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(java.io.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 MultiFetchServerObjectReaderMultiFetchServerObjectReader. append(DataSet ds, long id, OsmPrimitiveType type)appends aOsmPrimitiveid to the list of ids which will be fetched from the server.protected voidGeoJSONWriter. appendLayerBounds(DataSet ds, jakarta.json.JsonObjectBuilder object)protected voidGeoJSONWriter. appendLayerFeatures(DataSet ds, jakarta.json.JsonObjectBuilder object)private voidMultiFetchServerObjectReader. checkMissing(DataSet ds, ProgressMonitor progressMonitor)Workaround for difference in Overpass API.protected voidMultiFetchServerObjectReader. merge(DataSet from)merges the datasetfromtoMultiFetchServerObjectReader.outputDataSet.voidOsmServerReadPostprocessor. postprocessDataSet(DataSet ds, ProgressMonitor progress)Execute the post processor.protected DataSetOsmServerBackreferenceReader. readIncompletePrimitives(DataSet ds, ProgressMonitor progressMonitor)Scans a dataset for incomplete primitives.protected voidMultiFetchServerObjectReader. rememberNodesOfIncompleteWaysToLoad(DataSet from)voidOsmWriter. write(DataSet data)Writes the full OSM file for the given data set (header, data sources, osm data, footer).voidOsmWriter. writeContent(DataSet ds)Writes the contents of the given dataset (nodes, then ways, then relations)voidOsmWriter. 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, java.util.Set<PrimitiveId> missingPrimitives)Constructs aFetchResultGeoJSONMapRouletteWriter(DataSet ds)Constructs a newGeoJSONWriter.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 DataSetLoadDataHandler. dataSetHolds the parsed data setConstructors in org.openstreetmap.josm.io.remotecontrol.handler with parameters of type DataSet Constructor Description LoadDataTask(DownloadParams settings, DataSet dataSet, java.lang.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 voidOsmDataSessionExporter. exportData(DataSet data, java.io.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 DataSetTerritories. dataSetMethods in org.openstreetmap.josm.tools that return DataSet Modifier and Type Method Description static DataSetTerritories. getOriginalDataSet()Returns the original territories dataset.
-