MIERUNE / ElevationTile4JP

Retrieve Geographical Survey Institute elevation tiles in the screen and convert them to GeoTiff.
https://mierune.co.jp/
GNU General Public License v2.0
5 stars 2 forks source link

出力ファイルの座標系に3857以外を指定するとエラーになる #12

Closed mits003 closed 3 years ago

mits003 commented 3 years ago

投影変換時に同じファイル名を指定しているため、ファイルの出力ができない状態になっています。

https://github.com/MIERUNE/ElevationTile4JP/blob/2d552124cb0253a5a063e04ac2710be33b1492d0/elevation_tile_tools/geotiff.py#L61

出力ファイルの座標系に3857以外が指定されている場合には、別名の中間ファイルを作成するなどの対応が必要かもしれません。 あるいは、出力ファイルを分割して出力する予定がないならば、ユーザにファイル名を指定させるようにしてもいいかもしれないです。

nokonoko1203 commented 3 years ago

同名でGdal .Worpができないのが原因らしい