Uses of Class
org.openstreetmap.josm.data.DataSource
-
Packages that use DataSource Package Description org.openstreetmap.josm.data Provides the classes for JOSM managed data.org.openstreetmap.josm.data.gpx Provides the classes for JOSMGPX data
(points, tracks, routes).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.vector 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 DataSource Modifier and Type Method Description java.util.Collection<DataSource>
Data. getDataSources()
Returns the collection of data sources.java.util.Collection<DataSource>
ImageData. getDataSources()
Method parameters in org.openstreetmap.josm.data with type arguments of type DataSource Modifier and Type Method Description static java.awt.geom.Area
DataSource. getDataSourceArea(java.util.Collection<DataSource> dataSources)
Returns the total area of downloaded data (the "yellow rectangles").static java.util.List<Bounds>
DataSource. getDataSourceBounds(java.util.Collection<DataSource> dataSources)
Replies the list of data source bounds.Constructors in org.openstreetmap.josm.data with parameters of type DataSource Constructor Description DataSource(DataSource source)
Constructs a newDataSource
-
Uses of DataSource in org.openstreetmap.josm.data.gpx
Fields in org.openstreetmap.josm.data.gpx with type parameters of type DataSource Modifier and Type Field Description java.util.Set<DataSource>
GpxData. dataSources
All 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 Modifier and Type Method Description java.util.Collection<DataSource>
GpxData. getDataSources()
-
Uses of DataSource in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type DataSource Modifier and Type Field Description private java.util.Collection<DataSource>
DataSet. dataSources
All data sources of this DataSet.private java.util.Set<DataSource>
NoteData. dataSourceSet
private java.util.Set<DataSource>
AbstractDataSourceChangeEvent. old
Methods in org.openstreetmap.josm.data.osm that return types with arguments of type DataSource Modifier and Type Method Description java.util.Set<DataSource>
DataSourceChangeEvent. getAdded()
Gets the data sources that have been added to the selection.java.util.Collection<DataSource>
DataSet. getDataSources()
java.util.Set<DataSource>
DataSourceChangeEvent. getDataSources()
Gets the new data sources.java.util.Collection<DataSource>
NoteData. getDataSources()
java.util.Set<DataSource>
AbstractDataSourceChangeEvent. getOldDataSources()
java.util.Set<DataSource>
DataSourceChangeEvent. getOldDataSources()
Gets the previous data source listjava.util.Set<DataSource>
DataSourceChangeEvent. getRemoved()
Gets the Data Sources that have been removed from the selection.Methods in org.openstreetmap.josm.data.osm with parameters of type DataSource Modifier and Type Method Description boolean
DataSet. addDataSource(DataSource source)
Adds a new data source.boolean
NoteData. addDataSource(DataSource source)
Adds a new data source.Method parameters in org.openstreetmap.josm.data.osm with type arguments of type DataSource Modifier and Type Method Description boolean
DataSet. addDataSources(java.util.Collection<DataSource> sources)
Adds new data sources.Constructor parameters in org.openstreetmap.josm.data.osm with type arguments of type DataSource Constructor Description AbstractDataSourceChangeEvent(DataSet source, java.util.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 DataSource Modifier and Type Field Description private java.util.Set<DataSource>
DataSourceAddedEvent. added
private java.util.Set<DataSource>
DataSourceRemovedEvent. added
private java.util.Set<DataSource>
DataSourceAddedEvent. current
private java.util.Set<DataSource>
DataSourceRemovedEvent. current
private java.util.Set<DataSource>
DataSourceAddedEvent. removed
private java.util.Set<DataSource>
DataSourceRemovedEvent. removed
Methods in org.openstreetmap.josm.data.osm.event that return types with arguments of type DataSource Modifier and Type Method Description java.util.Set<DataSource>
DataSourceAddedEvent. getAdded()
java.util.Set<DataSource>
DataSourceRemovedEvent. getAdded()
java.util.Set<DataSource>
DataSourceAddedEvent. getDataSources()
java.util.Set<DataSource>
DataSourceRemovedEvent. getDataSources()
java.util.Set<DataSource>
DataSourceAddedEvent. getRemoved()
java.util.Set<DataSource>
DataSourceRemovedEvent. getRemoved()
Constructor parameters in org.openstreetmap.josm.data.osm.event with type arguments of type DataSource Constructor Description DataSourceAddedEvent(DataSet source, java.util.Set<DataSource> old, java.util.stream.Stream<DataSource> newDataSources)
Create a Data Source change eventDataSourceAddedEvent(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 eventDataSourceRemovedEvent(DataSet source, java.util.Set<DataSource> old, java.util.stream.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 DataSource Modifier and Type Field Description protected java.util.Collection<DataSource>
DataStore. dataSources
Methods in org.openstreetmap.josm.data.vector that return types with arguments of type DataSource Modifier and Type Method Description java.util.Collection<DataSource>
DataStore. getDataSources()
java.util.Collection<DataSource>
VectorDataSet. getDataSources()
Methods in org.openstreetmap.josm.data.vector with parameters of type DataSource Modifier and Type Method Description void
DataStore. addDataSource(DataSource dataSource)
Add a datasource to this data set
-