Segments (1122) Delete Previous Page 13 of 23 Next All roads A F None All routes A1 A10 A11 A12 A121 A122 A123 A124 A125 A126 A13 A14 A2 A231 A232 A233 A234 A235 A236 A237 A3 A3-1 A342 A343 A344 A345 A4 A4-1 A4-2 A4-4 A4-5 A4-6 A4-7 A5 A5-1 A6 A7 A8 A8 (1) A9 E1 F100 F101 F101-1 F102 F103 F103-1 F104 F105 F106 F107 F108 F109 F110 F111 F112 F113 F114 F115 F116 F117 F118 F118-1 F119 F120 F121 F122 F123 F124 F124-1 F125 F126 F127 F128 F128-1 F128-2 F128-3 F129 F130 F131 F132 F133 F135 F136 F137 F138 F139 F200 F201 F202 F203 F204 F205 F206 F207 F208 F209 F210 F211 F212 F213 F214 F215 F216 F217 F218 F219 F220 F221 F222 F223 F224 F225 F226 F227 F228 F229 F230 F231 F232 F233 F234 F235 F236 F237 F238 F239 F240 F242 F243 F244 F245 F246 F247 F248 F249 F250 F251 F252 F252-1 F253 F254 F255 F255-1 F256 F257 F258 F259 F260 F261 Select state Abia Adamawa Akwa Ibom Anambra Bauchi Bayelsa Benue Borno Cross River Delta Ebonyi Edo Ekiti FCT Gombe Imo Jigawa Kaduna Kano Katsina Kebbi Kogi Kwara Lagos Nasarawa Niger Ogun Ondo Osun Oyo Plateau Rivers Sokoto Taraba Yobe Zamfara ☰ Route Segment code Name State Start name Northings Eastings End name Northings 2 Eastings 2 Distance(km) ✎ F117 F117DES15 UMUGAGU DELTA Default 6.19270 6.71740 Default 6.13478 6.75780 0.00 ✎ F117 F117ANS16 ANAM BRD ANAMBRA Default 6.13478 6.75780 Default 6.24805 6.93220 0.00 ✎ F117 F117ANS17 AWKUZU ANAMBRA Default 6.24805 6.93220 Default 6.25600 7.14708 0.00 ✎ F117 F117ENS18 ENUGU BRD ENUGU Default 6.25600 7.14708 Default 6.33650 7.33780 0.00 ✎ F117 F117ENS19 INDUNO ENUGU Default 6.33650 7.33780 Default 6.47070 7.48580 0.00 ✎ F117 FII7ENS20 ABKPA ENUGU Default 6.47070 7.48580 Default 6.47179 7.74490 0.00 ✎ F118 F118S01 TEMIDIRE OYO - 8.01213 2.71730 - 7.95807 2.93153 25.00 ✎ F118 F118S02 IWEE-ILE OYO - 7.95807 2.93153 - 7.99945 3.10899 24.84 ✎ F118 F118S03 IGANA OYO - 7.99945 3.10899 - 8.00854 3.31889 25.09 ✎ F118 F118S04 ABULE OJO OYO - 8.00854 3.31889 - 8.00686 3.51103 26.56 ✎ F118 F118S05 ISEYIN OYO - 8.00686 3.51103 - 7.91449 3.70235 25.07 ✎ F118 F118S06 OYO OYO - 7.91449 3.70235 - 7.86197 3.90252 25.46 ✎ F118 F118S07 - OYO - 7.86197 3.90252 - 7.84984 3.90709 3.25 ✎ F118 F118S08 AKAPO OYO - 7.84984 3.90709 - 7.72466 4.06893 25.01 ✎ F118 F118S09 IWO OSUN - 7.72466 4.06893 - 7.48586 4.34595 46.20 ✎ F118-1 F118-1S01 IJEMU OSUN - 7.46777 4.33175 - 7.62569 4.43955 22.04 ✎ F119 F119EKS01 - EKITI - 7.76851 5.72110 - 7.71639 5.73732 6.94 ✎ F119 F119ODS02 - ONDO - 7.71639 5.73732 - 7.61921 5.89488 25.54 ✎ F119 F119KOS03 - KOGI - 7.61921 5.89488 - 7.60832 5.96634 9.00 ✎ F119 F119KOS04 - KOGI - 7.60832 5.96634 - 7.61368 6.15651 24.69 ✎ F119 F119KOS05 - KOGI - 7.61368 6.15651 - 7.57798 6.21963 8.79 ✎ F119 F119KOS06 - KOGI - 7.57798 6.21963 - 7.51882 6.46704 32.49 ✎ F119 F119KOS07 - KOGI - 7.51882 6.46704 - 7.45621 6.67084 25.12 ✎ F119 F119KOS08 - KOGI - 7.45621 6.67084 - 7.41689 6.87408 24.95 ✎ F119 F119KOS09 - KOGI - 7.41689 6.87408 - 7.41557 7.08467 25.04 ✎ F119 F119KOS10 - KOGI - 7.41557 7.08467 - 7.49243 7.17100 13.63 ✎ F120 F120BES01 - BENUE - 6.79829 9.02100 - 6.68475 9.15566 23.41 ✎ F120 F120CRS02 NeweKwete CROSS RIVER - 6.68475 9.15566 - 6.61898 9.33870 24.99 ✎ F120 F120CRS03 Anape II CROSS RIVER - 6.61898 9.33870 - 6.45470 9.43384 25.01 ✎ F120 F120CRS04 Obudu Cattle Ranch CROSS RIVER - 6.45470 9.43384 - 6.37566 9.37515 19.13 ✎ F121 F121BES01 Gyushage BENUE - 7.72743 8.54666 - 7.74777 8.75546 24.95 ✎ F121 F121BES02 Ortese BENUE - 7.74777 8.75546 - 7.58275 8.87967 24.94 ✎ F121 F121BES03 Gelaza BENUE - 7.58275 8.87967 - 7.40108 8.99296 24.95 ✎ F121 F121BES04 Yadev BENUE - 7.40108 8.99296 - 7.45278 9.16735 24.96 ✎ F121 F121BES05 Gburuku BENUE - 7.45278 9.16735 - 7.46211 9.20596 4.93 ✎ F121 F121BES06 Ugba BENUE - 7.46337 9.20958 - 7.48357 9.41960 24.95 ✎ F121 F121BES07 Une BENUE - 7.48357 9.41960 - 7.51056 9.61116 21.35 ✎ F122 F122TAS01 Donga TARABA - 7.69968 9.89173 - 7.69673 10.09633 24.95 ✎ F122 F122TAS02 Gidan Adamu TARABA - 7.69673 10.09633 - 7.59258 10.29312 24.95 ✎ F122 F122TAS03 Gararia TARABA - 7.59258 10.29312 - 7.49813 10.35859 14.24 ✎ F122 F122TAS04 Gayama TARABA - 7.49562 10.35755 - 7.34779 10.49366 24.95 ✎ F122 F122TAS05 Baissa TARABA - 7.34779 10.49366 - 7.20672 10.62172 24.94 ✎ F122 F122TAS06 Nama Baba TARABA - 7.20672 10.62172 - 7.03005 10.71917 24.95 ✎ F122 F122TAS07 Abong TARABA - 7.03005 10.71917 - 6.88949 10.85283 24.95 ✎ F122 F122TAS08 Dan Fulani TARABA - 6.88949 10.85283 - 6.84015 11.03728 24.95 ✎ F122 F122TAS09 Ngikar TARABA - 6.84015 11.03728 - 6.75101 11.17867 24.76 ✎ F122 F122TAS10 Gembu TARABA - 6.75101 11.17867 - 6.72823 11.24776 10.31 ✎ F123 F123TAS01 Tunga TARABA - 7.85852 10.97215 - 7.80514 11.18048 24.95 ✎ F123 F123TAS02 Nyibango TARABA - 7.80514 11.18048 - 7.79963 11.37797 23.46 ✎ F125 F125NAS01 - NASARAWA - 8.49902 8.51726 - 8.53644 8.72209 24.45 Features Features and Workflows1) LandingFERMA-branded entry page.Navigation to Inventory, Motorability, Condition, Library, Engineering Admin.2) Road InventoryPrimary use case: route and segment inventory exploration.Main sectionsKPI strip above mapMap/table view sectionRight side cards:Segment summarySegment details with:Segment Identity tableSegment Characteristics tableCurrent behavior highlightsFilters are mutually exclusive in page logic (road OR route OR state).Route row selection loads details via AJAX endpoint:GET /road-inventory/route-details/?route=<route_code>Summary includes:RouteLength (sum of segment distances)Start point/End point derived from first/last segment by index orderingPasses through (Route.details)Number of segmentsStart/End display fallback chain for name:Address FK name -> Segment name -> Segment state -> -Point display format:Name (Lat, Lon) with fixed decimal precision3) Road MotorabilityPrimary use case: evaluate motorability performance and segment status distribution.Main sectionsKPI strip (length/routes/segments/no data)Status KPI strip (Good/Tolerable/Intolerable/Failed)Map/table viewRight side cards:Motorability summarySegments under investigation or repairInvestigation/repair table behaviorOne row per segmentFilter-aware (uses page filter context)Source: Defect records where workflow status is not repair_completeColumns:Segment (segment code)Status (human-readable workflow status)Sort order:Segment index/code ordering4) Road ConditionPrimary use case: operate on sub-segment condition records and create draft defect records.Key endpointsPOST /road-condition/save-draft/GET /road-condition/subsegments/?segment=<code>BehaviorCreates defect drafts only for eligible sub-segments.Prevents duplicate active records per sub-segment.Left-side filter uses Route and Condition instead of State.Speed-vs-distance graph auto-loads the first segment returned by the active filter.If the current filter returns no segments, the page shows No segments found for the selected filter.Segment ordering uses:parent routesegment trailing two-digit suffix (numeric)id tie-breakerSub-segment ordering uses:parent routeparent segment trailing two-digit suffix (numeric)parent segment idsub-segment trailing suffix (numeric)id tie-breaker5) LibrarySections:Road inventoryReportsTechnical guideUser guideNotes:Shared page title behavior implemented as Library across sections.Technical and user guides are rendered via shared guide template logic.Road inventory interactionsSegment rows no longer open the editor directly.A compact edit icon beside each segment checkbox opens the segment edit modal.Clicking a segment row expands it inline as an accordion.Only one segment can stay expanded at a time.Expanded segment rows load sub-segments on demand.Inline sub-segment workspaceExpanded sub-segment tables show:checkboxedit iconsub-segment codestart pointend pointdistanceThe inline sub-segment edit modal currently updates:start pointend pointSub-segment distance remains visible in the table but is read-only in the modal.Selecting sub-segments reveals a local Delete action above the expanded sub-segment table.Confirmed delete removes the selected sub-segments and then renumbers the remaining rows so codes stay contiguous.Data hygiene and constraintsSegment codes are standardized to end in two digits.Segment code max length is now 16 characters.Shared list ordering ignores the middle portion of the code and prioritizes route plus the final two-digit suffix.Duplicate sub-segment imports are collapsed during upload so repeated coordinate/data rows are not created.Sub-segment position ceiling is now 35, with duplicate-cleanup and renumbering support in the migration path.6) Engineering AdminWorkflow tabs/pages:Root Cause AnalysisPhysical InspectionSolution DesignApprovalsOverview/History variantsWorkflow progression (conceptual)draft -> rca -> physical_inspection -> solution_design -> approved/rejected -> repair_ongoing -> repair_completeRecent UI updatePriority controls/labels removed from Approvals and engineering-admin summary tables.Top navigation is fixed site-wide.Library and Engineering left navigation panes are fixed on desktop and scroll independently from the main content area.7) Data import/sync utilitiesRoute details sync commandCommand: python manage.py sync_route_detailsReads route lines from template source and updates Route.details.Supports dry run and apply mode.Segment refresh services/tasksQueue refresh endpoint and Celery task for updating distances/speeds/status from Google API. Uploads Download template Select file (.xls, .xlsx, .csv) Begin Upload Uploading, please wait... Upload summary Download error CSV
Features and Workflows1) LandingFERMA-branded entry page.Navigation to Inventory, Motorability, Condition, Library, Engineering Admin.2) Road InventoryPrimary use case: route and segment inventory exploration.Main sectionsKPI strip above mapMap/table view sectionRight side cards:Segment summarySegment details with:Segment Identity tableSegment Characteristics tableCurrent behavior highlightsFilters are mutually exclusive in page logic (road OR route OR state).Route row selection loads details via AJAX endpoint:GET /road-inventory/route-details/?route=<route_code>Summary includes:RouteLength (sum of segment distances)Start point/End point derived from first/last segment by index orderingPasses through (Route.details)Number of segmentsStart/End display fallback chain for name:Address FK name -> Segment name -> Segment state -> -Point display format:Name (Lat, Lon) with fixed decimal precision3) Road MotorabilityPrimary use case: evaluate motorability performance and segment status distribution.Main sectionsKPI strip (length/routes/segments/no data)Status KPI strip (Good/Tolerable/Intolerable/Failed)Map/table viewRight side cards:Motorability summarySegments under investigation or repairInvestigation/repair table behaviorOne row per segmentFilter-aware (uses page filter context)Source: Defect records where workflow status is not repair_completeColumns:Segment (segment code)Status (human-readable workflow status)Sort order:Segment index/code ordering4) Road ConditionPrimary use case: operate on sub-segment condition records and create draft defect records.Key endpointsPOST /road-condition/save-draft/GET /road-condition/subsegments/?segment=<code>BehaviorCreates defect drafts only for eligible sub-segments.Prevents duplicate active records per sub-segment.Left-side filter uses Route and Condition instead of State.Speed-vs-distance graph auto-loads the first segment returned by the active filter.If the current filter returns no segments, the page shows No segments found for the selected filter.Segment ordering uses:parent routesegment trailing two-digit suffix (numeric)id tie-breakerSub-segment ordering uses:parent routeparent segment trailing two-digit suffix (numeric)parent segment idsub-segment trailing suffix (numeric)id tie-breaker5) LibrarySections:Road inventoryReportsTechnical guideUser guideNotes:Shared page title behavior implemented as Library across sections.Technical and user guides are rendered via shared guide template logic.Road inventory interactionsSegment rows no longer open the editor directly.A compact edit icon beside each segment checkbox opens the segment edit modal.Clicking a segment row expands it inline as an accordion.Only one segment can stay expanded at a time.Expanded segment rows load sub-segments on demand.Inline sub-segment workspaceExpanded sub-segment tables show:checkboxedit iconsub-segment codestart pointend pointdistanceThe inline sub-segment edit modal currently updates:start pointend pointSub-segment distance remains visible in the table but is read-only in the modal.Selecting sub-segments reveals a local Delete action above the expanded sub-segment table.Confirmed delete removes the selected sub-segments and then renumbers the remaining rows so codes stay contiguous.Data hygiene and constraintsSegment codes are standardized to end in two digits.Segment code max length is now 16 characters.Shared list ordering ignores the middle portion of the code and prioritizes route plus the final two-digit suffix.Duplicate sub-segment imports are collapsed during upload so repeated coordinate/data rows are not created.Sub-segment position ceiling is now 35, with duplicate-cleanup and renumbering support in the migration path.6) Engineering AdminWorkflow tabs/pages:Root Cause AnalysisPhysical InspectionSolution DesignApprovalsOverview/History variantsWorkflow progression (conceptual)draft -> rca -> physical_inspection -> solution_design -> approved/rejected -> repair_ongoing -> repair_completeRecent UI updatePriority controls/labels removed from Approvals and engineering-admin summary tables.Top navigation is fixed site-wide.Library and Engineering left navigation panes are fixed on desktop and scroll independently from the main content area.7) Data import/sync utilitiesRoute details sync commandCommand: python manage.py sync_route_detailsReads route lines from template source and updates Route.details.Supports dry run and apply mode.Segment refresh services/tasksQueue refresh endpoint and Celery task for updating distances/speeds/status from Google API.