Validation Rules Reference
This page follows the current validator. Use it when a validation report shows a LOFT-V-* code and you need to know what it means.
How to Read Rule Codes
| Prefix | Meaning |
|---|---|
LOFT-V-Hxx |
Hard validation group. These checks mirror the simulator loader, schema contract, route-demand consistency, and strict safety constraints. The message level can still be info, warning, or error. |
LOFT-V-Sxx |
Soft diagnostic group. These checks are engineering review aids for geometry, speed, capacity ranges, CNS-site parameters, and spacing margins. |
Severity is decided by the check, not by the H or S prefix alone, and it is decided by one question: does the condition make the simulator’s loader reject the network? The classification lives in CHECK_SEVERITY in src/loft_edit/validation/tag_level.py in the LOFT-Edit repository, one row per rule, naming the rejecting line of the simulator’s own loader for every error. Every validation report carries that table and any message that disagrees with it, so a misclassification shows up where the findings are.
error–AirspaceNetwork.load_osmraises. The network does not load at all.warning– the network loads; something is probably not as intended, or the finding is a judgement you have to make.info– purely informational: a default applying, a loader notice, an auto-split the loader performs for you.
Two rules are deliberate exceptions and say so in the table: LOFT-V-H40 is an error although nothing rejects, because the simulator reads a missing coverage_radius as 0 and the site then loads and silently supports nothing; and no LOFT-V-Sxx rule may ever be an error, because a plausibility judgement cannot claim the loader rejects. LOFT-V-H12 is an informational default message. LOFT-V-H30 and LOFT-V-H31 are warnings, not errors – their capacities come from an assumed in-trail headway the message itself labels as an assumption (LOFT-V-H30 keeps an error branch for a demand file that cannot be parsed or a flow naming a route that does not exist). LOFT-V-H34 is a warning because the loader has no opinion on corridor clearance. LOFT-V-H06, LOFT-V-H13, and LOFT-V-H17 are warnings because the loader parses pad_count, nominal_speed, and geofencing_buffer leniently: a malformed value is ignored with one loader warning and the element falls back to its default.
Strict Errors
Fix these before exporting or running a simulation.
| Rule | Object | Trigger | Fix |
|---|---|---|---|
LOFT-V-H01 |
node, way, relation | A semantic ID is missing or blank: node_id, corridor_id, or route_id. |
Add the correct per-kind ID. Use n* for nodes, c* for corridors, and r* for routes, or another unique readable ID. |
LOFT-V-H02 |
node | node_type is not one of the supported airspace node values. |
Use waypoint, vertiport, cont_site, intersection, or diverging_point. |
LOFT-V-H07 |
contingency landing site node | Required contingency landing site tags are missing or invalid: vehicle_access and max_landing_rate_per_hour. |
Add allowed vehicle profiles and a positive emergency landing rate. |
LOFT-V-H26 |
network IDs | The same semantic ID is reused by multiple objects. | Make every node_id, corridor_id, and route_id unique across the whole network. |
LOFT-V-H27 |
network | The simulator loader rejects the network. | Read the loader message in the report, then fix the referenced schema or geometry issue. |
LOFT-V-H32 |
airspace node | A corridor node, waypoint, intersection, diverging point, or vertiport is missing altitude, or the value cannot be parsed. |
Add a finite altitude value. Use meters by default, or include a supported unit such as ft. |
LOFT-V-H40 |
CNS site node | A communication, navigation, or surveillance site is missing coverage_radius, or the radius is not positive. |
Set a positive coverage_radius. |
LOFT-V-H43 |
demand flow | A <flow> row breaks the generated flow record: an unknown attribute, or a one-of group (path, arrival) not satisfied exactly once. |
Set exactly one path choice and exactly one arrival parameter, and remove attributes the loader does not read. |
LOFT-V-H45 |
demand flow | A demand origin, destination, or route names a node or route the scenario does not contain. |
Correct the demand reference, or create the missing node or route. |
Warnings
Warnings do not block loading, but they usually mean the simulator will ignore something or the network you built may behave differently than expected.
| Rule | Object | Trigger | Fix or review action |
|---|---|---|---|
LOFT-V-H30 |
route relation | One route’s demand exceeds its bottleneck corridor capacity. A warning, not an error: the capacity comes from an editor-assumed in-trail headway, and the simulator loads such a network without complaint. | Lower the route flow, raise the corridor speed, or accept it as a design point. |
LOFT-V-H31 |
corridor way | Multiple route flows sharing one corridor add up above that corridor’s assumed capacity. A warning, for the same reason as LOFT-V-H30. |
Lower one or more route flows, raise capacity, or redesign routes to reduce shared load. |
LOFT-V-H34 |
corridor pair | Two corridors that share no node come closer horizontally than the sum of their geofencing_buffer values where their altitudes are less than corridor_vertical_separation (30 m) apart. Altitudes come from the corridors’ node altitudes and are compared segment by segment, with sloped segments cut into pieces at most 1 m tall. Only corridors that set geofencing_buffer explicitly, to a value above 0, are compared; a corridor with a node missing its altitude is skipped (LOFT-V-H32 reports it). A warning: the loader has no opinion on corridor clearance. |
Move one corridor, reduce buffer, or separate the corridors vertically. |
LOFT-V-H04 |
topology node | A waypoint, vertiport, intersection, or diverging point is not touched by any corridor way. | Connect it to a corridor, or delete the orphan topology node. CNS sites and contingency landing sites are standalone point assets and are not checked this way. |
LOFT-V-H06 |
vertiport node | pad_count is present but is not a positive integer. The simulator ignores it with a warning and uses the default 1. |
Delete it to use the default 1, or set a positive integer. |
LOFT-V-H10 |
way | A way has airspace=yes but no recognized airspace way gate tag. |
Convert it to a corridor or terminal link with way_type, or remove airspace=yes. |
LOFT-V-H13 |
corridor way | nominal_speed is present but cannot be parsed or is not greater than 0. The simulator ignores it with a warning and uses the vehicle cruise speed. |
Delete it to use the vehicle cruise speed, or set a positive speed in m/s. |
LOFT-V-H17 |
corridor way | geofencing_buffer is present but cannot be parsed or is negative (0 is accepted). The simulator ignores it with a warning and uses the configured separation.geofencing_buffer. |
Delete it to use separation.geofencing_buffer, or set a non-negative distance in meters. |
LOFT-V-H18 |
corridor way | vehicle_access names a vehicle profile not known to the current simulator environment. |
Use all or a valid profile such as the profiles available in the project vehicle configuration. |
LOFT-V-H21 |
route relation | A route relation member is not a way. | Keep route relation members as corridor ways only. |
LOFT-V-H22 |
route relation | A route relation has no corridor way members. | Recreate the route from selected corridors. |
LOFT-V-H23 |
route relation | A route member points to a missing way or a way that is not an airspace corridor. | Remove the bad member or recreate the route from valid corridors. |
LOFT-V-H24 |
route relation | Route corridor members are not consecutive head-to-tail. | Reorder members or reverse/redraw corridor direction so each corridor ends where the next starts. |
LOFT-V-H25 |
route relation | Route origin or destination is not a vertiport. | Start and end the route at node_type=vertiport nodes. |
LOFT-V-H29 |
corridor | A corridor belongs to a component with no vertiport. | Connect the component to a vertiport or remove the unreachable component. |
LOFT-V-H35 |
node, way, relation | Legacy static tag aliases or old object_id are present. The loader ignores them. |
Rename old tags to current schema names; replace object_id with the per-kind ID. |
LOFT-V-H36 |
node, way, relation | A retired network tag is present. The loader warns and ignores it. | Remove the retired tag and use its current schema replacement when one exists. |
LOFT-V-H39 |
node, way, relation | Legacy geometry flags, way-level altitude tags, or malformed smoothing tags are present. | Put altitude on nodes only; use smoothing_anchor=true/false and positive smoothing_weight; remove retired geometry flags. |
LOFT-V-H41 |
way | way_type is present but not a recognized structural class. |
Use a supported structural value such as corridor or vertiport_terminal. |
LOFT-V-H42 |
way | way_type is missing. The simulator treats the way as a plain corridor. |
Add explicit way_type, especially for vertiport terminal links. |
LOFT-V-S01 |
corridor way | nominal_speed exceeds the soft speed limit for its way_type. |
Lower speed or justify the special corridor class. |
LOFT-V-S02 |
corridor way | nominal_speed exceeds the maximum speed of a vehicle listed in vehicle_access. |
Lower speed or restrict vehicle access. |
LOFT-V-S03 |
corridor way | Implied corridor capacity is outside the review range. | Check speed/headway assumptions and demand level. |
LOFT-V-S04 |
corridor way | Headway time from operation strategy is outside the review range. | Adjust operation strategy headway or document why the scenario needs it. |
LOFT-V-S06 |
corridor way | geofencing_buffer is outside the review range. |
Check buffer size against the intended corridor width and separation policy. |
LOFT-V-S07 |
corridor way | Corridor length is outside the review range. | Split very long corridors or inspect extremely short fragments. |
LOFT-V-S08 |
corridor way | Estimated turn radius is below the required radius at the corridor speed. The radius and the speed the message quotes come from the simulator’s own route speed planner, so the quoted cap is the speed the simulator will actually fly, named with the vehicle type it binds on. | Move/split waypoints, increase smoothing control, reduce speed, or add anchor/weight edits carefully. |
LOFT-V-S19 |
corridor pair | Two corridors compared as for LOFT-V-H34, with the same altitude rule, keep their buffers apart but come closer than the buffer sum plus corridor_proximity_margin (10 m). |
Review horizontal and vertical separation. This is an advisory geometry threshold. |
LOFT-V-S30 |
CNS site node | A CNS site carries non-canonical parameter tags the simulator does not read. | Delete retired tags and keep only current model parameters. |
LOFT-V-S32 |
CNS site node | min_quality or max_quality is outside [0, 1]. |
Set quality values between 0 and 1. |
Informational Messages
These messages explain defaults or loader behavior. They normally do not require editing.
| Rule | Object | Meaning |
|---|---|---|
LOFT-V-H05 |
vertiport node | pad_count is absent, so the simulator default of 1 applies. |
LOFT-V-H12 |
network | Optional corridor attributes such as nominal_speed or vehicle_access are unset and simulator defaults apply. |
LOFT-V-H27 |
network | Simulator loader dry-run succeeded and reported its load summary or default messages. |
LOFT-V-H28 |
corridor way | The simulator will auto-split a corridor at an interior topology boundary. Run Auto-Split Corridors if you need a stable ID in the file for every segment. |
LOFT-V-H44 |
scenario | Lists present and absent scenario inputs. Missing optional inputs are normal; a missing network is the error branch of this per-message rule. |
LOFT-V-S12 |
network | Median speed sanity note comparing regular corridors and vertiport terminal links. |
LOFT-V-S13 |
node | Adjacent corridors at one node have a large speed ratio. |
LOFT-V-S16 |
network | Which corridor geometry the soft checks ran on — drawn (the polyline exactly as drawn) or smoothed — and what decided it. The decision is the scenario’s config/simulation_config.xml: the simulator smooths only when input/additional_file names a file and that file sets network_smoothing enabled="true". An <additional_file value=""/> means the file beside the config is deliberately not loaded, so the corridors are checked exactly as drawn. This message also carries the failure branch: if the declared additional file cannot be read, the polyline as drawn is checked instead and the error is quoted. |
LOFT-V-S33 |
node, way, or site | An optional tag written in the file only restates the simulator default. It may be removed to keep the source minimal. |
Capacity Checks
Capacity validation uses route flows from config/demand_config.xml and corridor capacity from speed/headway assumptions. It checks two different conditions:
| Condition | Rule | Meaning |
|---|---|---|
| One route exceeds its bottleneck corridor capacity | LOFT-V-H30 |
Even before considering other traffic, this route asks for more vehicles per hour than at least one corridor on the route can carry. |
| Shared route flow exceeds a corridor’s capacity | LOFT-V-H31 |
Multiple routes can share one corridor. Their route-flow demands are summed on that corridor and compared against capacity. |
OD flows are represented in the same demand_config.xml, but the current strict capacity check only evaluates route flows that reference explicit route relations.
If demand_config.xml cannot be parsed or a route flow references an unknown
route, LOFT-V-H30 emits an error rather than its normal capacity warning.
Thresholds
Soft-check ranges come from src/loft_edit/resources/schema/validation_thresholds.json in the LOFT-Edit repository. If a warning is technically correct but too strict for a research scenario, adjust the threshold file deliberately and record the reason in the scenario notes.