pixel-map 0.2.3__tar.gz → 0.2.4__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.
- {pixel_map-0.2.3 → pixel_map-0.2.4}/PKG-INFO +1 -1
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/__init__.py +1 -1
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/plotter.py +5 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pyproject.toml +2 -2
- {pixel_map-0.2.3 → pixel_map-0.2.4}/LICENSE +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/README.md +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/__main__.py +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/example_files/london_buildings.parquet +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/example_files/london_park.parquet +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/example_files/london_water.parquet +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/example_files/monaco_buildings.parquet +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/pixel_map/renderers.py +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/tests/__init__.py +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/tests/test_bbox.py +0 -0
- {pixel_map-0.2.3 → pixel_map-0.2.4}/tests/test_cli.py +0 -0
|
@@ -248,6 +248,11 @@ def _expand_bbox_to_match_ratio(
|
|
|
248
248
|
bottom = bottom - height_padding
|
|
249
249
|
top = top + height_padding
|
|
250
250
|
|
|
251
|
+
left = max(left, EPSG_3857_BOUNDS[0])
|
|
252
|
+
bottom = max(bottom, EPSG_3857_BOUNDS[1])
|
|
253
|
+
right = min(right, EPSG_3857_BOUNDS[2])
|
|
254
|
+
top = min(top, EPSG_3857_BOUNDS[3])
|
|
255
|
+
|
|
251
256
|
new_minx, new_miny = TRANSFORMER.transform(left, bottom, direction=TransformDirection.INVERSE)
|
|
252
257
|
new_maxx, new_maxy = TRANSFORMER.transform(right, top, direction=TransformDirection.INVERSE)
|
|
253
258
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pixel-map"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.4"
|
|
4
4
|
description = "A Python CLI tool for plotting geo files in the terminal"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Kamil Raczycki", email = "kraczycki@kraina.ai" },
|
|
@@ -149,7 +149,7 @@ close-quotes-on-newline = true
|
|
|
149
149
|
wrap-one-line = true
|
|
150
150
|
|
|
151
151
|
[tool.bumpver]
|
|
152
|
-
current_version = "0.2.
|
|
152
|
+
current_version = "0.2.4"
|
|
153
153
|
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
|
|
154
154
|
commit_message = "chore(CI/CD): bump version {old_version} -> {new_version}"
|
|
155
155
|
commit = true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|