Skip to content

Commit

Permalink
change gdal2tiles s_srs to EPSG: 4326 (#80)
Browse files Browse the repository at this point in the history
* change gdal2tiles s_srs to EPSG: 4326

#78

* version 1.0.12
  • Loading branch information
jywarren authored Nov 16, 2021
1 parent d129ca1 commit 61c825d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
mapknitter-exporter (1.0.11)
mapknitter-exporter (1.0.12)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion lib/exporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def self.generate_composite_tiff(_coords, _origin, warpables, id, ordered)
def self.generate_tiles(key, id)
key = "AIzaSyAOLUQngEmJv0_zcG1xkGq-CXIPpLQY8iQ" if key == "" # ugh, let's clean this up!
key ||= "AIzaSyAOLUQngEmJv0_zcG1xkGq-CXIPpLQY8iQ"
gdal2tiles = "gdal2tiles.py -k --s_srs EPSG:900913 -t #{id} -g #{key} public/warps/#{id}/#{id}.tif public/tms/#{id}/"
gdal2tiles = "gdal2tiles.py -k --s_srs EPSG:4326 -t #{id} -g #{key} public/warps/#{id}/#{id}.tif public/tms/#{id}/"
puts gdal2tiles
if system(ulimit + gdal2tiles)
"public/tms/#{id}/"
Expand Down
Binary file added mapknitter-exporter-1.0.12.gem
Binary file not shown.
4 changes: 2 additions & 2 deletions mapknitter-exporter.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'mapknitter-exporter'
s.version = '1.0.11'
s.date = '2021-11-15'
s.version = '1.0.12'
s.date = '2021-11-16'
s.summary = "The GDAL/ImageMagick-based exporter system from MapKnitter"
s.description = "The GDAL/ImageMagick-based exporter system from MapKnitter"
s.authors = ["Jeffrey Warren"]
Expand Down

0 comments on commit 61c825d

Please sign in to comment.