10. Assessing the effect of a new Light Rail Transit line on transport accessibility in the Tel-Aviv Metropolitan Area
This section presents the use of the Accessibility Calculator for assessing the effects of the new “Red” LRT line in the Tel Aviv Metropolitan area (TAMA). The line started functioning at the end of 2023 and became fully operational in 2024. The TAMA area is about 1500 sq. km, and it includes a dozen cities and many minor settlements. The population of TAMA in 2024 is 4.2 million and the number of buildings there is about 252,000. Figure 1 below presents the map of TAMA and the LRT Red line.


Figure 1. TAMA roads (a); Zoom to the area served by the Red LRT line (b)
The examples of this section are all computed with the Accessibility Plugin v 5_32 and QGIS v3.34. We use a Lenovo ThinkPad X1 laptop with the Intel i7 2.80GHz processor and 32MB memory and accompany each example with the estimates of computing time.
10.1. Data arrangements
To study TAMA transport accessibility with and without the Red LRT line, we employ TAMA OSM layers of buildings and roads for 2024 and two Israeli GTFS datasets for the years 2018 and 2024. We assume that buildings and roads did not change much between 2018 and 2024. These datasets are provided as zip files here. Essentially smaller dataset for the Jaffa area of Tel Aviv (~2500 buildings) is provided for the initial fast tests here.
The layers of buildings and road links were selected as “entirely within” the TAMA polygon (Figure 1) from the OSM layers of buildings and roads in Israel downloaded in June 2024.
The layers of roads and buildings were topologically cleaned by applying Accessibility Calculator Data preprocessing procedures.
To study the Red line effects, we exploit two GTFS datasets, both for the entire Israel. The 2018 GTFS is downloaded from https://openmobilitydata.org/p/ministry-of-transport-and-road-safety/820/20180711 and the one for 2024 from https://s3.gtfs.pro/files/sourcedata/israel-public-transportation.zip.
The major characteristics of the exploited datasets are presented in Table 1.
Database |
Type |
Number of features |
Size (MB) |
---|---|---|---|
TAMA Buildings |
Shape |
252,364 |
147 |
TAMA Roads |
Shape |
301,230 |
120 |
Israel GTFS 2018 |
Dataset |
757 |
|
Israel GTFS 2024 |
Dataset |
1,150 |
Table 1. The characteristics of the TAMA layers of roads and buildings and two Israeli GTFS datasets. The OSM layers of roads and buildings for TAMA are already topologically cleaned and you don’t have to repeat cleaning. To remind, topological cleaning, for roads, includes splitting road links at the points of intersection, connecting links’ ends at junctions, and deleting duplicated links. For buildings, topological cleaning includes deleting holes in the buildings’ polygons and “flatting” the layer by cutting the overlapping parts of the buildings’ polygons. We do not recommend cutting parts of GTFS. This operation demands great care, while the increase in performance that you will obtain with the smaller GTFS database will not be significant. In this tutorial, we use the full Israeli GTFS datasets in all cases, no matter what area is covered by roads and buildings. The total computation time of the TAMA dataset preprocessing is about an hour and a half. For the Jaffa dataset (with yet full GTFS datasets of the public transport for 2024) it takes about 15 mins. We recommend you perform the entire data preparation procedure with the Jaffa dataset and check the changes in the road and building layers before you proceed to your data. Last but not least – there are minor differences between the GTFS datasets in different countries. We tried our best and tested the Accessibility Calculator with many versions of the GTFS, yet not all of them. The GTFS dataset is deployed at the stage of the transit routing database construction, let us know if you get an error message at this stage.
10.2. Data preprocessing
To continue with the Accessibility Calculator, the user must clean the layers of buildings and roads, and construct layers for visualization. These processes are described in section 1 of the Data Preprocessing and Constructing Databases for Fast Routing section of this tutorial. We recommend using the structure of folders to store the layers and databases suggested by the Accessibility Calculator, but if you prefer your structure, we recommend establishing it before cleaning data and constructing databases.
In this tutorial, the initial layers of roads and buildings are in the TAMA_tutorial/Source_layers
folder. The clean layers of roads and buildings are stored in TAMA_tutorial/Roads
and TAMA_tutorial/Buildings
, and TAMA_tutorial/Visualization
is used for visualization layers. Two GTFS datasets are initially in the TAMA_tutorial/gtfs2018
and TAMA_tutorial/gtfs2024
folders and we store the transit routing database in the TAMA_tutorial/gtfs2018DB
and TAMA_tutorial/gtfs2024DB
folders, respectively. The car routing database is in the TAMA_tutorial/cars
folder.
Let us reproduce the steps of the data preparation procedure:
Click the Clean Road network menu item and choose the layer of roads (Figure 2). This layer must be a part of the current QGIS project. Before activating the Accessibility Calculator, confirm that this is the layer you need.
Set the folder for the clean road network.
Road layer cleaning takes time, and for the TAMA road layer with its ~300K links it takes about 20 minutes.

