Segments (1122) Delete Previous Page 12 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) ✎ F108 F108ABS01 Internet Cafe, 442101, ABIA - 5.40562 7.91405 - 5.42271 7.96125 6.08 ✎ F108 F108CRS02 Akankpa-Ugep Rd CROSS RIVER - 5.42271 7.96125 - 5.43429 8.15278 29.82 ✎ F109 F109DES01 Ebada-Asagba-Ekrebuo Delta - 5.84573 5.73360 - 5.74005 5.91689 25.00 ✎ F109 F109DES02 Agbor - Eku Rd Delta - 5.74005 5.91689 - 5.79740 6.11779 25.04 ✎ F109 F109DES03 Agbor - Eku Rd Delta - 5.79740 6.11779 - 5.91153 6.22220 17.75 ✎ F110 F110DES01 Koko 1, 331103 Delta - 5.99918 5.37346 - 5.97721 5.57719 25.00 ✎ F110 F110DES02 Ugbenu-Koko Rd Delta - 5.97721 5.57719 - 6.03108 5.67453 12.42 ✎ F111 F111ANS01 oganiru hall, Anambra - 5.85471 6.85943 - 5.82918 6.92771 8.18 ✎ F111 F111IMS02 - IMO - 5.82918 6.92771 - 5.77092 7.05849 16.92 ✎ F111 F111IMS03 Nkwerre Rd IMO - 5.77092 7.05849 - 5.75346 7.20692 18.88 ✎ F111 F111IMS04 Urban IMO - 5.75346 7.20692 - 5.82049 7.33668 17.39 ✎ F112 F112ANS01 - ANAMBRA - 6.06772 6.81642 - 5.98121 7.00223 40.35 ✎ F112 F112ANS02 - ANAMBRA - 5.98121 7.00223 - 5.92841 7.10000 13.21 ✎ F112 F112IMS03 - IMO - 5.92841 7.10000 - 5.85772 7.34390 30.43 ✎ F112 F112IMS04 - IMO - 5.85772 7.34390 - 5.83004 7.39247 12.06 ✎ F112 F112ABS05 - ABIA - 5.83004 7.39247 - 5.86138 7.52619 16.01 ✎ F112 F112EBS06 - EBONYI - 5.86138 7.52619 - 5.89911 7.73442 24.99 ✎ F112 F112EBS07 Okigwe-Afikpo Rd EBONYI - 5.89911 7.73442 - 5.90143 7.90784 21.65 ✎ F113 F113ENS01 Agbani Rd, Ozalla ENUGU - 6.31572 7.47770 - 6.31110 7.66683 25.01 ✎ F113 F113ENS02 - ENUGU - 6.31110 7.66683 - 6.29778 7.70869 5.32 ✎ F113 F113EBS03 - EBONYI - 6.29778 7.70869 - 6.11376 7.79927 25.08 ✎ F113 F113EBS04 - EBONYI - 6.11376 7.79927 - 5.92316 7.88369 24.87 ✎ F113 F113EBS05 - EBONYI - 5.92316 7.88369 - 5.74497 7.80866 24.19 ✎ F113 F113ABS06 - ABIA - 5.74497 7.80866 - 5.54908 7.80763 25.02 ✎ F113 F113ABS07 - ABIA - 5.54908 7.80763 - 5.40131 7.87337 24.22 ✎ F113 F113ABS08 - ABIA - 5.40131 7.87337 - 5.42233 7.96124 13.36 ✎ F113 F113CRS09 - CROSS RIVER - 5.42233 7.96124 - 5.43656 8.15289 29.04 ✎ F114 F114EDS01 OKADA EDO - 6.63543 5.33339 - 6.79415 5.47055 25.24 ✎ F114 F114ONS02 USE ONDO - 6.79415 5.47055 - 6.81960 5.65272 24.99 ✎ F114 F114ONS03 SOBE ONDO - 6.81960 5.65272 - 6.84800 5.78026 17.51 ✎ F115 F115EDS02 SABON GIDA EDO - 6.94145 5.91358 - 6.76957 6.04258 24.95 ✎ F115 F115EDS03 EKPOMA EDO - 6.76957 6.04258 - 6.73426 6.17059 15.25 ✎ F115 F115EDS04 - EDO - 6.73426 6.17059 - 6.04258 6.17059 94.31 ✎ F116 F116ENS01 Ukpabi Nimbo ENUGU - 6.71269 6.99242 - 6.78849 7.17224 25.31 ✎ F116 F116ENS02 Owele ENUGU - 6.78849 7.17224 - 6.82983 7.36476 24.95 ✎ F116 F116ENS03 Nsukka ENUGU - 6.82983 7.36476 - 6.85429 7.38264 3.38 ✎ F117 F117OSS01 IKEJI ILE OSUN Default 7.47898 4.90012 Default 7.40112 5.00454 0.00 ✎ F117 F117ONS02 ISARUN ONDO Default 7.40112 5.00454 Default 7.28550 5.17190 0.00 ✎ F117 F117ONS03 OTA ONIYAN ONDO Default 7.28550 5.17190 Default 7.26400 5.39220 0.00 ✎ F117 F117ONS04 ISO ONDO Default 7.26400 5.39220 Default 7.19211 5.59483 0.00 ✎ F117 F117ONS05 OWO ONDO Default 7.19211 5.59483 Default 7.01550 5.71260 0.00 ✎ F117 F117ONS06 UGBOLAN ONDO Default 7.01550 5.71260 Default 6.85910 5.77910 0.00 ✎ F117 F117EDS07 EDO BRD EDO Default 6.85910 5.77910 Default 6.65770 5.76770 0.00 ✎ F117 F117EDS08 ODIGHI EDO Default 6.65770 5.76770 Default 6.52870 5.63250 0.00 ✎ F117 F117EDS09 IGBEKUE EDO Default 6.52870 5.63250 Default 6.41010 5.71240 0.00 ✎ F117 F117EDS10 IDOKPA EDO Default 6.41010 5.71240 Default 6.30810 5.86800 0.00 ✎ F117 F117EDS11 ADOA EDO Default 6.30810 5.86800 Default 6.27930 6.07710 0.00 ✎ F117 F117DES12 DELTA BRD DELTA Default 6.27930 6.07710 Default 6.27380 6.30010 0.00 ✎ F117 F117DES13 EMUNEDE DELTA Default 6.27380 6.30010 Default 6.28020 6.51240 0.00 ✎ F117 F117DES14 OBULU DELTA Default 6.28020 6.51240 Default 6.19270 6.71740 0.00 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.