Skip to content

Commit

Permalink
prepare paths checks
Browse files Browse the repository at this point in the history
  • Loading branch information
linogaliana committed Oct 22, 2023
1 parent f5e287a commit 9e3356e
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion misc/prototype_mapshaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
path_within_bucket = "test-download3"
crs = 4326

# DOWNLOAD


# DOWNLOAD =========================


x = _download_sources(
upload = True,
Expand All @@ -34,6 +37,26 @@
path_within_bucket = path_within_bucket
)


# create_path_bucket(
# {
# "bucket": bucket,
# "path_within_bucket": path_within_bucket,
# "year": layer.year,
# "borders": None,
# "crs": layer.crs,
# "filter_by": "origin",
# "value": "raw",
# "vectorfile_format": layer.format,
# "provider": layer.provider,
# "dataset_family": layer.dataset_family,
# "source": layer.source,
# "territory": layer.territory,
# "filename": rename_basename,
# }
# )


path = x['IGN']['ADMINEXPRESS']['EXPRESS-COG-CARTO-TERRITOIRE']['metropole'][2022]['paths']['COMMUNE'][0]
path_bucket = path.rsplit("/", maxsplit=1)[0]

Expand Down

0 comments on commit 9e3356e

Please sign in to comment.