Figure 2. Clean road network dialog
Click the Clean layer of buildings menu item and choose the layer of buildings (Figure 3). This layer also must be a part of the current QGIS project. Before activating the Accessibility Calculator, confirm that this is the layer you need.
Set the folder for the clean layer of buildings, which can be the same as the folder for the clean layer of roads.
Cleaning the building layer is much faster than cleaning roads and ~250K TAMA buildings took about 5 minutes.

Figure 3. Clean layer of buildings dialog
Click the Build visualization layers menu item and choose the layer of buildings (Figure 4).
Set the folder for the visualization layers.
Building visualization layers takes 2-3 minutes.

Figure 4. Build visualization layers dialog
Summing up, for the areas of TAMA size, data preprocessing will take up to an hour and a half. Most of the time will be spent on roads and buildings cleaning. Formally, you can work with non-clean layers of roads and buildings. However, cleaning is strongly recommended to ensure that the input data for navigation algorithms are correct.
10.3. Constructing databases
The next step is to use all four datasets – two clean layers of roads and buildings and two GTFS datasets, for constructing three databases – two for transit routing in 2018 and 2024 and one for car routing. This construction is described in section 1 of the Data Preprocessing and Constructing Databases for Fast Routing section of this tutorial. Let us start by constructing the transit routing database.
Click the Transit routing database menu item and choose the layer of roads and buildings (Figure 5). Be careful with the choice of field that represents the building ID. Set the new folder to store the transit database.
Transit routing database construction takes about 15 minutes.

Figure 5. Transit routing database dialog
The log file (Figure 6) stores the data on the GTFS database construction and is located in the database folder.

Figure 6. Log file of the Transit routing database construction
Repeat the transit routing database step with the GTFS datasets of 2024. As already mentioned, we do not recommend cutting parts of the GTFS – it demands very careful querying of the dataset, while the gain in the database size will not be accompanied by the gain in performance. The last step in preparing data for accessibility computations is to construct a database for car routing. Before you do that, check the tables of the average car speeds by link types and congestion delay index, and edit, if necessary, the values. If you are interested in comparing accessibility for different car speeds or congestion levels during the day, build a special car routing database for each set. Click the Car routing database menu item and choose the layer of roads and buildings (Figure 7). Be careful with the choice of fields that represent the link’s speed, type, traffic direction, and building ID. Set a new folder to store the car routing database.

Figure 7. Car routing database dialog
The log file describes all data used for the TAMA car routing database construction and is stored in the database folder. Table 2 presents the characteristics of all three constructed databases. Importantly, the size of the databases is twice as small as that of the source.
Dataset |
Construction time (mins) |
Source files total size (MB) |
Dataset size (MB) |
---|---|---|---|
CAR |
2:11 |
267 |
194 |
PT2018 |
16:43 |
1,125 |
430 |
PT2024 |
26:21 |
1,417 |
595 |
Table 2. The characteristics of three constructed TAMA routing databases.
10.4. Transit accessibility, service area maps
We illustrate service area computations by studying the accessibility of the Gesher (Bridge) theater in the Yaffo region of Tel Aviv.
10.4.1. From/To-accessibility, fixed-time arrival/departure
Let us estimate Gesher’s transit accessibility for the visitors at 20:00 when the performance starts, and the visitors’ ability to get back home at 22:30, when it ends. In formal terms, we consider one facility and assess the facility’s to-accessibility at 20:00 and from-accessibility at 22:30. Accessibility computations demand a definition of parameters of travelers’ behavior. Below, for the transit accessibility, we assume that:
Minimum number of transfers = 0
Maximum number of transfers = 1
Maximum walking distance from the origin building to the first PT stop = 400 m
Maximum distance between stops when changing lines = 200 m
Maximum walk distance from the last PT stop of a trip to the destination building = 400 m
Walking speed = 3.0 km/h
Maximum waiting time at the first PT stop = 10 min
Maximum waiting time at the transfer stop = 5 min
Maximum travel time = 45 min
Additional parameters for the service area computations are the arrival and departure times, and as defined, we use 20:00 for the to-, and 22:30 for the from accessibility (Figure 8a). Note that we use the network and not aerial distance in all computations below (the air distance checkbox is disabled). As can be seen in Figure 8a, the to-accessibility is computed for the transit network of 2018.
The computations take 9 seconds (Figure 8b) and the folder of results will contain two files: The log file log_BPTGesher.txt
, and the file of results BPTGesher_45m_tot_265984731.csv
. The 265984731 in the name of the result file is an OSM_ID of the Gesher Theater building. At the end of the computation, the CSV file of results is joined to the visualization layer and presented as a map.


