Jay,
Thank you for your response, and sorry for the lack of details. I am solving on Length. The length by category fields were calculated on the the only feature class in the network, prior to building the network, just working with the table in a python script, assigning the [Shape_Length] field to the length-by-category field for each feature in the corresponding category. Below is a summary of inputs for the network build. I've removed all but two of the length-by-category fields - they are all analogous.
As you suggest, the discrepancy already appears when using the Network identify tool, so whatever is going wrong is at the network build stage and not the solver. But when using the (simple, non-network) identify tool on the feature dataset used to build the network, on the analogous fields for a network element that is identical to a line in the feature class, there is no discrepancy. In fact, of the four lengths identified in this way (network total length, network length-by-category, underlying feature class total length, and underlying feature class length-by-category), only network total length is different. It can be shorter or longer, depending on the segment (in a way that suggests some sort of implicit reprojection as I mentioned before).
Adam
---
Name: AfricaRoadsFD_ND
Type: Geodatabase-Based Network Dataset
Sources:
Edge Sources:
AfrRoads
Connectivity:
Group 1:
Edge Connectivity:
AfrRoads : Bridge (Any Vertex)
AfrRoads : Missing (Any Vertex)
AfrRoads : Primary (Any Vertex)
AfrRoads : Secondary (Any Vertex)
AfrRoads : Tertiary (Any Vertex)
AfrRoads : Unknown (Any Vertex)
AfrRoads : Urban (Any Vertex)
Attributes:
Length:
Usage Type: Cost
Data Type: Double
Units Type: Meters
Use by Default: True
Source Attribute Evaluators:
AfrRoads (From-To): Field - [Shape]
AfrRoads (To-From): Field - [Shape]
Default Attribute Evaluators:
Default Edges: Constant - 0
Default Junctions: Constant - 0
len22:
Usage Type: Cost
Data Type: Double
Units Type: Meters
Use by Default: False
Source Attribute Evaluators:
AfrRoads (From-To): Field - [LEN22]
AfrRoads (To-From): Field - [LEN22]
Default Attribute Evaluators:
Default Edges: Constant - 0
Default Junctions: Constant - 0
len23:
Usage Type: Cost
Data Type: Double
Units Type: Meters
Use by Default: False
Source Attribute Evaluators:
AfrRoads (From-To): Field - [LEN23]
AfrRoads (To-From): Field - [LEN23]
Default Attribute Evaluators:
Default Edges: Constant - 0
Default Junctions: Constant - 0
Directions:
Directions Ready: No
-Length Attribute Required
-Street Name Field Required [AfrRoads]