-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding major changes to saving user seconds per point #38, counter fixes
#28, and lat lon options
- Loading branch information
1 parent
119a419
commit 9f771ec
Showing
2 changed files
with
108 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import threading | ||
|
||
|
||
# Inheriting the base class 'Thread' | ||
class AsyncWriteGDF(threading.Thread): | ||
|
||
def __init__(self): | ||
|
||
# calling superclass init | ||
threading.Thread.__init__(self) | ||
|
||
def save(self, gdf_object, output_filename): | ||
|
||
gdf_object.to_file( | ||
output_filename, layer='validation', driver="GPKG") | ||
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters