Expand description
Bounded, event-driven LandXML 1.0, 1.1, and 1.2 source ingestion.
This crate intentionally stops at durable LandXML semantic records. It neither fabricates IFC nor creates renderer meshes; later adapters own coordinate systems, mesh partitioning, and presentation.
Modules§
- alignment
- LandXML horizontal alignment semantics and deterministic numeric probes.
Structs§
- Land
XmlAlignment - A horizontal alignment that owns profiles and cross-sections by source id.
- Land
XmlCancellation Flag - Share this flag with a native task and call
Self::cancelfrom its host. - Land
XmlCanonical Vertex - One canonical planar vertex used by generated constrained terrain.
- Land
XmlCapabilities - Land
XmlCapability Diagnostic - A parser capability gap retained with its source identity and path.
- Land
XmlCg Point - A COGO point’s namespace-local identity is distinct from its display name.
- Land
XmlCoordinate System - Source-owned CRS declarations from LandXML 1.2’s root CoordinateSystem. Kept as raw strings: only the viewer adapter may accept explicit EPSG IDs.
- Land
XmlCross Section - A sampled cross-section at one station on its parent alignment.
- Land
XmlCross Section Point - A cross-section point as authored, including its optional source references.
- Land
XmlCross Section Segment - A continuous sampled
CrossSectSurf/PntList2Dsequence. - Land
XmlCross Section Surface - One source cross-section surface, never a generated corridor surface.
- Land
XmlDocument - The durable LandXML source document joins terrain and plan semantics from the same original byte stream. It deliberately does not create IFC or a renderer-specific representation; the canonical loader owns that step.
- Land
XmlError - Parse failure with a stable code suitable for native/server/wasm mapping.
- Land
XmlExtension - A non-LandXML namespace root retained for diagnostics and later adapters.
- Land
XmlGrade Line - A continuous
PntList2Dsegment of a sampled profile. - Land
XmlLimits - Hard limits applied before semantic allocations grow with untrusted input.
- Land
XmlMetadata Record Fragment - Bounded transport fragment for one metadata record value.
- Land
XmlMetadata Stream Assembler - Reassembles move-owned metadata cursor events for adapters that still need a complete semantic document at their compatibility boundary.
- Land
XmlMetadata Stream End - Counters emitted after every move-owned metadata record.
- Land
XmlMetadata Stream Header - Metadata header emitted once, after all surface fragments have received
credit. Its record vectors are intentionally empty; their values follow as
individually owned
LandXmlMetadataStreamEvent::Recordvalues. - Land
XmlMonument - A monument retains the source point reference instead of resolving it away.
- Land
XmlParcel - Land
XmlParcel Probe - Measurements remain in the document’s declared coordinate units.
- Land
XmlPipe - One validated graph edge in a pipe network.
- Land
XmlPipe Connectivity - A pipe’s graph edge after
refStartandrefEndresolve to source nodes. - Land
XmlPipe Feature - A schema-valid
Featurechild retained without assigning IFC meaning. - Land
XmlPipe Flow - Preserved flow attributes; the parser does not derive hydraulic results.
- Land
XmlPipe Invert - The direction-specific invert belonging to a structure and pipe.
- Land
XmlPipe Measure - A finite authored measurement and the source unit used to make it useful.
- Land
XmlPipe Network - One exact LandXML
PipeNetworksource hierarchy. - Land
XmlPipe Network Collection - One exact
PipeNetworkscollection and its authored metadata. - Land
XmlPipe Network Document - Pipe-network semantic result. It is intentionally independent from TIN.
- Land
XmlPipe Position - A coordinate authored directly in a pipe-network
Centerelement. - Land
XmlPipe Refusal - A semantic refusal for a single source element, not a fabricated fallback.
- Land
XmlPipe Source Batch - Stable source identities prepared for a future canonical LandXML adapter.
- Land
XmlPipe Structure - One structure in source order, with source-to-pipe invert provenance.
- Land
XmlPipe Units - The length units effective for one pipe-network collection.
- Land
XmlPlan Document - Durable COGO and plan records joined to the canonical LandXML document.
- Land
XmlPlan Feature - Land
XmlPlan Geometry - An analytic
CoordGeomprimitive, never a tessellated substitute. - Land
XmlPlan Limits - Plan-record bounds layered over the shared hostile-XML limits.
- Land
XmlPlan Point - A coordinate in LandXML’s authored northing/easting/elevation order.
- Land
XmlPlan Resolver - One document-scoped resolver used by bulk adapters. Cached failures are as important as points: dangling, ambiguous and cyclic aliases must not be retraversed for every dependent geometry record.
- Land
XmlPlan Source Batch - Bounded source identifiers for host-side navigation and batching.
- Land
XmlPoint - Land
XmlPolyline - One preserved source line/ring (boundary, breakline, or contour).
- Land
XmlPreserved Only Extension - A bounded preserved-only corridor or stringline extension root.
- Land
XmlProfile - A
ProfAlignorProfSurfrecord under an alignment. - Land
XmlProfile Point - One station/elevation pair authored by
PVIor a sampled grade line. - Land
XmlRoadway - A roadway’s named source associations; it does not claim corridor geometry.
- Land
XmlSource Id - Deterministic source identifier; it is not derived from any output mesh.
- Land
XmlSource Point - Coordinates from
Surface/SourceData/DataPoints, separate from face ids. - Land
XmlStream Header - Land
XmlStream Metadata - Complete non-surface semantics finalized from the same event-driven
parsers.
terrain.surfacesis empty because complete surfaces were already emitted as bounded fragments with stable source identities. - Land
XmlStream Summary - Deliberately not a fake complete document: surface data is drained before finalization and the summary owns only bounded counters and header facts.
- Land
XmlSurface - Land
XmlSurface Fragment - Land
XmlTerrain Diagnostic - Source-preserving diagnostic; a refusal never turns into guessed terrain.
- Land
XmlTin Document - Land
XmlTin Stream Session - Land
XmlUnits - Land
XmlVertical Curve - A vertical curve anchored at its authored point of vertical intersection.
Enums§
- Land
XmlCapability Diagnostic Code - Stable capability diagnostics for non-rendering LandXML road semantics.
- Land
XmlCross Section Point Data Format - The coordinate convention authored by a
CrossSectPnt. - Land
XmlCross Section Surface Kind - Whether cross-section values are existing/sampled or planned/design values.
- Land
XmlDiagnostic Code - Stable, machine-readable reason for an ingestion refusal or invalid source.
- Land
XmlGeometry Kind - Land
XmlMetadata Record - One complete top-level LandXML semantic record. A consumer can release the record before requesting the next credited event.
- Land
XmlMetadata Stream Event - Resumable metadata events delivered through
LandXmlStreamEvent::Metadata. - Land
XmlParcel State - Whether a parcel can be probed without inventing a filled boundary.
- Land
XmlPipe Geometry - A direct point along the declared pipe route.
- Land
XmlPipe Part - The declared cross-section part of a pipe.
- Land
XmlPlan Point Location - A plan geometry endpoint is either authored directly or a COGO reference.
- Land
XmlPreserved Only Extension Kind - The source area containing an unsupported preserved-only subtree.
- Land
XmlProfile Evaluation Error - Why a design profile cannot be evaluated at a requested station.
- Land
XmlProfile Kind - LandXML distinguishes proposed vertical geometry from sampled surface data.
- Land
XmlRender State - Honest presentation state for one source surface.
- Land
XmlStream Event - Land
XmlStructure Part - The declared part of a structure.
- Land
XmlSurface Component - Land
XmlSurface Kind - Source topology classification declared by a
Surface/Definition. - Land
XmlTerrain Diagnostic Code - Stable refusal category for optional constrained terrain adaptation.
- Land
XmlTopology Origin - Whether terrain faces came from the producer or the constrained adapter.
- Land
XmlVersion Capability - Capability selected from the root LandXML namespace and version attribute.
- Land
XmlVertical Curve Kind - The exact LandXML vertical-curve declaration.
Constants§
- LANDXML_
10_ NAMESPACE - LANDXML_
11_ NAMESPACE - LANDXML_
12_ NAMESPACE - MAX_
LANDXML_ STREAM_ DRAIN_ BYTES - MAX_
LANDXML_ STREAM_ EVENT_ BYTES - Maximum serialized event retained while reserving queue headroom.
- MAX_
LANDXML_ STREAM_ INPUT_ CHUNK_ BYTES - MAX_
LANDXML_ STREAM_ QUEUED_ BYTES - The host must return transport credit by draining before more XML is read.
- MAX_
LANDXML_ STREAM_ QUEUED_ EVENTS
Traits§
- Land
XmlCancellation - Cooperative cancellation hook for hosts that run ingestion off-thread.
Functions§
- classify_
landxml_ version - Classify a LandXML root by its namespace-selected grammar and declared version provenance. Producers sometimes pair their grammar namespace with another known declaration; retain that declaration and let the caller record an explicit compatibility diagnostic.
- parse_
landxml_ document - Parse all supported LandXML semantic families from one source buffer.
- parse_
landxml_ pipe_ networks - Parse exact LandXML 1.2 pipe networks with default resource limits. This native source parser exposes no renderer, WASM, or invented IFC path.
- parse_
landxml_ pipe_ networks_ with_ cancel - Parse exact LandXML 1.2 pipe networks with host limits and cancellation.
- parse_
landxml_ plan - Parse COGO points, monuments, parcels and plan features from LandXML 1.2.
- parse_
landxml_ plan_ with_ cancel - Parse plan records while bounding work and polling the caller’s cancellation hook.
- parse_
landxml_ tin - Parse exact LandXML 1.2 TIN semantics with default resource limits.
- parse_
landxml_ tin_ with_ cancel - Parse exact LandXML 1.2 TIN semantics with host limits and cancellation.