Network analysis in spatial networks - example of shortest path between two points