Segments (1122) Delete Previous Page 20 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) ✎ F229 F229ANS07 ORLU ANAMBRA - 5.90882 7.01590 - 6.08240 7.00612 22.56 ✎ F229 F229ANS08 AWKA ANAMBRA - 6.08240 7.00612 - 6.20796 7.04247 17.89 ✎ F230 F230RIS01 Baen/Yeghe RIVERS - 4.59600 7.51474 - 4.69503 7.32484 25.04 ✎ F230 F230RIS02 Kpopie RIVERS - 4.69504 7.32484 - 4.71706 7.26127 8.01 ✎ F231 F231RIS01 Chokocho/Olakwo RIVERS - 4.95655 7.01189 - 5.11794 7.13603 25.05 ✎ F231 F231RIS02 Umu Ohie Ukwu Amala Ibodo RIVERS/IMO - 5.11795 7.13603 - 5.20571 7.18706 12.13 ✎ F231 F23IMIS03 Okpalla IMO - 5.20571 7.18706 - 5.31291 7.27581 16.66 ✎ F232 F232AKS01 Ikot Abasi AKWA IBOM - 4.56911 7.54726 - 4.60814 7.66197 13.98 ✎ F232 F232AKS02 Abak-Uyo AKWA IBOM - 4.60814 7.66197 - 4.80398 7.73043 25.80 ✎ F232 F232AKS03 Ibagwa-Ikot Ekpene AKWA IBOM - 4.80398 7.73043 - 4.99327 7.77923 25.05 ✎ F232 F232AKS04 Ikot Ekpene AKWA IBOM - 4.99327 7.77923 - 5.17919 7.71204 22.88 ✎ F232 F232AKS05 Umuahia/Ekpene AKWA IBOM - 5.18202 7.71034 - 5.32128 7.63005 18.71 ✎ F232 F232ABS06 Amawon-Umudike ABIA - 5.36568 7.60066 - 5.52432 7.49332 24.48 ✎ F233 F233ENS01 Industrial Area ENUGU - 6.38065 7.49589 - 6.43269 7.48319 7.68 ✎ F233 F233ENS02 Iva Valley ENUGU - 6.43291 7.48316 - 6.46803 7.46962 5.00 ✎ F234 F234ABS01 Ututu-Ania ABIA - 5.37957 7.90729 - 5.54416 7.84332 24.82 ✎ F234 F234ABS02 Akanu-Ugo Ebi ABIA - 5.54416 7.84332 - 5.74557 7.80884 24.95 ✎ F234 F234EBS03 Amangwu EBONYI - 5.74557 7.80884 - 5.90764 7.88278 22.23 ✎ F234 F234EBS04 Ogo Ubi EBONYI - 5.90764 7.88278 - 6.06203 8.01183 28.12 ✎ F234 F234EBS05 Amuzu/Ezza EBONYI - 6.06203 8.01183 - 6.24009 8.10270 25.80 ✎ F234 F234EBS06 Obiagu EBONYI - 6.24009 8.10270 - 6.30950 8.10229 9.17 ✎ F235 F235CRS01 Akanpa/Obroko CROSS RIVERS - 4.98404 8.27918 - 5.15328 8.16953 27.03 ✎ F235 F235CRS02 Oboroko/Okurikang CROSS RIVERS - 5.15328 8.16953 - 5.16678 8.17208 1.70 ✎ F237 F237CRS01 Ikom CROSS RIVER - 5.97197 8.72650 - 6.06134 8.88864 24.77 ✎ F237 F237CRS02 Abatoken CROSS RIVER - 6.06134 8.88864 - 6.18739 9.01755 25.00 ✎ F237 F237CRS03 Abo CROSS RIVER - 6.18739 9.01755 - 6.38033 9.09201 25.02 ✎ F237 F237CRS04 Wula CROSS RIVER - 6.38033 9.09201 - 6.56096 9.19415 24.97 ✎ F237 F237CRS05 Akorshi CROSS RIVER - 6.56096 9.19415 - 6.64788 9.20784 10.14 ✎ F238 F238CRS01 Iyahe CROSS RIVER - 6.47378 8.51413 - 6.62574 8.42503 25.23 ✎ F238 F238CRS02 Ibinta CROSS RIVER - 6.62574 8.42503 - 6.66914 8.43010 5.26 ✎ F238 F238CRS03 Benta CROSS RIVER - 6.66914 8.43010 - 6.74577 8.46314 10.02 ✎ F238 F237BES04 BEBDRY BENUE - 6.74577 8.46314 - 6.89483 8.38650 24.43 ✎ F238 F237BES05 Edumoga BENUE - 6.89483 8.38650 - 7.05747 8.28925 24.91 ✎ F238 F237BES06 Obarike Ito BENUE - 7.05747 8.28925 - 7.19280 8.14617 27.51 ✎ F238 F237BES07 A3 JUNC BENUE - 7.21051 8.12008 - 7.38989 8.02523 25.53 ✎ F238 F237BES08 Ogobia BENUE - 7.38989 8.02523 - 7.53439 7.88121 24.37 ✎ F238 F237BES09 Iga Okpaya BENUE - 7.53439 7.88121 - 7.74545 7.88164 25.03 ✎ F238 F237BES10 Ojantale BENUE - 7.74545 7.88164 - 7.95579 7.82233 26.22 ✎ F238 F237BES11 Weto BENUE - 7.95579 7.82233 - 7.99136 7.81105 10.01 ✎ F238 F237NAS12 NABDRY NASARAWA - 7.99136 7.81105 - 8.19178 7.88353 25.40 ✎ F238 F237NAS13 Kubo NASARAWA - 8.19178 7.88353 - 8.33745 7.75710 24.50 ✎ F238 F237NAS14 Indo NASARAWA - 8.33745 7.75710 - 8.54148 7.71410 24.82 ✎ F238 F237NAS15 Nasarawa NASARAWA - 8.54148 7.71410 - 8.72959 7.83332 25.37 ✎ F238 F237NAS16 Madugu NASARAWA - 8.72959 7.83332 - 8.92246 7.88671 22.83 ✎ F238 F237NAS17 Rimi NASARAWA - 8.92246 7.88671 - 9.13235 7.94542 25.07 ✎ F238 F237NAS18 Gitata NASARAWA - 9.13235 7.94542 - 9.27367 8.04464 19.93 ✎ F238 F237KDS19 KDBDRY KADUNA - 9.27367 8.04464 - 9.43382 7.99357 20.95 ✎ F239 F239CRS01 Yahe CROSS RIVER - 6.47312 8.51502 - 6.55251 8.42516 16.58 ✎ F239 F239CRS02 Okpodom i CROSS RIVER - 6.55251 8.42516 - 6.74732 8.46284 23.85 ✎ F239 F239BES03 BNBDRY BENUE - 6.74732 8.46284 - 6.92262 8.44765 25.09 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.