NI-Lab.

nilog:

← 前の日 2020-10-05 次の日 →
← 一年前 一年後 →
Twitter (2020-10-05)
"With this plugin you create svg for given map in QGIS which is better suited for editing in Inkscape then the svg created with QGIS itself."

GitHub - rduivenvoorde/simplesvg https://github.com/rduivenvoorde/simplesvg
[t] 2020-10-05 20:37:20
関連するかも情報
"SimpleSvg is a plugin which tries to save current map as SVG. Other then the normal SaveAsSVG in the composer, this plugin tries to keep the GIS-grouping intact: layers in Qgis will be layers in Inkscape, symbol classes will be groups."

https://www.duif.net/qgis/simplesvg/
[t] 2020-10-05 20:36:35
"With this plugin you create svg for given map in QGIS which is better suited for editing in Inkscape then the svg created with QGIS itself."

GitHub - rduivenvoorde/simplesvg https://github.com/rduivenvoorde/simplesvg
[t] 2020-10-05 20:37:20
GeoJSON でエクスポートはできたけど経緯度の値がおかしいな・・・

「レイヤ → 名前をつけて保存」
「「形式 : GeoJSON」,「エンコーディング : UTF-8」を選択してOK」

QGIS #004 - GeoJSON形式で保存 | dayjournal memo https://day-journal.com/memo/qgis-004/
[t] 2020-10-05 20:50:42
「0.9リリースからQGISはPythonを使ったスクリプト処理をサポートしました。Pythonはスクリプト処理でもっとも好まれている言語の一つだと思います。PyQGISバインディングはSIPとPyQt4に依存しています」

はじめに https://docs.qgis.org/2.8/ja/docs/pyqgis_developer_cookbook/intro.html
[t] 2020-10-05 20:53:35
あれっ?(;・∀・)

"WARNING: numpy not available! Array support will not be enabled"
[t] 2020-10-05 21:09:05
Dependencies

・libgdal (3.1.3 or greater) and header files (gdal-devel)
・numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly required, but many examples and utilities will not work without it)

GDAL · PyPI https://pypi.org/project/GDAL/
[t] 2020-10-05 21:14:37
RT @YahooNewsTopics:
【カモシカに角で脚刺され死亡】
https://yahoo.jp/FuhEFt

70歳の男性が、誤ってわなにかかっていたニホンカモシカを助けようとしたところ、ツノで脚を刺され死亡した。国の天然記念物で駆除の対象ではないため、逃がそうと近づいたところ、襲われたという。
[t] 2020-10-05 21:15:10
RT @responsejp:
トヨタ GRヤリス、最初の1000台が7日で完売…オーストラリア
https://response.jp/article/2020/10/05/339055.html?utm_source=twitter&utm_medium=social

#ヤリス #GAZOO #トヨタ https://twitter.com/responsejp/status/1313018854822408192/photo/1
[t] 2020-10-05 21:17:36
RT @ri_nyo3:
ご自由にお使いくださいと言おうと思ったが使いどころが謎過ぎた https://twitter.com/ri_nyo3/status/1312666662940766209/photo/1
[t] 2020-10-05 21:18:13
$ brew install gdal
[t] 2020-10-05 21:20:23
$ pip install GDAL
Collecting GDAL
Using cached GDAL-3.1.3.tar.gz (593 kB)
(中略)
Successfully installed GDAL-3.1.3
[t] 2020-10-05 21:22:07
あらー

"ERROR 3: Free disk space available is 166095175680 bytes, whereas 180228360352224544 are at least necessary. You can disable this check by defining the CHECK_DISK_FREE_SPACE configuration option to FALSE."
[t] 2020-10-05 21:31:01
from osgeo import gdal, ogr
gdal.SetConfigOption('CHECK_DISK_FREE_SPACE', 'NO')

ってやったら進んだけど別のエラー(;・∀・)

Assertion failed: (datalength<0x80000000UL), function TIFFWriteDirectoryTagData, file tif_dirwrite.c, line 2589.
[t] 2020-10-05 21:34:09
「日本地図のShapeをGEOTIFFに変換」

PythonでGDALを使い倒そう! - GIS奮闘記 https://www.gis-py.com/entry/py-gdal
[t] 2020-10-05 21:47:44
GeoJSON を作成できるサイト。でも背景に地図があるから、この上でなにかなぞって描いたらトレースになって何らかのライセンスに抵触しそうだなぁ・・・

https://geojson.io/
[t] 2020-10-05 21:49:12
C, C++, Python, Java から使えるらしい。

API — GDAL documentation https://gdal.org/api/
[t] 2020-10-05 21:51:18
$ pip install numpy
Collecting numpy
Downloading numpy-1.19.2-cp38-cp38-macosx_10_9_x86_64.whl (15.3 MB)
|████████████████████████████████| 15.3 MB 2.0 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.19.2
[t] 2020-10-05 21:52:51
GeoTiff から CreateCopy で PNG にするしかなさそう。

"You can use Create() to create an intermediate file in GeoTiff format, and then use the CreateCopy() method to create JPEG or PNG."

Create and save raster dataset using GDAL in Python https://drr.ikcest.org/tutorial/k8024
[t] 2020-10-05 22:04:29
"PNG driver doesn't support data type Int16. Only eight bit (Byte) and sixteen bit (UInt16) bands supported. Defaulting to Byte"
[t] 2020-10-05 22:05:49
いつも LINE Pay で払ってたけど PayPay も使えるようになったみたい。

マクドナルドのモバイルオーダーでPayPayデビューキャンペーン - PayPay https://paypay.ne.jp/event/mcdonalds/
[t] 2020-10-05 22:26:19
2020年10年05日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN