ffi-gdal 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +6 -0
- data/lib/ffi/gdal/version.rb +1 -1
- data/lib/ogr/extensions/geometry/extensions.rb +2 -2
- metadata +3 -4
- data/lib/ffi/extensions/gdal/extensions/version.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58e66069ab9b98f0161ff2481e01c563bbe97db1a6dcc45dd44230bc8d381a5d
|
4
|
+
data.tar.gz: 67b8a19105b6dc1d5ee1f7d7f006eb5fb61af7c5ea85e2aa3da41d13a4c1b64b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76dec29c560b465a90ad5686c6fcde778df50c36187acef6de431878f30bd1d8e36929fbbac89eb3ce057adb5bed224073e70ec7ba52d5ed12321932bb07b929
|
7
|
+
data.tar.gz: 35df77b1b1410511cae4e2de6741528836551458e138c1c8d12d9a5573a0d770e898734c123d0b9f8ce52c9f31ec465f43824913b90e62b83cc9b9158a6deb01
|
data/Changelog.md
CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
|
6
6
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [1.0.1] - 2023-01-13
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Fix NoMethodError in `OGR::GeometryMixins::Extensions#utm_zone` when geometry is invalid.
|
13
|
+
|
8
14
|
## [1.0.0] — 2023-01-06
|
9
15
|
|
10
16
|
Changes for all releases leading up to 1.0.0 can be found in [Changelog-0.x](/Changelog-0.x.md).
|
data/lib/ffi/gdal/version.rb
CHANGED
@@ -13,7 +13,7 @@ module OGR
|
|
13
13
|
if spatial_reference.authority_code == '4326'
|
14
14
|
self
|
15
15
|
else
|
16
|
-
# NOTE: #clone here has
|
16
|
+
# NOTE: #clone here has overridden Ruby's clone and calls OGR_G_Clone;
|
17
17
|
# it's important to do this and
|
18
18
|
as4326 = clone
|
19
19
|
return unless as4326.transform_to!(OGR::SpatialReference.new.import_from_epsg(4326))
|
@@ -21,7 +21,7 @@ module OGR
|
|
21
21
|
as4326
|
22
22
|
end
|
23
23
|
|
24
|
-
self_as4326
|
24
|
+
self_as4326 = self_as4326.buffer(0) unless valid?
|
25
25
|
|
26
26
|
return unless self_as4326.point_on_surface.x
|
27
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-gdal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Loveless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bindata
|
@@ -302,7 +302,6 @@ files:
|
|
302
302
|
- lib/ffi/cpl/xml_node.rb
|
303
303
|
- lib/ffi/extensions/gdal/extensions.rb
|
304
304
|
- lib/ffi/extensions/gdal/extensions/all.rb
|
305
|
-
- lib/ffi/extensions/gdal/extensions/version.rb
|
306
305
|
- lib/ffi/extensions/rttopo.rb
|
307
306
|
- lib/ffi/extensions/rttopo/gbox.rb
|
308
307
|
- lib/ffi/extensions/rttopo/geom.rb
|
@@ -499,7 +498,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
499
498
|
- !ruby/object:Gem::Version
|
500
499
|
version: '0'
|
501
500
|
requirements: []
|
502
|
-
rubygems_version: 3.
|
501
|
+
rubygems_version: 3.1.6
|
503
502
|
signing_key:
|
504
503
|
specification_version: 4
|
505
504
|
summary: FFI wrapper for GDAL/OGR.
|