slice retains tags, lookup function
This commit is contained in:
parent
7d24fb338a
commit
f2931af8dd
4 changed files with 89 additions and 6 deletions
2
slice.py
2
slice.py
|
|
@ -97,7 +97,7 @@ def slice_and_split_geoparquet(input_file: str, output_dir: str):
|
|||
|
||||
# Clip geometries inside this geohash box
|
||||
filtered_data = con.execute(f"""
|
||||
SELECT feature_id, rowid,
|
||||
SELECT feature_id, tags,
|
||||
ST_AsWKB(ST_Intersection(geometry,
|
||||
ST_MakeEnvelope({geohash_bbox["w"]}, {geohash_bbox["s"]},
|
||||
{geohash_bbox["e"]}, {geohash_bbox["n"]})))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue