-
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.
Merge pull request #12 from KnowWhereGraph/develop
Support integrating against standalone geometries
- Loading branch information
Showing
6 changed files
with
54 additions
and
32 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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
fiona==1.9.5 | ||
fiona==1.10.1 | ||
pytest==8.3.2 | ||
rasterio==1.3.10 | ||
rasterstats==0.19.0 | ||
rdflib==7.0.0 | ||
rasterio==1.4.3 | ||
rasterstats==0.20.0 | ||
rdflib==7.1.1 | ||
s2sphere==0.2.5 | ||
Shapely==2.0.5 | ||
Shapely==2.0.6 | ||
SPARQLWrapper==2.0.0 |
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,24 @@ | ||
from __future__ import annotations | ||
|
||
import argparse | ||
|
||
from lib.integrator import Integrator | ||
|
||
if __name__ == "__main__": | ||
parser = argparse.ArgumentParser() | ||
parser.add_argument( | ||
"--path", | ||
help="Path to the folder with triples being integrated", | ||
type=str, | ||
nargs="?", | ||
default="./output", | ||
) | ||
parser.add_argument( | ||
"--compressed", | ||
help="use the S2 hierarchy to write a compressed collection of relations at various levels", | ||
type=bool, | ||
nargs="?", | ||
default=True, | ||
) | ||
args = parser.parse_args() | ||
Integrator(args.compressed, args.path) |
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
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
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