Skip to content

Commit 31bbb45

Browse files
author
Shiland
committed
Merge branch 'development' of https://github.com/ishiland/python-geosupport into development
2 parents dec37f2 + db3aacd commit 31bbb45

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

geosupport/parsers/func_2.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def parse_2(wa2):
22
# Work Area 2 (COW) - Function 2
3-
return{
3+
return {
44
"Internal Use": wa2[0:21],
55
"Intersection Replication Counter": wa2[21],
66
"DCP-Preferred LGC for Street 1": wa2[22:24],
@@ -60,7 +60,7 @@ def parse_2(wa2):
6060
}
6161

6262
def parse_2W(wa2):
63-
return {
63+
wide = {
6464
# Work Area 2 (COW) - Function 2W (Wide)
6565
# "Same as regular work area 2 for Function 2": wa2[0:199],
6666
# "Filler": wa2[200:221],
@@ -81,4 +81,7 @@ def parse_2W(wa2):
8181
"Latitude": wa2[3606:3615],
8282
"Longitude": wa2[3615:3626],
8383
# "Filler": wa2[3626:3999],
84-
}
84+
}
85+
wide = wide.copy()
86+
wide.update(parse_2(wa2))
87+
return wide

0 commit comments

Comments
 (0)