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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datablob
3
- Version: 0.9.2
3
+ Version: 0.9.3
4
4
  Summary: Client for Updating a Simple Data Warehouse on Blob Storage
5
5
  Home-page: https://github.com/gocarta/datablob
6
6
  Download-URL: https://github.com/gocarta/datablob/tarball/download
@@ -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
- # can drop old polygon column, since we replaced with a geometry column
495
- gdf.drop(columns=[polygon_key], inplace=True)
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")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datablob
3
- Version: 0.9.2
3
+ Version: 0.9.3
4
4
  Summary: Client for Updating a Simple Data Warehouse on Blob Storage
5
5
  Home-page: https://github.com/gocarta/datablob
6
6
  Download-URL: https://github.com/gocarta/datablob/tarball/download
@@ -15,7 +15,7 @@ setup(
15
15
  "__init__.py",
16
16
  ]
17
17
  },
18
- version="0.9.2",
18
+ version="0.9.3",
19
19
  description="Client for Updating a Simple Data Warehouse on Blob Storage",
20
20
  long_description=long_description,
21
21
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes