geo_works-derivatives 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd74e4256a47a4aa51bce1260b257cb3521534bd14b4e95a7fa928b574fa327e
|
4
|
+
data.tar.gz: ee24d60ba5067f5cba81c82598373b46c886ba2e9ace2b6eb67a0c3b8f9f2d68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e76e0daed6a0c682f0f249fa874e24988f2c2e799428eb427666bcfb8b7554464e7c7858d9677389ef02e1795ae7609042250906672a0fa7f411932f64f2a6
|
7
|
+
data.tar.gz: ae2422b043ea514fdb690788ec8370d8b4f8f9a9039e6c49d7846097ec02f71041c64bc734259e551078f7926925d44b2705ea23cb4dea25f873582e7401f8b3
|
@@ -49,11 +49,11 @@ module GeoWorks
|
|
49
49
|
def self.cloud_optimized_geotiff(in_path, out_path, _options)
|
50
50
|
system("gdaladdo -q -r average #{in_path} 2 4 8 16 32")
|
51
51
|
execute("gdal_translate -q -expand rgb #{in_path} #{out_path} -co TILED=YES "\
|
52
|
-
"-co COMPRESS=
|
52
|
+
"-co COMPRESS=LZW -co COPY_SRC_OVERVIEWS=YES")
|
53
53
|
rescue StandardError
|
54
54
|
# Try without expanding rgb
|
55
55
|
execute("gdal_translate -q #{in_path} #{out_path} -co TILED=YES "\
|
56
|
-
"-co COMPRESS=
|
56
|
+
"-co COMPRESS=LZW -co COPY_SRC_OVERVIEWS=YES")
|
57
57
|
end
|
58
58
|
|
59
59
|
# Executes a gdal_rasterize command. Used to rasterize vector
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geo_works-derivatives
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eliot Jordan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hydra-derivatives
|