Struct OsmXmlWriter
Stateless streaming OSM XML writer.
struct OsmXmlWriter;
.init is ready to use. Because the destination is a streaming ByteSink, transport or validation failure after output has begun may leave a valid prefix in the sink. Applications replacing files should use the safe temporary-output/rename policy described by the workspace integrity contract.
Methods
| Name | Description |
|---|---|
write
(document, sink, status, options)
|
|
writeDataset
(dataset, sink, status, options)
|
Write a dataset using a standard OSM XML envelope. |