Segments (1240) Delete Previous Page 14 of 25 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 Enugu FCT Gombe Imo Jigawa Kaduna Kano Katsina Kebbi Kogi Kwara Lagos Lagos I Lagos II 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) ✎ F121 F121S07 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 F123S01 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 ✎ F123 F123S02 Nyibango TARABA - 7.80514 11.18048 - 7.79963 11.37797 23.46 ✎ F124 F124KWS01 SHARE KWARA - 8.82273 4.93392 - 8.79941 5.12828 25.06 ✎ F124 F124KWS02 ZAMBUFU KWARA - 8.79941 5.12828 - 8.78715 5.33788 24.93 ✎ F124 F124KWS03 ESANTI KWARA - 8.78715 5.33788 - 8.75322 5.54971 25.39 ✎ F124 F124KWS04 PATEGI KWARA - 8.75322 5.54971 - 8.72870 5.76291 24.88 ✎ F124 F124KWS05 KUSOJI KWARA - 8.72870 5.76291 - 8.69120 5.95312 25.12 ✎ F124 F124KWS06 BARO KWARA - 8.69120 5.95312 - 8.65420 6.16720 25.65 ✎ F124 F124KWS07 KPODA KWARA - 8.65420 6.16720 - 8.75610 6.31280 165.32 ✎ F124 F124NIS08 USOGBA NIGER - 8.75610 6.31280 - 8.63690 6.47760 25.55 ✎ F124 F124NIS09 KANDI NIGER - 8.63690 6.47760 - 8.56500 6.63290 25.47 ✎ F124 F124NIS10 GIDI NIGER - 8.56500 6.63290 - 8.64080 6.77960 21.91 ✎ F124 F124FCS11 - FCT - 8.64080 6.77960 - 8.53640 6.92580 25.87 ✎ F124 F124FCS12 - FCT - 8.53640 6.92580 - 8.44030 7.04160 23.78 ✎ F124 F124NAS13 - NASARAWA - 8.44030 7.04160 - 8.40870 7.22320 25.30 ✎ F124 F124NAS14 - NASARAWA - 8.40870 7.22320 - 8.47680 7.32520 15.36 ✎ F124 F124FCS15 - FCT - 8.47680 7.32520 - 8.50040 7.37080 6.14 ✎ F124 F124NAS16 - NASARAWA - 8.50033 7.37004 - 8.51586 7.58456 24.80 ✎ F124 F124NAS17 - NASARAWA - 8.51586 7.58456 - 8.64209 7.79489 29.39 ✎ F124 F124NAS18 GADABULE NASARAWA - 8.64209 7.79489 - 8.85549 7.86468 25.74 ✎ F124 F124NAS19 LAFIA NASARAWA - 8.85549 7.86468 - 8.54022 8.72650 140.16 ✎ F124 F124NAS20 ACHIGOGO NASARAWA - 8.54022 8.72650 - 8.62302 8.95094 28.54 ✎ F124 F124PLS21 NAMU PLATEAU - 8.62302 8.95094 - 8.69709 9.12253 21.36 ✎ F124 F124PLS22 TARAM PLATEAU - 8.69709 9.12253 - 8.75949 9.29177 25.43 ✎ F124 F124PLS23 SHEPWAN PLATEAU - 8.75949 9.29177 - 8.84126 9.47512 24.63 ✎ F124 F124PLS24 SHENDAM PLATEAU - 8.84126 9.47512 - 8.87763 9.53869 8.27 ✎ F124-1 FI24-1KWS01 - KWARA - 8.85061 5.41633 - 8.73951 5.44343 24.11 ✎ F124-1 FI24-1KWS02 - KWARA - 8.73951 5.44343 - 8.73960 5.65903 25.09 ✎ F124-1 FI24-1KWS03 - KWARA - 8.73960 5.65903 - 8.74333 5.81319 20.28 ✎ F124-1 FI24-1NGS04 - NIGER - 8.74333 5.81319 - 8.91092 5.88322 24.85 ✎ F124-1 FI24-1NGS05 - NIGER - 8.91092 5.88322 - 9.08501 6.03111 26.95 ✎ F125 F125NAS01 - NASARAWA - 8.49902 8.51726 - 8.53644 8.72209 24.45 ✎ F125 F125PLS01 Kurum PLATEAU - 8.87826 9.54114 - 9.05264 9.65652 24.96 ✎ F125 F125NAS02 - NASARAWA - 8.53644 8.72209 - 8.62313 8.95088 29.17 ✎ F125 F125PLS02 Langtang PLATEAU - 9.05264 9.65652 - 9.14121 9.81836 24.95 ✎ F125 F125PLS03 - PLATEAU - 8.62313 8.95088 - 8.70845 9.15923 25.60 ✎ F125 F125PLS04 - PLATEAU - 8.70845 9.15923 - 8.78132 9.31149 24.88 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.