Struct OsmXmlDocumentInfo
Document-envelope metadata observed on an OSM XML input.
struct OsmXmlDocumentInfo;
Each root attribute has an independent presence bit because API responses, extracts, editor files, and hand-written fixtures do not all carry the same metadata. Unknown root attributes are not stored here; the semantic reader fails explicitly on unsupported attributes instead of discarding them.
Fields
| Name | Type | Description |
|---|---|---|
attribution
|
immutable(ubyte)[] | |
bounds
|
OsmXmlBounds[] | Bounds occurrences in source order. |
copyrightText
|
immutable(ubyte)[] | |
generator
|
immutable(ubyte)[] | |
hasAttribution
|
bool | |
hasCopyright
|
bool | |
hasGenerator
|
bool | |
hasLicense
|
bool | |
hasUploadPolicy
|
bool | Whether the JOSM/root upload policy attribute is present. |
hasVersion
|
bool | |
license
|
immutable(ubyte)[] | |
uploadPolicy
|
immutable(ubyte)[] | Exact UTF-8 value of the root upload attribute.
|
versionText
|
immutable(ubyte)[] |
Methods
| Name | Description |
|---|---|
deepCopy
()
|
Create an independently mutable copy of aggregate storage. |