Modifier and Type | Method and Description |
---|---|
void |
APIDataSet.removeProcessed(java.util.Collection<IPrimitive> processed) |
Modifier and Type | Interface and Description |
---|---|
interface |
INode |
interface |
IRelation |
interface |
IWay |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrimitive
Abstract class to represent common features of the datatypes primitives.
|
class |
Node
One node data, consisting of one world coordinate waypoint.
|
class |
NodeData |
class |
OsmPrimitive
|
class |
PrimitiveData
This class can be used to save properties of OsmPrimitive.
|
class |
Relation
A relation, having a set of tags and any number (0...n) of members.
|
class |
RelationData |
class |
Way
One full way, consisting of a list of way
nodes . |
class |
WayData |
Modifier and Type | Method and Description |
---|---|
static OsmPrimitiveType |
OsmPrimitiveType.from(IPrimitive obj) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DefaultNameFormatter.buildDefaultToolTip(IPrimitive primitive)
Builds a default tooltip text for the primitive
primitive . |
protected void |
DefaultNameFormatter.decorateNameWithId(java.lang.StringBuilder name,
IPrimitive primitive)
Decorates the name of primitive with its id, if the preference
osm-primitives.showid is set.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IPrimitive> |
UploadLayerTask.processedPrimitives |
private java.util.Set<IPrimitive> |
UploadPrimitivesTask.processedPrimitives |
Modifier and Type | Method and Description |
---|---|
void |
OsmDataLayer.cleanupAfterUpload(java.util.Collection<IPrimitive> processed)
Clean out the data behind the layer.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<? extends IPrimitive> |
DiffResultProcessor.primitives
the collection of primitives being uploaded
|
private java.util.Set<IPrimitive> |
DiffResultProcessor.processed
the set of processed primitives *after* the new id, the new version and the new changeset id
is set
|
private java.util.Collection<IPrimitive> |
OsmServerWriter.processed
This list contains all successfully processed objects.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IPrimitive> |
OsmServerWriter.getProcessedPrimitives()
Replies the collection of successfully processed primitives
|
protected java.util.Set<IPrimitive> |
DiffResultProcessor.postProcess(Changeset cs,
ProgressMonitor monitor)
Postprocesses the diff result read and parsed from the server.
|
java.util.Collection<IPrimitive> |
OsmApi.uploadDiff(java.util.Collection<? extends IPrimitive> list,
ProgressMonitor monitor)
Uploads a list of changes in "diff" form to the server.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OsmWriter.addCommon(IPrimitive osm,
java.lang.String tagname)
Add the common part as the form of the tag as well as the XML attributes
id, action, user, and visible.
|
void |
OsmChangeBuilder.append(IPrimitive p)
Appends an Primitive to the OsmChange document.
|
void |
OsmApi.createPrimitive(IPrimitive osm,
ProgressMonitor monitor)
Creates an OSM primitive on the server.
|
void |
OsmApi.deletePrimitive(IPrimitive osm,
ProgressMonitor monitor)
Deletes an OSM primitive on the server.
|
(package private) void |
OsmServerWriter.makeApiRequest(IPrimitive osm,
ProgressMonitor progressMonitor) |
void |
OsmApi.modifyPrimitive(IPrimitive osm,
ProgressMonitor monitor)
Modifies an OSM primitive on the server.
|
private java.lang.String |
OsmApi.toXml(IPrimitive o,
boolean addBody)
Makes an XML string from an OSM primitive.
|
protected void |
OsmChangeBuilder.write(IPrimitive p) |
Modifier and Type | Method and Description |
---|---|
void |
OsmChangeBuilder.append(java.util.Collection<? extends IPrimitive> primitives)
Appends a collection of Primitives to the OsmChange document.
|
void |
OsmServerWritePostprocessor.postprocessUploadedPrimitives(java.util.Collection<IPrimitive> p,
ProgressMonitor progress) |
protected void |
OsmServerWriter.uploadChangesAsDiffUpload(java.util.Collection<? extends IPrimitive> primitives,
ProgressMonitor progressMonitor)
Upload all changes in one diff upload
|
protected void |
OsmServerWriter.uploadChangesInChunks(java.util.Collection<? extends IPrimitive> primitives,
ProgressMonitor progressMonitor,
int chunkSize)
Upload all changes in one diff upload
|
protected void |
OsmServerWriter.uploadChangesIndividually(java.util.Collection<? extends IPrimitive> primitives,
ProgressMonitor progressMonitor)
Uploads the changes individually.
|
java.util.Collection<IPrimitive> |
OsmApi.uploadDiff(java.util.Collection<? extends IPrimitive> list,
ProgressMonitor monitor)
Uploads a list of changes in "diff" form to the server.
|
void |
OsmServerWriter.uploadOsm(UploadStrategySpecification strategy,
java.util.Collection<? extends IPrimitive> primitives,
Changeset changeset,
ProgressMonitor monitor)
Send the dataset to the server.
|
Constructor and Description |
---|
DiffResultProcessor(java.util.Collection<? extends IPrimitive> primitives)
Creates a diff result reader
|