Inconsistent catchment areas?
Posted: 05 May 2007 11:46
I had recently a look at the functions MoveGoodsToStation (which determines to which station passengers and cargo are moved) and UpdateStationAcceptance (which determines the acceptance of a station based on the surrounding houses and industries).
To my understanding, the catchment area of the station is different for arriving cargo and departing cargo. Please have a look at the attached image for illustration: Both bus stops are the same station (built with the distant-join-station patch). The acceptance is obviously determined by the bounding box of the station plus catchment radius (the brown area). However, passengers are only transfered to the station in the catchment area of each station tile (the area marked with owner signs).
In the depicted situation this leads to the station accepting passengers but never producing some, which seams quite inconsistent to me. (Until now, I falsely assumed the relevant area was the bounding rectangle in both cases.)
Is there a reason for this inconsistency? I would consider the variant in MoveGoodsToStation (only taking the catchment areas of real station tiles) the more logical one and as the code is already there, being more complicated does not seam to be an argument. Or do I miss something?
If there is demand (and no argument against it), I could prepare a patch to change the acceptance (and move to industry) area.
To my understanding, the catchment area of the station is different for arriving cargo and departing cargo. Please have a look at the attached image for illustration: Both bus stops are the same station (built with the distant-join-station patch). The acceptance is obviously determined by the bounding box of the station plus catchment radius (the brown area). However, passengers are only transfered to the station in the catchment area of each station tile (the area marked with owner signs).
In the depicted situation this leads to the station accepting passengers but never producing some, which seams quite inconsistent to me. (Until now, I falsely assumed the relevant area was the bounding rectangle in both cases.)
Is there a reason for this inconsistency? I would consider the variant in MoveGoodsToStation (only taking the catchment areas of real station tiles) the more logical one and as the code is already there, being more complicated does not seam to be an argument. Or do I miss something?
If there is demand (and no argument against it), I could prepare a patch to change the acceptance (and move to industry) area.