RDG-Networks 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: RDG-Networks
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Most of the code from the RDG Networks project
5
5
  Home-page: https://github.com/NiekMooij/RDG_networks
6
6
  Author: Niek Mooij
@@ -3,12 +3,12 @@ RDG_networks/__init__.py,sha256=aCfGs87cJn0Tp5GqTpFXPOEfJPpR4Tnnz819Kk_0t84,661
3
3
  RDG_networks/draw_segments.py,sha256=U53N5GXmQHWKdM1Q1faP_EGKjc6enOu2mcsunzSFpP0,984
4
4
  RDG_networks/generate_line_network.py,sha256=lJ4rhObim3WcEQoebomewRQKWNJC5phFyFYRW7qjXIg,1127
5
5
  RDG_networks/generate_line_segments.py,sha256=QV8_k7q6TD5c7Hcb2Ms_apEdWYw4XdLr7rdJgh49v4Q,9004
6
- RDG_networks/generate_line_segments_dynamic.py,sha256=KWtXlY44ndbgSkkHkD_Ql8oXRI6xRSUOXx1IjnBtu9k,7318
6
+ RDG_networks/generate_line_segments_dynamic.py,sha256=hAdqjyNgkEUnm7CprSKeEu7yCbvFBY2OHnkB_smubuA,7438
7
7
  RDG_networks/get_intersection_segments.py,sha256=mXB5qCy1oOps4Vu1mX6flW6v_4Xxc71YK41yOWjJX8o,2797
8
8
  RDG_networks/sample_in_polygon.py,sha256=qpPpW-Da1vK8ZkVWMJ0zBsE8IgyMB619gCdybSkzKSQ,1605
9
- RDG_Networks-0.2.1.dist-info/LICENSE.txt,sha256=Zlv8517YKFuHaaqksoTKeIiQBl9DGxhUdb_0kJg0NOE,1066
10
- RDG_Networks-0.2.1.dist-info/METADATA,sha256=-ziiKKIKw-SwtlQaCaShsfboOElVuCkvjXmwKhS2C2E,1896
11
- RDG_Networks-0.2.1.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
12
- RDG_Networks-0.2.1.dist-info/entry_points.txt,sha256=Htsh9jRabMCGHwXayUwZoSy-9IFGFrMB1X9hgyyr3_8,350
13
- RDG_Networks-0.2.1.dist-info/top_level.txt,sha256=4gUUYafD5Al9V8ZSiViVGYHpRMMCsCBcGgCNodk9Syg,13
14
- RDG_Networks-0.2.1.dist-info/RECORD,,
9
+ RDG_Networks-0.2.2.dist-info/LICENSE.txt,sha256=Zlv8517YKFuHaaqksoTKeIiQBl9DGxhUdb_0kJg0NOE,1066
10
+ RDG_Networks-0.2.2.dist-info/METADATA,sha256=cJqaiNH3FiaBCJ-J55--qd2h_rDry9Vxq-aj1N2576E,1896
11
+ RDG_Networks-0.2.2.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
12
+ RDG_Networks-0.2.2.dist-info/entry_points.txt,sha256=Htsh9jRabMCGHwXayUwZoSy-9IFGFrMB1X9hgyyr3_8,350
13
+ RDG_Networks-0.2.2.dist-info/top_level.txt,sha256=4gUUYafD5Al9V8ZSiViVGYHpRMMCsCBcGgCNodk9Syg,13
14
+ RDG_Networks-0.2.2.dist-info/RECORD,,
@@ -104,6 +104,9 @@ def check_and_update_when_intersect(lines: List[Dict[str, Any]], epsilon: float)
104
104
  if j1['id'][:-2] == j2['id'][:-2] or index2 < index1:
105
105
  continue
106
106
 
107
+ if j1['growth_status'] == False and j2['growth_status'] == False:
108
+ continue
109
+
107
110
  line1 = LineString([j1['start'], j1['end']])
108
111
  line2 = LineString([j2['start'], j2['end']])
109
112