Figure 8. The dialog of the Transit accessibility map → Service area maps → To service locations – fixed time arrival (a) and the Log file of the computations (b)
The maps of accessibility to/from the Gesher theater, two before and two after the Red LRT line was introduced are presented in Figure 9. It took 2-3 seconds per scenario to compute each. You can notice that the areas accessible with up to 45 minutes’ trip after the Red LRT line was introduced are larger than the areas that were accessible during the same time before. We will compare accessibility in 2018 and 2024 and assess the Red line effect quantitatively in the Compare Accessibility section below.

a

b

c

d
Figure 9. The results of the Transit accessibility → Service area maps computations of the Gesher Theater in Yafo. To service locations – Fixed-time arrival at 20:00, in 2018 (a) and 2024 (b). From service locations – Fixed-time departure at 22:30, in 2018 (c) and 2024 (d)
10.4.2. From/To-accessibility, schedule-based arrival/departure time
To remind, schedule-dependent accessibility considers travelers who know the transit schedule and start their trip only when the bus they have chosen arrives at the departure or arrival stop. Like a traveler who plans to go shopping between 10-10:30 in the morning or wants to get to a fish market that opens at 8:00, during the first half an hour of the market work. The travel time in case of schedule-based accessibility does not include waiting at the first stop and that is why the schedule-based accessibility is always higher than the fixed-time one and is less sensitive to the chosen start or arrival time that can slide within the intervals of flexibility. The schedule-based travel is optimized within the interval of the traveler’s flexibility and this flexibility is an additional parameter that defines the trip start or arrival time. As an example of the schedule-based accessibility calculations of the Gesher Theater, we consider the following outline: There is a photo exhibition in the theater foyer, and many visitors are ready to arrive at the theater any moment between 19:30 and 20:00, to see the exhibition before the performance. They also keep in mind that the theater café serves drinks and snacks long after the performance and it’s worth having a cup of tea after the performance is over and waiting for up to 15 minutes for the empty bus with the guaranteed seat. These conditions define the earliest arrival time and the interval of arrival (Figure 10), and the earliest start time and the interval of departure (Figure 11).

Figure 10. The arrival time part of the To service location – Schedule-based arrival dialog

Figure 11. The departure time of the From service location – Schedule-based departure dialog
Four maps of the fastest trips for the schedule-based accessibility of the Gesher Theater in the years 2018 and 2024, when the Red LRT line became fully functional, took each 2 – 3 seconds to compute. They are presented in Figure 12. As for the fixed-time route choice, the areas accessible with up to a 45-minute trip after the Red LRT line in 2024 are larger than the areas for the same maximal trip time in 2018. We will quantitatively assess the Red line effect for the users who plan their trips based on the transit schedule in the Compare Accessibility section below.

a

b

c

