Segments (1122) Delete Previous Page 21 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) ✎ F239 F239BES04 Ukpa BENUE - 6.92262 8.44765 - 7.11557 8.49597 24.96 ✎ F239 F239BES05 Kpom BENUE - 7.11557 8.49597 - 7.29158 8.51940 20.16 ✎ F240 F240NAS01 ANDAHA NASARAWA - 8.90205 8.41081 - 9.11045 8.40424 25.02 ✎ F240 F240KAS02 NUNGBO KADUNA - 9.11045 8.40424 - 9.22927 8.45762 15.62 ✎ F242 F242TAS01 GIDAN AMADU TARABA - 7.25204 9.97468 - 7.45838 9.94370 24.96 ✎ F242 F242TAS02 KPEGA TARABA - 7.45838 9.94370 - 7.66871 9.89723 25.01 ✎ F242 F242TAS03 JABWAJE TARABA - 7.66871 9.89723 - 7.86454 9.79497 26.69 ✎ F242 F242TAS04 WUKARI TARABA - 7.86454 9.79497 - 8.06767 9.79829 25.10 ✎ F242 F242TAS05 IBI TARABA - 8.06767 9.79829 - 8.25180 9.69651 25.02 ✎ F242 F242TAS06 - TARABA - 8.25180 9.69651 - 8.37779 9.68854 14.23 ✎ F242 F242PLS07 OBUNDE PLATEAU - 8.37779 9.68854 - 8.46780 9.67833 10.79 ✎ F242 F242PLS08 YAMINI PLATEAU - 8.46780 9.67833 - 8.67285 9.65453 24.93 ✎ F242 F242PLS09 INSHAR PLATEAU - 8.67285 9.65453 - 8.85584 9.59657 25.06 ✎ F242 F242PLS10 SHENDAM PLATEAU - 8.85584 9.59657 - 8.96493 9.44360 25.02 ✎ F242 F242PLS11 GIDAN LIGIDI PLATEAU - 8.96493 9.44360 - 9.11680 9.33379 25.04 ✎ F242 F242PLS12 GU PLATEAU - 9.11680 9.33379 - 9.27411 9.27186 24.97 ✎ F242 F242PLS13 NIYES PLATEAU - 9.27411 9.27186 - 9.44107 9.18948 24.93 ✎ F242 F242PLS14 MONGU PLATEAU - 9.44107 9.18948 - 9.51988 9.01025 25.09 ✎ F242 F242PLS15 RAFAN PLATEAU - 9.51988 9.01025 - 9.63478 8.89159 24.99 ✎ F242 F242PLS16 BUKURU PLATEAU - 9.63478 8.89159 - 9.72143 8.86547 10.96 ✎ F243 F243S01 DAN ALHAJI KADUNA - 10.44093 8.65451 - 10.63075 8.64501 24.94 ✎ F243 F243S02 MAIGUDU KANO - 10.63075 8.64501 - 10.83670 8.57327 25.04 ✎ F243 F243S03 KOGIN KANO KANO - 10.83670 8.57327 - 11.03846 8.60985 25.02 ✎ F243 F243S04 FALGORE KANO - 11.03846 8.60985 - 11.21373 8.48388 25.08 ✎ F243 F243S05 YAR MAYARA KANO - 11.21373 8.48388 - 11.32578 8.31629 24.90 ✎ F243 F243S06 RAFIN MAIYAKI KANO - 11.32578 8.31629 - 11.46327 8.19743 21.24 ✎ F244 F244KNS01 GANDU KANO - 12.22142 8.50621 - 12.32994 8.69881 25.03 ✎ F244 F244KNS02 - KANO - 12.32994 8.69881 - 12.39164 8.78453 12.00 ✎ F244 F244JIS03 FOGOLAWA JIGAWA - 12.39164 8.78453 - 12.47445 8.86947 13.48 ✎ F244 F244JIS04 RAHA JIGAWA - 12.47445 8.86947 - 12.66609 8.97682 24.98 ✎ F244 F244JIS05 - JIGAWA - 12.66609 8.97682 - 12.80929 9.00331 17.13 ✎ F244 F244KTS06 JIGAWA KATSINA - 12.80929 9.00331 - 12.83570 8.98622 3.53 ✎ F245 F245KDS01 Jengre-Ningi KADUNA - 10.29837 8.77984 - 10.31290 8.79873 18.76 ✎ F245 F245PLS02 PLBDRY PLATEAU - 10.31290 8.79873 - 10.36938 8.84070 9.26 ✎ F245 F245BAS03 BABDRY BAUCHI - 10.36938 8.84070 - 10.50832 8.96876 25.27 ✎ F245 F245BAS04 Sabon Kaura BAUCHI - 10.50832 8.96876 - 10.70261 8.99751 25.30 ✎ F245 F245BAS05 Gunda BAUCHI - 10.70261 8.99751 - 10.82285 9.17243 24.81 ✎ F245 F245BAS06 Maidubi BAUCHI - 10.82285 9.17243 - 10.95636 9.31182 25.05 ✎ F245 F245BAS07 Jimmi BAUCHI - 10.95636 9.31182 - 11.01770 9.52056 25.11 ✎ F245 F245BAS08 Kabara BAUCHI - 11.01770 9.52056 - 11.21208 9.60571 24.77 ✎ F245 F245BAS09 Shabaki BAUCHI - 11.21207 9.60560 - 11.31568 9.60125 15.80 ✎ F246 F246BAS01 Bauchi BAUCHI - 10.34692 9.84102 - 10.54536 9.76781 25.20 ✎ F246 F246BAS02 Siri Hill BAUCHI - 10.54536 9.76781 - 10.75692 9.77845 25.02 ✎ F246 F246BAS03 Kula Hill BAUCHI - 10.75692 9.77845 - 10.92821 9.68473 24.74 ✎ F246 F246BAS04 Zakara BAUCHI - 10.92821 9.68473 - 11.07111 9.56937 26.85 ✎ F247 F247PLS01 LANGTANG PLATAEU - 9.13228 9.79003 - 9.32277 9.73860 25.06 ✎ F247 F247PLS02 BAN PLATAEU - 9.32277 9.73860 - 9.37711 9.54609 25.05 ✎ F247 F247PLS03 AMPAN PLATAEU - 9.37711 9.54609 - 9.35490 9.37695 23.93 ✎ F247 F247PLS04 COCIN BAURE PANYAM PLATAEU - 9.35490 9.37695 - 9.43324 9.19176 25.05 ✎ F247 F247PLS05 PSU BOKKOS PLATAEU - 9.43324 9.19176 - 9.52161 9.01866 25.05 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.