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: c40b9537076d66f4122e6436a4275d1e3bd26b43b4eebe86b8937709069e7c49
4
- data.tar.gz: 713e155b39436bf6e2fe324ca5b033d4a8404e7cc27fc6e1e3ff204646e7e80d
3
+ metadata.gz: fd74e4256a47a4aa51bce1260b257cb3521534bd14b4e95a7fa928b574fa327e
4
+ data.tar.gz: ee24d60ba5067f5cba81c82598373b46c886ba2e9ace2b6eb67a0c3b8f9f2d68
5
5
  SHA512:
6
- metadata.gz: 35b8607ddc30dc5f10fd8e0203a73c5746f362b1e0fa6f8d6c80ca0c9ee9654cfd16d39589fe2922ed42256abcb3be407bafa6e6785bdd0f8aeed9f54b157f4c
7
- data.tar.gz: 3a9fb91fb9160dddef57b8a87606b6e6308361401b111d2ca6bd699db28022f685a12a4f50d949e8834f4068f1596f9c545fbb1e10f659dc3a0c1c4c7e1f95fb
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=JPEG -co COPY_SRC_OVERVIEWS=YES")
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=JPEG -co COPY_SRC_OVERVIEWS=YES")
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module GeoWorks
3
3
  module Derivatives
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
6
6
  end
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.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-10-07 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hydra-derivatives