Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.corrector |
Provides the classes for JOSM
tag correctors . |
org.openstreetmap.josm.actions.downloadtasks |
Provides the classes for JOSM
download tasks . |
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map 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 classes
|
org.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 caching
Multipolygon 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 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.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.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.
|
Modifier and Type | Field and Description |
---|---|
private DataSet |
JoinAreasAction.ds |
Modifier and Type | Method and Description |
---|---|
Command |
AlignInLineAction.buildCommand(DataSet ds)
Builds "align in line" command depending on the selected objects.
|
void |
SelectNonBranchingWaySequences.extend(DataSet data)
Extend the current selection
|
protected 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 void |
SplitWayAction.runOn(DataSet ds)
Run the action on the given dataset.
|
static void |
CreateCircleAction.runOn(DataSet ds)
Run the action on the given dataset.
|
Modifier and Type | Method and 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.
|
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 OsmDataLayer |
DownloadOsmTask.AbstractInternalTask.createNewLayer(DataSet ds,
java.util.Optional<java.lang.String> layerName)
Can be overridden (e.g.
|
protected OsmDataLayer |
DownloadGeoJsonTask.InternalDownloadTask.createNewLayer(DataSet dataSet,
java.util.Optional<java.lang.String> layerName) |
protected java.util.Set<OsmPrimitive> |
DownloadTaskList.getCompletePrimitives(DataSet ds)
Replies the set of ids of all complete, non-new primitives (i.e.
|
protected 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
|
Modifier and Type | Method and 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 dragging
|
private static void |
DrawAction.setSelection(DataSet ds,
java.util.Collection<OsmPrimitive> toSet) |
private static void |
DrawAction.setSelection(DataSet ds,
OsmPrimitive toSet) |
Modifier and Type | Field and Description |
---|---|
private DataSet |
Command.data
the dataset which this command is applied to
|
Modifier and Type | Method and Description |
---|---|
DataSet |
Command.getAffectedDataSet()
Gets the data set this command affects.
|
Constructor and Description |
---|
AbstractNodesCommand(DataSet ds,
Way way,
C cmdNodes)
Constructs a new
AbstractNodesCommand . |
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,
DataSet ds)
Constructs a new
AddPrimitivesCommand to add data to the given data set. |
AddPrimitivesCommand(java.util.List<PrimitiveData> data,
java.util.List<PrimitiveData> toSelect,
DataSet ds)
Constructs a new
AddPrimitivesCommand to add data to the given data set. |
ChangeCommand(DataSet data,
OsmPrimitive osm,
OsmPrimitive newOsm)
Constructs a new
ChangeCommand in the context of a given data set. |
ChangeNodesCommand(DataSet ds,
Way way,
java.util.List<Node> newNodes)
Constructs a new
ChangeNodesCommand . |
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 objects
|
ChangePropertyKeyCommand(DataSet ds,
java.util.Collection<? extends OsmPrimitive> objects,
java.lang.String key,
java.lang.String newKey)
Constructs a new
ChangePropertyKeyCommand . |
ChangeRelationMemberRoleCommand(DataSet dataSet,
Relation relation,
int position,
java.lang.String newRole)
Constructs a new
ChangeRelationMemberRoleCommand . |
Command(DataSet data)
Creates a new command in the context of a specific data set, without data layer
|
DeleteCommand(DataSet dataset,
java.util.Collection<? extends OsmPrimitive> data)
Constructor for a collection of data to be deleted in the context of a specific data set
|
DeleteCommand(DataSet dataset,
OsmPrimitive data)
Constructor for a single data item.
|
MoveCommand(DataSet ds,
java.util.Collection<OsmPrimitive> objects,
double x,
double y)
Constructs a new
MoveCommand and assign the initial object set and movement vector. |
MoveCommand(DataSet ds,
java.util.Collection<OsmPrimitive> objects,
EastNorth start,
EastNorth end)
Constructs a new
MoveCommand to move a collection of primitives. |
MoveCommand(DataSet ds,
OsmPrimitive p,
EastNorth start,
EastNorth end)
Constructs a new
MoveCommand to move a primitive. |
PurgeCommand(DataSet data,
java.util.Collection<OsmPrimitive> toPurge,
java.util.Collection<OsmPrimitive> makeIncomplete)
Constructs a new
PurgeCommand (does not handle conflicts). |
RemoveNodesCommand(DataSet ds,
Way way,
java.util.Set<Node> rmNodes)
Constructs a new
RemoveNodesCommand . |
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.
|
Constructor and Description |
---|
ConflictAddCommand(DataSet ds,
Conflict<? extends OsmPrimitive> conflict)
Constructs a new
ConflictAddCommand . |
ConflictResolveCommand(DataSet ds)
Constructs a new
ConflictResolveCommand in the context of a given data set. |
Modifier and Type | Field and Description |
---|---|
private DataSet |
UndoRedoHandler.CommandQueueCleanedEvent.ds |
Modifier and Type | Method and Description |
---|---|
DataSet |
UndoRedoHandler.CommandQueueCleanedEvent.getDataSet()
Returns the affected dataset.
|
Modifier and Type | Method and 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 in
ds |
Constructor and Description |
---|
APIDataSet(DataSet ds)
initializes the API data set with the modified primitives in
ds |
CommandQueueCleanedEvent(UndoRedoHandler source,
DataSet ds) |
Modifier and Type | Field and Description |
---|---|
private DataSet |
OsmPrimitive.dataSet
the parent dataset
|
private DataSet |
HighlightUpdateListener.HighlightUpdateEvent.dataSet |
private DataSet |
DatasetConsistencyTest.dataSet |
private DataSet |
DataSelectionListener.AbstractSelectionEvent.source |
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 |
IOsmDataManager.getActiveDataSet()
Gets the active data set (can be read-only).
|
DataSet |
OsmDataManager.getActiveDataSet() |
DataSet |
OsmPrimitive.getDataSet() |
DataSet |
HighlightUpdateListener.HighlightUpdateEvent.getDataSet()
Get the modified data set.
|
DataSet |
IOsmDataManager.getEditDataSet()
Gets the active edit data set (not read-only).
|
DataSet |
OsmDataManager.getEditDataSet() |
DataSet |
DataSelectionListener.SelectionChangeEvent.getSource()
Gets the data set that triggered this selection event.
|
DataSet |
DataSelectionListener.AbstractSelectionEvent.getSource() |
DataSet |
DataSetMerger.getTargetDataSet()
replies my dataset
|
Modifier and Type | Method and Description |
---|---|
boolean |
IOsmDataManager.containsDataSet(DataSet ds)
Determines if the list of data sets managed by JOSM contains
ds . |
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 java.lang.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 |
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) |
(package private) void |
Relation.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 |
---|
AbstractSelectionEvent(DataSet source,
java.util.Set<OsmPrimitive> old) |
DataSet(DataSet copyFrom)
Creates a new
DataSet . |
DatasetConsistencyTest(DataSet dataSet,
java.io.Writer writer)
Constructs a new
DatasetConsistencyTest . |
DataSetMerger(DataSet targetDataSet,
DataSet sourceDataSet)
constructor
The visitor will merge
sourceDataSet onto targetDataSet |
HighlightUpdateEvent(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)
|
Modifier and Type | Field and Description |
---|---|
protected DataSet |
AbstractDatasetChangedEvent.dataSet
The dataset from which the event came from.
|
Modifier and Type | Method and Description |
---|---|
DataSet |
AbstractDatasetChangedEvent.getDataset()
Returns the dataset from which the event came from.
|
Constructor and Description |
---|
AbstractDatasetChangedEvent(DataSet dataSet)
Constructs a new
AbstractDatasetChangedEvent . |
ChangesetIdChangedEvent(DataSet dataSet,
java.util.List<OsmPrimitive> primitives,
int oldChangesetId,
int newChangesetId)
Constructs a new
ChangesetIdChangedEvent . |
DataChangedEvent(DataSet dataSet)
Constructs a new
DataChangedEvent |
DataChangedEvent(DataSet dataSet,
java.util.List<AbstractDatasetChangedEvent> events)
Constructs a new
DataChangedEvent |
FilterChangedEvent(DataSet dataSet)
Constructs a new
FilterChangedEvent . |
NodeMovedEvent(DataSet dataSet,
Node node)
Constructs a new
NodeMovedEvent . |
PrimitiveFlagsChangedEvent(DataSet dataSet,
OsmPrimitive primitive)
Constructs a new
PrimitiveFlagsChangedEvent . |
PrimitivesAddedEvent(DataSet dataSet,
java.util.Collection<? extends OsmPrimitive> primitives,
boolean wasIncomplete)
Constructs a new
PrimitivesAddedEvent . |
PrimitivesRemovedEvent(DataSet dataSet,
java.util.Collection<? extends OsmPrimitive> primitives,
boolean wasComplete)
Constructs a new
PrimitivesRemovedEvent . |
RelationMembersChangedEvent(DataSet dataSet,
Relation relation)
Constructs a new
RelationMembersChangedEvent . |
TagsChangedEvent(DataSet dataSet,
OsmPrimitive primitive,
java.util.Map<java.lang.String,java.lang.String> originalKeys)
Constructs a new
TagsChangedEvent . |
WayNodesChangedEvent(DataSet dataSet,
Way way)
Constructs a new
WayNodesChangedEvent . |
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 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 | Field and Description |
---|---|
private DataSet |
UnconnectedWays.ds |
Modifier and Type | Method and Description |
---|---|
private static void |
MapCSSTagChecker.addPrimitive(DataSet ds,
OsmPrimitive p) |
Modifier and Type | Field and Description |
---|---|
private DataSet |
AbstractListMergeModel.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)
Loads this list with the given changesets
|
Modifier and Type | Field and Description |
---|---|
private DataSet |
RelationTree.RelationLoader.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. |
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) )
|
private void |
UploadDialog.setChangesetTags(DataSet dataSet,
boolean keepSourceComment)
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 | Method and Description |
---|---|
protected DataSet |
OsmImporter.parseDataSet(java.io.InputStream in,
ProgressMonitor progressMonitor) |
DataSet |
GeoJSONImporter.parseDataSet(java.lang.String source)
Parse GeoJSON dataset.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Field and Description |
---|---|
DataSet |
OsmDataLayer.data
The data behind this layer.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<DataSet> |
AutosaveTask.changedDatasets |
Modifier and Type | Method and Description |
---|---|
DataSet |
MainLayerManager.getActiveDataSet()
Gets the data set of the active
OsmDataLayer . |
DataSet |
OsmDataLayer.getDataSet()
Returns the
DataSet 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.
|
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 |
ConvertFromGpxLayerAction.convert() |
DataSet |
ConvertFromMarkerLayerAction.convert() |
DataSet |
ConvertFromGpxLayerAction.filterDataSet(DataSet ds,
java.util.List<java.lang.String> listPos)
Filters the tags of the given
DataSet |
Modifier and Type | Method and Description |
---|---|
DataSet |
ConvertFromGpxLayerAction.filterDataSet(DataSet ds,
java.util.List<java.lang.String> listPos)
Filters the tags of the given
DataSet |
Modifier and Type | Field and Description |
---|---|
private DataSet |
RenderingHelper.ds |
Modifier and Type | Method and Description |
---|---|
private DataSet |
RenderingCLI.loadDataset() |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
RenderingHelper(DataSet ds,
Bounds bounds,
double scale,
java.util.Collection<RenderingHelper.StyleData> styles)
Construct a new
RenderingHelper . |
Modifier and Type | Field and Description |
---|---|
protected DataSet |
AutoCompletionManager.ds
The data set that is managed
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<DataSet,AutoCompletionManager> |
AutoCompletionManager.INSTANCES |
Modifier and Type | Method and Description |
---|---|
static AutoCompletionManager |
AutoCompletionManager.of(DataSet dataSet)
Returns the
AutoCompletionManager for the given data set. |
Constructor and Description |
---|
AutoCompletionManager(DataSet ds)
Constructs a new
AutoCompletionManager . |
Modifier and Type | Field and Description |
---|---|
private DataSet |
GeoJSONWriter.data |
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) |
protected DataSet |
OsmJsonReader.doParseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor) |
protected abstract DataSet |
AbstractReader.doParseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor) |
protected DataSet |
GeoJSONReader.doParseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor) |
protected DataSet |
AbstractReader.doParseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor,
AbstractReader.ParserWorker parserWorker) |
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.
|
static DataSet |
OsmJsonReader.parseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.
|
protected DataSet |
BoundingBoxDownloader.parseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.
|
static DataSet |
GeoJSONReader.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) |
static DataSet |
OsmReader.parseDataSet(java.io.InputStream source,
ProgressMonitor progressMonitor,
boolean convertUnknownToTags)
Parse the given input source and return the dataset.
|
DataSet |
OsmServerUserInfoReader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
OsmServerBackreferenceReader.parseOsm(ProgressMonitor progressMonitor)
Reads the referring primitives from the OSM server, parses them and
replies them as
DataSet |
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 |
OsmServerHistoryReader.parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!
|
DataSet |
GeoJSONServerReader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
OsmServerLocationReader.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 |
BoundingBoxDownloader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
OsmServerChangesetReader.parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!
|
DataSet |
OverpassDownloadReader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
OsmServerUserPreferencesReader.parseOsm(ProgressMonitor progressMonitor) |
DataSet |
OsmServerLocationReader.parseOsm(ProgressMonitor progressMonitor,
Compression compression) |
DataSet |
OsmServerReader.parseOsm(ProgressMonitor progressMonitor,
Compression compression)
Download compressed OSM files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmChange(ProgressMonitor progressMonitor) |
DataSet |
OsmServerReader.parseOsmChange(ProgressMonitor progressMonitor)
Download OSM Change uncompressed files from somewhere
|
DataSet |
OsmServerLocationReader.parseOsmChange(ProgressMonitor progressMonitor,
Compression compression) |
DataSet |
OsmServerReader.parseOsmChange(ProgressMonitor progressMonitor,
Compression compression)
Download OSM Change compressed files from somewhere
|
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 |
---|---|
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).
|
Modifier and Type | Method and Description |
---|---|
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,
javax.json.JsonObjectBuilder object) |
protected void |
GeoJSONWriter.appendLayerFeatures(DataSet ds,
javax.json.JsonObjectBuilder object) |
protected void |
MultiFetchServerObjectReader.merge(DataSet from)
merges the dataset
from to MultiFetchServerObjectReader.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.
|
Constructor and Description |
---|
FetchResult(DataSet dataSet,
java.util.Set<PrimitiveId> missingPrimitives)
Constructs a
FetchResult |
GeoJSONWriter(DataSet ds)
Constructs a new
GeoJSONWriter . |
Modifier and Type | Field and Description |
---|---|
private DataSet |
LoadDataHandler.dataSet
Holds the parsed data set
|
Constructor and Description |
---|
LoadDataTask(DownloadParams settings,
DataSet dataSet,
java.lang.String layerName)
Constructs a new
LoadDataTask . |
Modifier and Type | Method and Description |
---|---|
static void |
OsmDataSessionExporter.exportData(DataSet data,
java.io.OutputStream out)
Exports OSM data to the given output stream.
|
Modifier and Type | Field and Description |
---|---|
private static DataSet |
Territories.dataSet |
Modifier and Type | Method and Description |
---|---|
static DataSet |
Territories.getDataSet()
Returns the territories dataset.
|