「DotSpatial」カテゴリーアーカイブ

Blender:レンダーデバイスの変更

実機は、古いがそこそこ使える。
gtx460が動作しないために、gtx650のとりあえず動作するビデオカードを導入
3dxmaxでは心持たないが、blenderは使える。
クラッシュも今は無し。
そこでレンダーデバイスの変更できるかさがした。
あった
SnapCrab_NoName_2019-12-27_15-34-5_No-00
The actual machine is old but can be used.
Since gtx460 does not work, introduce a video card that works for the time being gtx650
3dxmax doesn’t care, but you can use blender.
No crash right now.
So I asked if I could change the render device.
there were

とりあえずデフォルトでも問題なく使える。
For now, it can be used without any problems by default.

DotSpatial:WKBReaderが無くなって

WKBReader wkbReader = new WKBReader();
ver 1.9には、あったのですが無くなっているので
実は、無くなったのでなく、分離されたからなんですね。
このように取得したデータのリーダは
必要なのは
using NetTopologySuite.IO;
WKBReader wkbReader = new WKBReader();

DotSpatial.NetTopologySuite
 1.14.4.0

DotSpatial:DotSpatial.Topology.Pointのライブラリが無くなって

DotSpatial.Topology.Point
ver 1.9には、あったのですが無くなっているので
実は、無くなったのでなく、分離されたからなんですね。
このように取得したオブジェクトからポイントに変換するには
必要なのは
Since it was lost in ver 1.9, it is lost
Actually, it was because it was separated, but not lost.
To convert from the acquired object to a point like this
What you need is

GeoAPI.Geometries;
Coordinate coord = map.PixelToProj(e.Location);
これはそのまま
This is as it is
NetTopologySuite.Geometries;
DotSpatial.Topology.Point point = new DotSpatial.Topology.Point(coord);
ようやくわかりました。
Finally understood.
NetTopologySuite.Geometries.Point point = new NetTopologySuite.Geometries.Point(coord);

DotSpatial.GeoAPI
 1.7.4.0
DotSpatial.NetTopologySuite
 1.14.4.0