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:
Data used¶
Effect¶
- A network in a square shape is created
- Newly created network has specific properties
- All of network data is written into network_properties and network_geometry tables
