Segments (1122) Delete Previous Page 18 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) ✎ F215 F215KOS05 ORANRE KOGI - 7.76878 5.73461 - 7.95297 5.73539 25.01 ✎ F215 F215KOS06 AGINMI KOGI - 7.95297 5.73539 - 8.15879 5.67650 25.01 ✎ F215 F215KOS07 - KOGI - 8.15879 5.67650 - 8.27955 5.58388 19.89 ✎ F215 F215KOS08 OKUNRAN KOGI - 8.27955 5.58388 - 8.41245 5.45665 34.92 ✎ F215 F215KOS09 - KOGI - 8.41245 5.45665 - 8.53678 5.51688 16.30 ✎ F215 F215KWS10 NDANAKU KWARA - 8.53678 5.51688 - 8.59094 5.54601 8.88 ✎ F215 F215KWS11 PATEGI-EGBE RD KWARA - 8.59094 5.54601 - 8.69143 5.72697 24.96 ✎ F215 F215KWS12 - KWARA - 8.69143 5.72697 - 8.74250 5.81376 15.05 ✎ F215 F215NIS13 RIVER NIGER NIGER - 8.74250 5.81376 - 8.81227 5.81071 9.91 ✎ F215 F215NIS14 DANCHITAGI NIGER - 8.81227 5.81071 - 8.98168 5.92853 25.01 ✎ F215 F215NIS15 BIDA NIGER - 8.98168 5.92853 - 9.16536 6.02385 25.01 ✎ F215 F215NIS16 HAJIA KASALI NIGER - 9.16536 6.02385 - 9.38743 6.02758 25.04 ✎ F215 F215NIS17 BABARI ZAURE NIGER - 9.38743 6.02758 - 9.58915 6.02135 24.96 ✎ F215 F215NIS18 TUNGA KAWO NIGER - 9.58915 6.02135 - 9.74663 6.13744 25.03 ✎ F215 F215NIS19 ZUNGERU NIGER - 9.74663 6.13744 - 9.93776 6.13819 25.04 ✎ F215 F215NIS20 TEGINA NIGER - 9.93776 6.13819 - 10.06731 6.18680 16.06 ✎ F216 F216KAS01 MANDO KADUNA - 10.66405 6.54034 - 10.81647 6.68599 24.93 ✎ F216 F216KAS02 TUDUN RAHA KADUNA - 10.81647 6.68599 - 10.99309 6.78829 25.05 ✎ F216 F216KAS03 KWASAKWASA KADUNA - 10.99309 6.78829 - 11.18355 6.85723 25.02 ✎ F216 F216KTS04 DAN BAKABA KADUNA - 11.18355 6.85723 - 11.35254 7.01148 27.11 ✎ F216 F216KTS05 CHIRAMA KATSINA - 11.35254 7.01148 - 11.45973 7.13347 23.41 ✎ F216 F216KTS06 GYAZAMA KATSINA - 11.45973 7.13347 - 11.50099 7.31713 25.34 ✎ F216 F216KTS07 KABOMO KATSINA - 11.50099 7.31713 - 11.63914 7.47643 24.98 ✎ F216 F216KTS08 DANISO KATSINA - 11.63914 7.47643 - 11.79420 7.62672 25.01 ✎ F216 F216KTS09 DANTATASHI KATSINA - 11.79420 7.62672 - 12.00248 7.70254 24.99 ✎ F216 F216KTS10 JIKAMSHI KATSINA - 12.00248 7.70254 - 12.20185 7.80201 25.01 ✎ F216 F216KTS11 RIMAYA KATSINA - 12.20185 7.80201 - 12.35607 7.90068 42.75 ✎ F217 F217KAS01 Jan Rafi KADUNA - 10.79336 6.64305 - 11.01866 6.58106 28.40 ✎ F217 F217ZAS02 Sofon Madada ZAMFARA - 11.01866 6.58106 - 11.18606 6.50853 21.52 ✎ F217 F217ZAS03 Dan Sadau ZAMFARA - 11.18607 6.50853 - 11.39292 6.44141 24.95 ✎ F217 F217ZAS04 Mutumji ZAMFARA - 11.39292 6.44141 - 11.47303 6.36752 25.88 ✎ F217 F217ZAS05 Kwana ZAMFARA - 11.47303 6.36752 - 11.65182 6.24776 25.17 ✎ F217 F217ZAS06 Bawa ZAMFARA - 11.65183 6.24776 - 11.78734 6.10470 24.97 ✎ F217 F217ZAS07 Gidan hardo ZAMFARA - 11.78734 6.10470 - 11.89808 5.98399 24.95 ✎ F217 F217ZAS08 Dareta ZAMFARA - 11.89808 5.98399 - 12.10812 5.92815 25.23 ✎ F218 F218ZAS01 BUNAJI ZAMFARA - 12.17407 6.66772 - 12.38080 6.67695 30.06 ✎ F218 F218ZAS02 KAORA NAMODA ZAMFARA - 12.38080 6.67695 - 12.57892 6.57603 52.82 ✎ F218 F218ZAS03 KANWA ZAMFARA - 12.57892 6.57603 - 12.74198 6.56867 24.98 ✎ F218 F218ZAS04 MONKI ZAMFARA - 12.74198 6.56867 - 12.92064 6.47077 24.95 ✎ F218 F218ZAS05 SHINKAFI ZAMFARA - 12.92064 6.47077 - 13.11665 6.46404 25.06 ✎ F218 F218SOS06 KURA MORA SOKOTO - 13.11665 6.46404 - 13.24799 6.31246 24.90 ✎ F218 F218SOS07 GIDAN KURAO SOKOTO - 13.24799 6.31246 - 13.46866 6.26871 25.13 ✎ F218 F218SOS08 SABON BIRNIN SOKOTO - 13.46866 6.26871 - 13.61053 6.40758 23.79 ✎ F219 F219KTS01 Yargoje KATSINA - 11.75251 7.55614 - 11.91740 7.42295 24.97 ✎ F219 F219KTS02 Tudu KATSINA - 11.91740 7.42295 - 12.11560 7.48694 24.95 ✎ F219 F219KTS03 Garangamawa KATSINA - 12.11560 7.48694 - 12.33592 7.45924 24.99 ✎ F219 F219KTS04 Kagara KATSINA - 12.33592 7.45924 - 12.53025 7.48394 24.96 ✎ F219 F219KTS05 Kurfi KATSINA - 12.53025 7.48394 - 12.73404 7.52881 24.94 ✎ F219 F219KTS06 Batagarawa KATSINA - 12.73404 7.52881 - 12.94338 7.60258 24.95 ✎ F219 F219KTS07 Katsina KATSINA - 12.94338 7.60258 - 13.01633 7.77580 28.34 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.