Refactor Ddstance calculation #17

Closed
opened 2021-06-27 22:50:11 +02:00 by thisfro · 1 comment
Owner

The distance is calculated from one PLZ to another and they get converted to coordinates within src/Service/PlzToCoordinate.php directly.

This should probably be handled within a seperate service.

The result could look something like:

  • src/Service/PlzToCoordinate.php: only handles the conversion to a coordinate
  • src/Service/CalculateDistance.php: only handles the actual distance calculation

So #16 can use both independently

The distance is calculated from one PLZ to another and they get converted to coordinates within `src/Service/PlzToCoordinate.php` directly. This should probably be handled within a seperate service. The result could look something like: - `src/Service/PlzToCoordinate.php`: only handles the conversion to a coordinate - `src/Service/CalculateDistance.php`: only handles the actual distance calculation So #16 can use both independently
Author
Owner

This is actually already the case...

This is actually already the case...
Commenting is not possible because the repository is archived.
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
thisfro/pflaenz.li-Symfony#17
No description provided.