We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e657bd + d7d1c08 commit f6ada15Copy full SHA for f6ada15
2 files changed
pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "rasters"
7
-version = "1.13.0"
+version = "1.13.1"
8
description = "raster processing toolkit"
9
readme = "README.md"
10
authors = [
rasters/point.py
@@ -160,7 +160,10 @@ def lat(self) -> float:
160
Returns:
161
float: The latitude value.
162
"""
163
- return self.latlon.y
+ if self.is_geographic:
164
+ return self.y
165
+ else:
166
+ return self.latlon.y
167
168
@property
169
def lon(self) -> float:
@@ -173,7 +176,10 @@ def lon(self) -> float:
173
176
174
177
float: The longitude value.
175
178
- return self.latlon.x
179
180
+ return self.x
181
182
+ return self.latlon.x
183
184
def buffer(
185
self,
0 commit comments