d
Figure 12. The results of the Transit accessibility → Service area maps computations of the Gesher Theater in Yafo. To service locations – Schedule-based arrival at 20:00, in 2018 (a) and 2024 (b). From service locations – Schedule-based departure at 22:30, in 2018 (c) and 2024 (d)
10.4.3. Single location CAR accessibility
CAR accessibility computations demand fewer parameters than transit-based calculations and the schedule-dependent accessibility is irrelevant here. However, assessment of the car travel time demands knowledge of the traffic speed along the route and this information is hardly available. The only source of systematic knowledge of the traffic speed we are aware of is Google API and we plan to relate car accessibility calculations to the Google data on traffic speed in the next version of the Accessibility Calculator. For now, to calculate CAR accessibility, we assume that the average speed on the road link is defined by the link’s type and the level of congestion in the hour of travel. The table of the characteristic speeds for the OSM classification of links is supplied with the plugin. The name of the table is Car_speed_by_link_type.csv and it can be edited by the user. See more details on this table in this section. As an example of a car service area map, we calculate car accessibility of the Gesher Theater in Yaffo: To-accessibility, to the performance that starts at 20:00, and from-accessibility at 22:30, when the performance ends (Figure 13).

a

b
Figure 13. Car accessibility, Service area maps for To and From service location computation dialogs. In the to-accessibility dialog Gesher theater is a destination and TAMA buildings are origins (a); in the from-accessibility dialog it's vice versa, Gesher is an origin and TAMA buildings are destinations (b).
As should be expected, the maps of Gesher’s to- and from-accessibility (Figure 14) look much simpler than those of the PT accessibility. It’s worth noting, however, that the car accessibility from the theater at 22:30, when the congestion is over, is essentially higher than to-accessibility at 20:00 when the congestion is still there. Overall, car accessibility at 20:00 and 22:30 is essentially higher than PT accessibility for the same hours.

a

b
Figure 14. Car accessibility to the Gesher Theater at 20:00 (a), when the congestion is still there, and from the Theater at 22:30, without congestion (b)
10.5. Accessibility of every location in a region
Service area maps present the accessibility of one or several facilities. However, the infrastructure changes affect many locations at once. The Region part of the Accessibility Calculator assesses the effects of these changes on all locations in the region, with accessibility calculated for every building. To remind you, the default measure here is the number of buildings that may be accessed given a maximum trip time. In the case of the from-accessibility, we compute the number of buildings that can be accessed from each building in the region. In the case of to-accessibility, we compute the number of buildings from which each building in the region can be accessed. The region accessibility is calculated at a user-defined time resolution, typically of 5 minutes that is, the number of buildings accessible in a maximum of 5 minutes, in a maximum of 10 minutes, etc., up to the maximum trip time. The user can define more measures of this kind, like the number of accessible buildings of a certain type, the number of residents in accessible buildings, or the number of jobs there. Any characteristic that can be calculated based on the buildings’ attributes can be chosen. Let us continue the assessment of the Red LRT line’s effect on transport accessibility choosing the entire city of Tel Aviv as a region. The number of buildings in Tel Aviv is about 40K and, different from the calculation of a service area of several facilities, the computing time may be several hours. In the example below we employ the default measure – the number of accessible buildings.
10.5.1. Region transit accessibility, fixed-time arrival/departure
Figure 15 presents the parts of Region maps dialogs that differ from the dialogs of the Service area maps. These are From every location – Fixed-time departure (Figure 15a) and Region maps → To every location – Fixed-time arrival (Figure 15b). In the case of from-accessibility, the buildings of a region are origins, and we must set the layer of destinations. In the case of to-accessibility, the region’s buildings are destinations, and we must set the layer of origin buildings to start at. In both cases, the result will contain one record for each building – the number of destination buildings that can be reached from a current building or the number of origin buildings from which the current building can be reached with public transport in 5, 10, etc., minutes.


Figure 15. The Transit accessibility map → Region maps dialogs for the From every location – Fixed time departure (a), and To every location – Fixed time arrival (b) cases
We can compute regional accessibility based on any attribute (Figure 16), as the sum of the values of this attribute over accessible buildings. If you are interested in computing the weighted sum of some attribute, calculate this weighted attribute for each building and then sum it up with the Accessibility Calculator. To remind, if the maximum travel time does not contain an integer number of bins, the results are also stored for the maximum travel time.

Figure 16. The choice of the number of bins and attributes to aggregate in the Transit accessibility → Region maps → From/To all locations - Fixed-time accessibility dialog
Figure 17 presents maps of region accessibility in 45 minutes for Tel Aviv city in the year 2018, before the red LTR line was established, and in 2024 when this line was in full operation. To speed up computations, these maps were computed based on hexagons of 200m side. The number of hexagons of this size that cover all buildings in Tel Aviv is 1750 and computations took about 30 minutes with the performance of ~1sec per origin building. We will compare these two maps numerically in the next section.

