I have created an origin-destination cost matrix, where the origin and destination are the same layer. I need all the lines of the matrix to appear, but only some are appearing, not all. I don't know why this is happening. My software version is 3.3.0, and I am attaching an image of the origin-destination cost matrix and another of the lines table where all the values of Total_PublicTransitTime should appear, but most of these values are 0. The number of destinations I have placed is 1500. The date and time set is 9:00 a.m. on 12/1/2023. The mode is publictransittime and straight lines.
Additionally, I am attaching the properties of the origin-destination matrix.
The problem is more likely in your network dataset. Maybe the streets aren't properly connected to each other. I see from your Geoprocessing history that the Build Network tool succeeded with warnings. Did you examine the build error text file and check each one? Did you make sure the connectivity policy was correct for the way your street data was constructed? (In other words, do you need to use Any Vertex instead of Endpoint?)
Here are the warnings I received in ArcGIS about the build part:
These are showing as 0. But I think it could remain as 0. Can you confirm if this is correct?
I forgot to specify that I am working with GTFS for the origin-destination matrix. Where can I find the "Any Vertex" option? I haven't selected "End Point" at any step. I have searched in the properties of the matrix, the network, and the streets, but it still does not appear.
This is the 0 in the StopConnectors at 356. The same happens with 105.
Okay, those build errors are minimal and don't really look like a problem, so they're probably safe to ignore.
Here is some documentation explaining network dataset connectivity policies: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/understanding-connectivity.htm
The "Create an use a network dataset with public transit data" tutorial has some specific information explaining when you might need to use Any Vertex instead of End Point connectivity for your streets. Take a look at the "Examine the street data" section (particularly step 7) and the "Examine the network dataset's properties" section (particularly step 3).