MIERUNE / qgis-plugx-plugin

QGIS to Illustrator with PlugX
GNU General Public License v2.0
3 stars 0 forks source link

Feat/export XYZ raster layer #3

Closed bordoray closed 1 year ago

bordoray commented 1 year ago

Issue

close #1

変更内容:Description

テスト手順:Test

image

その他:Notes

Kanahiro commented 1 year ago

Input:

スクリーンショット 2023-05-16 14 55 15

Output:

OpenStreetMap

Apparently the Input bbox and one of output image is different.

Kanahiro commented 1 year ago

@bordoray As above comment, current clipping may be somthing wrong. Please check it.

Kanahiro commented 1 year ago

@bordoray please care about my commit abount make disable test.

Kanahiro commented 1 year ago

処理を実行しようとするとエラーになりました

スクリーンショット 2023-05-17 8 58 19

Pythonコードの実行中にエラーが発生しました: 

_core.QgsProcessingException: アルゴリズムを実行することができません INPUTのソースレイヤを読み込めませんでした: /Users/kanahiro/Downloads/名称未設定フォルダ/OpenStreetMap.tiffが見つかりません 
Traceback (most recent call last):
  File "/Users/kanahiro/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/plugx_qgis/QGIS2PlugX_dialog.py", line 151, in run
    rasterlayer.xyz_to_png()
  File "/Users/kanahiro/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/plugx_qgis/rasterlayer.py", line 57, in xyz_to_png
    processing.run(
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py", line 108, in run
    return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 173, in runAlgorithm
    raise QgsProcessingException(msg)
_core.QgsProcessingException: アルゴリズムを実行することができません
INPUTのソースレイヤを読み込めませんでした: /Users/kanahiro/Downloads/名称未設定フォルダ/OpenStreetMap.tiffが見つかりません
Kanahiro commented 1 year ago

領域が広すぎるとTIFFが出力されない

Kanahiro commented 1 year ago

処理ができれば、領域は正しそうに見える

スクリーンショット 2023-05-17 9 14 08

Kanahiro commented 1 year ago

たぶん、縮尺じゃなくてDPIで指定しているから、領域が広いと再現なく画像サイズが大きくなっていくのだと思う

Kanahiro commented 1 year ago
bordoray commented 1 year ago
  • 領域が広すぎるとエラーが発生する
  • 領域が広くなくても、処理が進まなくなることがある

上記の条件の2つとも、同じエラーですか?

Kanahiro commented 1 year ago

領域が広くなくても、処理が進まなくなることがある

これはエラーは発生しません。いつまで経っても処理が完了しないことがあります。発生条件は不明です。