a

b
Figure 17. The maps of the Tel Aviv city 45-minutes region accessibility computed based on the 200m hexagon in the year 2018 before the Red LTR line was established (a) and in 2024 when the Red LRT line was in full operation (b)
10.5.2. Region transit accessibility, schedule-dependent arrival/departure time
Calculation of the transit region accessibility according to the schedule-dependent view repeats the fixed-time approach in all other respects.
10.5.3. CAR region accessibility
Car region accessibility calculations follow the logic of transit region accessibility.
10.6. Compare accessibility maps
The overall goal of our exemplary study is to assess the effects of the Red LRT line. After the accessibility maps are constructed, we can compare the maps before and after the line was established. To remind, the Accessibility Calculator provides three measures of difference:
Ratio: Result_1/Result_2: The ratio of the result of the first scenario to the results of the second scenario, for the overlapping part of the outputs.
Difference: Result_1 - Result_2: The difference between the result of the first scenario and the results of the second scenario, for the overlapping part of the outputs.
Relative difference: [Result_1 - Result_2]/Result 2: The difference between the result of the first scenario and the results of the second scenario, for the overlapping part of the outputs. The result is presented in percents.
For each of the three measures, in addition to the map of the measure, two more maps are presented. The first one presents the buildings that are accessible in Scenario 1 but not accessible in Scenario 2 (Result_1 is not NULL, while Result_2 is NULL). The second map presents the buildings that are in Scenario 2 but not accessible in Scenario 1 (Result_2 is not NULL, while Result_1 is NULL). In this tutorial, we illustrate the accessibility map comparison by computing the difference between the two maps.
10.6.1. Comparing service area maps
Our first question is “Whether the Red Line increased the accessibility for Gesher visitors who arrive by public transport?” To answer, we compare schedule-based maps of to-accessibility to Gesher at 20:00 for the years 2024 and 2018, calculating the travel time difference:
Figure 18 presents the difference between these two, and their “only” parts.


Figure 18. Comparison of transit to-accessibility maps for Gesher theater visitors at 20:00 in 2018 and 2024. The travel time difference (a); Areas accessible in 2018 or 2024 only (b)
As can be seen, the Red Line improved transit accessibility for the visitors who get to Gesher’s at the time the performance starts, but not for every location in the city. The green shades of the map in Figure 18a denote buildings from which the transit travel time in 2024 is indeed lower than in 2018, and these areas cover 60% of the overlapping areas. For 20% of buildings in the overlapping areas, the travel time is almost the same, while for 20% transit travel to the Gesher Theater will take more time in 2024 than in 2018 (Figure 18a, brown shades). Importantly, the Red LRT line makes the Gesher Theater accessible in not more than 45 minutes from the vast areas it was not accessible in 2018 (Figure 18b). More comparison studies will help us to understand the reasons for the revealed differences. For example, a deeper analysis based on the full description of the trip (see Service area computations - the log file and the structure of the report), will help to understand how the travelers get to the Gesher Theater in 2018 and 2024 from the brown parts of the map in the Figure 18a.
10.6.2. Compare fixed-time and schedule-based accessibility
To assess the effect of the schedule-based view of accessibility let us compare the schedule-based and fixed-time 2024 to-accessibility maps for the Gesher visitors, for the performance starting at 20:00. Figure 19 presents maps of the travel time difference:
As can be seen, the schedule-based accessibility is always higher than the fixed-time based.


Figure 19. Comparison of the schedule-based and fixed-time accessibility maps for the Gesher Theater in 2024. To-accessibility at 20:00 (a); From-accessibility at 22:30 (b)
10.6.3. Compare Region accessibility
Comparison of the Region accessibility maps follows the same logic as the comparison of the service areas maps. Figure 20 presents this comparison of two region from-accessibility maps for 2024 and 2018, computed for the fixed-time trip starting at 08:00 in the morning that was presented in Figure 17. As we see in Figure 20, the Red LRT line essentially increased accessibility for most of the Tel Aviv locations – the greenish hexagons cover about 85% of the city area. Yet for some locations that are far from the Red LRT line, the number of accessible buildings in 2024 is lower than in 2018 due to the changes in the bus network that follow the introduction of the Red LRT line.

Figure 20. The differences in region from-accessibility with the public transport in 2024 and 2018, for the trips starting at 08:00 in the morning