Select to view content in your preferred language

Problems creating an origin-destination cost matrix (not all lines are appearing)

226
4
2 weeks ago
AmparoAlvarez22
New Contributor II

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.

AmparoAlvarez22_0-1718233099914.pngAmparoAlvarez22_1-1718233138039.png

Additionally, I am attaching the properties of the origin-destination matrix.

AmparoAlvarez22_2-1718233219436.pngAmparoAlvarez22_3-1718233233314.pngAmparoAlvarez22_4-1718233252285.pngAmparoAlvarez22_5-1718233266934.pngAmparoAlvarez22_6-1718233275393.pngAmparoAlvarez22_7-1718233292313.pngAmparoAlvarez22_8-1718233305248.png

 

0 Kudos
4 Replies
MelindaMorang
Esri Regular Contributor

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?)

0 Kudos
AmparoAlvarez22
New Contributor II

Here are the warnings I received in ArcGIS about the build part:

AmparoAlvarez22_0-1718312075817.png

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.

0 Kudos
AmparoAlvarez22
New Contributor II

This is the 0 in the StopConnectors at 356. The same happens with 105.

AmparoAlvarez22_1-1718312532225.png

 

0 Kudos
MelindaMorang
Esri Regular Contributor

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).

0 Kudos