Struct OwnedDataset
Durable in-memory OSM semantic dataset.
struct OwnedDataset;
Elements are grouped by type because cross-type PBF wire ordering is a codec representation detail rather than an OSM semantic contract. Ordering inside each element and inside each tag/reference/member array is preserved exactly.
is a valid empty dataset.
Fields
| Name | Type | Description |
|---|---|---|
nodes
|
OwnedNode[] | |
relations
|
OwnedRelation[] | |
ways
|
OwnedWay[] |
Properties
| Name | Type | Description |
|---|---|---|
empty[get]
|
bool | Return true when the dataset contains no OSM elements. |
Methods
| Name | Description |
|---|---|
deepCopy
()
|
Create an independently mutable dataset snapshot. |