added support to send coordinates to service

Signed-off-by: binovsky <michal.binovsky@outlook.com>
better intersection calculations

Signed-off-by: binovsky <michal.binovsky@outlook.com>