Uses of Class
org.openstreetmap.josm.data.DataSource
Packages that use DataSource
Package
Description
Provides the classes for JOSM managed data.
Provides the classes for JOSM
GPX data (points, tracks, routes).Provides the classes for OSM data:
Primitives:
Node,
Way,
Relation
Users
Tags
Changesets
Utilities classes
Provides the classes for OSM dataset events.
Provides classes for vector data like Mapbox Vector Tiles.
-
Uses of DataSource in org.openstreetmap.josm.data
Methods in org.openstreetmap.josm.data that return types with arguments of type DataSourceModifier and TypeMethodDescriptionData.getDataSources()Returns the collection of data sources.ImageData.getDataSources()Method parameters in org.openstreetmap.josm.data with type arguments of type DataSourceModifier and TypeMethodDescriptionstatic AreaDataSource.getDataSourceArea(Collection<DataSource> dataSources) Returns the total area of downloaded data (the "yellow rectangles").DataSource.getDataSourceBounds(Collection<DataSource> dataSources) Replies the list of data source bounds.Constructors in org.openstreetmap.josm.data with parameters of type DataSource -
Uses of DataSource in org.openstreetmap.josm.data.gpx
Fields in org.openstreetmap.josm.data.gpx with type parameters of type DataSourceModifier and TypeFieldDescriptionfinal Set<DataSource>GpxData.dataSourcesAll data sources (bounds of downloaded bounds) of this GpxData.
Not part of GPX standard but rather a JOSM extension, needed by the fact that OSM API does not provide<bounds>element in its GPX reply.Methods in org.openstreetmap.josm.data.gpx that return types with arguments of type DataSource -
Uses of DataSource in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type DataSourceModifier and TypeFieldDescriptionprivate final Collection<DataSource>DataSet.dataSourcesAll data sources of this DataSet.private final Set<DataSource>NoteData.dataSourceSetprivate final Set<DataSource>AbstractDataSourceChangeEvent.oldMethods in org.openstreetmap.josm.data.osm that return types with arguments of type DataSourceModifier and TypeMethodDescriptionDataSourceChangeEvent.getAdded()Gets the data sources that have been added to the selection.DataSet.getDataSources()DataSourceChangeEvent.getDataSources()Gets the new data sources.NoteData.getDataSources()AbstractDataSourceChangeEvent.getOldDataSources()DataSourceChangeEvent.getOldDataSources()Gets the previous data source listDataSourceChangeEvent.getRemoved()Gets the Data Sources that have been removed from the selection.Methods in org.openstreetmap.josm.data.osm with parameters of type DataSourceModifier and TypeMethodDescriptionbooleanDataSet.addDataSource(DataSource source) Adds a new data source.booleanNoteData.addDataSource(DataSource source) Adds a new data source.Method parameters in org.openstreetmap.josm.data.osm with type arguments of type DataSourceModifier and TypeMethodDescriptionbooleanDataSet.addDataSources(Collection<DataSource> sources) Adds new data sources.Constructor parameters in org.openstreetmap.josm.data.osm with type arguments of type DataSourceModifierConstructorDescriptionprotectedAbstractDataSourceChangeEvent(DataSet source, Set<DataSource> old) Create a Data Source change event -
Uses of DataSource in org.openstreetmap.josm.data.osm.event
Fields in org.openstreetmap.josm.data.osm.event with type parameters of type DataSourceModifier and TypeFieldDescriptionprivate final Set<DataSource>DataSourceAddedEvent.addedprivate Set<DataSource>DataSourceRemovedEvent.addedprivate Set<DataSource>DataSourceAddedEvent.currentprivate Set<DataSource>DataSourceRemovedEvent.currentprivate Set<DataSource>DataSourceAddedEvent.removedprivate final Set<DataSource>DataSourceRemovedEvent.removedMethods in org.openstreetmap.josm.data.osm.event that return types with arguments of type DataSourceModifier and TypeMethodDescriptionDataSourceAddedEvent.getAdded()DataSourceRemovedEvent.getAdded()DataSourceAddedEvent.getDataSources()DataSourceRemovedEvent.getDataSources()DataSourceAddedEvent.getRemoved()DataSourceRemovedEvent.getRemoved()Constructor parameters in org.openstreetmap.josm.data.osm.event with type arguments of type DataSourceModifierConstructorDescriptionDataSourceAddedEvent(DataSet source, Set<DataSource> old, Stream<DataSource> newDataSources) Create a Data Source change eventDataSourceAddedEvent(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 eventDataSourceRemovedEvent(DataSet source, Set<DataSource> old, Stream<DataSource> removedDataSources) Create a Data Source change event -
Uses of DataSource in org.openstreetmap.josm.data.vector
Fields in org.openstreetmap.josm.data.vector with type parameters of type DataSourceMethods in org.openstreetmap.josm.data.vector that return types with arguments of type DataSourceMethods in org.openstreetmap.josm.data.vector with parameters of type DataSourceModifier and TypeMethodDescriptionvoidDataStore.addDataSource(DataSource dataSource) Add a datasource to this data set