A spatial network (sometimes also geometric graph) is a graph in which the vertices or edges are spatial elements associated…