make_square_pattern_network

pankus.taurus.NetworkGenerator.make_square_pattern_network(self, size, delta=0.0001, **kwargs)

Creates square pattern network. Coresponding origins - destinations points are also created. origins - destinations are set in way their total sum is 1 for origins and destinations. Points for abstract network are generated in WSG84 coordinate system starting at point (0,0). On this level we use globe WSG84 as a Carthesian coordinates system. Don’t use it for

Parameters:
  • size – How many lines to create. 1 by 1 lines create just a square.
  • delta – Network relative (to earth WSG84) size.
Returns:

Effect

Network shape

Shape of network generated by executing function

make_square_pattern_network(6)
square network in size 6