datablob 0.9.2__tar.gz → 0.9.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {datablob-0.9.2 → datablob-0.9.3}/PKG-INFO +1 -1
- {datablob-0.9.2 → datablob-0.9.3}/datablob/__init__.py +4 -3
- {datablob-0.9.2 → datablob-0.9.3}/datablob.egg-info/PKG-INFO +1 -1
- {datablob-0.9.2 → datablob-0.9.3}/setup.py +1 -1
- {datablob-0.9.2 → datablob-0.9.3}/LICENSE +0 -0
- {datablob-0.9.2 → datablob-0.9.3}/README.md +0 -0
- {datablob-0.9.2 → datablob-0.9.3}/datablob.egg-info/SOURCES.txt +0 -0
- {datablob-0.9.2 → datablob-0.9.3}/datablob.egg-info/dependency_links.txt +0 -0
- {datablob-0.9.2 → datablob-0.9.3}/datablob.egg-info/requires.txt +0 -0
- {datablob-0.9.2 → datablob-0.9.3}/datablob.egg-info/top_level.txt +0 -0
- {datablob-0.9.2 → datablob-0.9.3}/setup.cfg +0 -0
|
@@ -467,7 +467,7 @@ class DataBlobClient:
|
|
|
467
467
|
crs="EPSG:4326",
|
|
468
468
|
)
|
|
469
469
|
# drops polygonal column that we don't use in shapefile output
|
|
470
|
-
if polygon_key:
|
|
470
|
+
if polygon_key and polygon_key != "geometry":
|
|
471
471
|
gdf.drop(columns=[polygon_key], inplace=True)
|
|
472
472
|
buffer = io.BytesIO()
|
|
473
473
|
gdf.to_parquet(buffer, engine="pyarrow")
|
|
@@ -491,8 +491,9 @@ class DataBlobClient:
|
|
|
491
491
|
crs="EPSG:4326",
|
|
492
492
|
)
|
|
493
493
|
|
|
494
|
-
|
|
495
|
-
|
|
494
|
+
if polygon_key != "geometry":
|
|
495
|
+
# can drop old polygon column, since we replaced with a geometry column
|
|
496
|
+
gdf.drop(columns=[polygon_key], inplace=True)
|
|
496
497
|
|
|
497
498
|
buffer = io.BytesIO()
|
|
498
499
|
gdf.to_parquet(buffer, engine="pyarrow")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|