GeoVector
詳細
- GeoVector[…]は,地表または他の任意の天体表面に,風速,磁場,スカラー勾配等の任意のベクトルの大きさを表すことができる.
- GeoVectorは,指定された場所の基準楕円体に接する正規直交座標系を使って,ベクトルデータを説明する.
- GeoVector[loc{m,α}]のベクトル係数 m は,数式あるいは任意の単位を持つ数値Quantityオブジェクトとして与えられる.方位 α は,北から時計回りに測った度数あるいはQuantity角として与えられる.垂直成分は0であるとみなされる.
- GeoVector[loc{m,α,w}]の水平係数 m と垂直成分 w は数量でよいが,単位は互換でなければならない.
- GeoVector[locvec]の場所 loc は,度を単位とした{lat,lon}のペア,地理Entityオブジェクト,あるいはGeoPositionまたはこれに類似の頭部を持つ任意の地理位置オブジェクトとして与えることができる.
- GeoVector[GeoVectorENU[…]]は,GeoVectorENU形式のベクトルをGeoVector形式に変換する.同様に,GeoVectorXYZオブジェクトやGeoGridVectorオブジェクトを変換する.
- GeoGraphics[GeoVector[locvec]]は地理範囲の推定に loc を考慮するが,ベクトルは表示しない.GeoGraphics[GeoMarker[GeoVector[locvec],vmarker]]を使って,指定された場所にベクトルマーカー vmarker で指定されたスタイルでベクトルを表示する.
- GeoVector[…][prop]は,地理ベクトルの指定された特性を与える.
- 次は,使用可能な特性である.
-
"Count" GeoVectorオブジェクト内のベクトル数 "Data" GeoVectorオブジェクトの第1引数 "Depth" ベクトル深度.単一のベクトルについては0,ベクトルのリスト1等 "Location" GeoVectorオブジェクトの位置データ "LocationDimension" 各位置の座標数 "LocationPackingType" 位置がPackedの場合はIntegerまたはReal.それ以外の場合はNone "Vector" GeoVectorオブジェクトのベクトルデータ "VectorDimension" 各ベクトルの成分数 "VectorPackingType" ベクトルがPackedの場合はIntegerまたはReal.それ以外の場合はNone
例題
すべて開く すべて閉じる例 (3)
gv = WindVectorData[Here, Now, "DownwindGeoVector"]GeoGraphics[GeoMarker[gv, {"Dart", "Circle"}]]この方向を,投影法が異なる世界地図上で小さめの矢印を使って示す:
GeoGraphics[GeoMarker[gv, {"Dart", "Circle"}, "Scale" -> 0.5], GeoRange -> "World", GeoProjection -> "Bonne", GeoGridLines -> Automatic, GeoBackground -> "Plain"]アンカレッジにおける地球磁場のベクトルに関するデータを得る:
GeomagneticModelData[Entity["City", {"Anchorage", "Alaska", "UnitedStates"}]]水平成分,偏角,負の下降成分がGeoVectorオブジェクトを形成する:
GeomagneticModelData[Entity["City", {"Anchorage", "Alaska", "UnitedStates"}], GeoVector]GeoVectorENU[%]GeoVector[%]gv = GeoVector[RandomGeoPosition["World", 100] -> Table[{1, 0}, 100]]GeoGraphics[GeoMarker[gv], GeoProjection -> "LambertAzimuthal", GeoGridLines -> Automatic, GeoRange -> "World"]より滑らかに表現するためにGeoVectorPlotを使う:
GeoVectorPlot[gv, GeoProjection -> "LambertAzimuthal", GeoRange -> "World"]スコープ (8)
データ指定 (4)
度を単位とした{lat,lon}のペアで地理ベクトルの位置を指定する:
GeoVector[{20, -50} -> {1, 0}]gv = GeoVector[Entity["City", {"Chicago", "Illinois", "UnitedStates"}] -> {Quantity[100, "Miles" / "Hours"], 60}]任意の頭部を持つ地理位置オブジェクトとして位置を書き換える:
GeoPosition[gv]GeoPositionXYZ[gv]GeoGridPosition[gv, "Mercator"]GeoPositionが解釈できるものは何でも,位置として使うことができる:
GeoVector["12d 3m 4.5s N, 123d 58m 3.2s W" -> {1, 45}]//GeoPositionGeoVector["NullIsland" -> {2, 33}]//GeoPositionGeoVector[{20, -50} -> {1, 0}]GeoVector[{20, -50} -> {Quantity[2, "Meters" / "Seconds"], 130}]GeoVector[{20, -50} -> {Quantity[4, "Meters" / "Seconds" ^ 2], 130}]方位は度数あるいはQuantity角として与えることができる:
GeoVector[{20, -50} -> {Quantity[2, "Meters" / "Seconds"], Quantity[130, "AngularDegrees"]}]GeoVector[{20, -50} -> {Quantity[2, "Meters" / "Seconds"], Quantity[2, "Radians"]}]地理ベクトル配列 (3)
GeoVector[{Entity["City", {"London", "GreaterLondon", "UnitedKingdom"}], Entity["City", {"Paris", "IleDeFrance", "France"}], Entity["City", {"Amsterdam", "NoordHolland", "Netherlands"}], Entity["City", {"Berlin", "Berlin", "Germany"}]} -> {{Quantity[5.8, "Miles"/"Hours"], -130.}, {Quantity[6.3, "Miles"/"Hours"], 70.}, {Quantity[10.3, "Miles"/"Hours"], -150.}, {Quantity[6.9, "Miles"/"Hours"], -100.}}]GeoVector[{Entity["City", {"London", "GreaterLondon", "UnitedKingdom"}] -> {Quantity[5.8, "Miles"/"Hours"], -130.}, Entity["City", {"Paris", "IleDeFrance", "France"}] -> {Quantity[6.3, "Miles"/"Hours"], 70.}, Entity["City", {"Amsterdam", "NoordHolland", "Netherlands"}] -> {Quantity[10.3, "Miles"/"Hours"], -150.}, Entity["City", {"Berlin", "Berlin", "Germany"}] -> {Quantity[6.9, "Miles"/"Hours"], -100.}}]GeoGraphics[GeoMarker[%, {"Dart", "Circle"}], GeoRange -> {{47, 54}, {-2, 16}}]百万のランダムな直交ベクトルをそれぞれのランダムな場所に生成する:
gvenu = GeoVectorENU[RandomGeoPosition[10 ^ 6] -> QuantityArray[RandomReal[{-1, 1}, {10 ^ 6, 2}], "Meters"]]GeoVectorはこれらを効率的に処理できる:
AbsoluteTiming[gv = GeoVector[gvenu]]AbsoluteTiming[newgvenu = GeoVectorENU[gv]]CoordinateBounds[newgvenu["Vector"] - gvenu["Vector"]]capitals = GeoPosition[EntityClass["Country", "UnitedNations"]["CapitalCity"]]vecs = QuantityArray[RandomReal[360, {193, 2}], {"Meters" / "Seconds", "AngularDegrees"}]gv = GeoVector[capitals -> vecs]GeoVectorENU[gv]GeoVector[%]データの抽出 (1)
gv = GeoVector[Entity["City", {"Chicago", "Illinois", "UnitedStates"}] -> {Quantity[100, "Miles" / "Hours"], 60}]gv["Location"]gv["Vector"]gv["LocationVectorRule"]gv["Properties"]AssociationMap[gv, %]//Normal//Columnアプリケーション (1)
locs = RandomGeoPosition[Entity["Country", "Canada"], 100]gv = GeoVector[GeomagneticModelData[locs, Now, GeoVector]]これらのベクトルの水平部分を,y 軸が北を向く円筒図法で表す:
GeoGraphics[GeoMarker[gv], GeoProjection -> "Mercator", GeoGridLines -> Automatic, GeoBackground -> "Plain"]特性と関係 (4)
別の場所における同じベクトルデータは,別の3Dベクトルを表す:
gv1 = GeoVector[Entity["City", {"Paris", "IleDeFrance", "France"}] -> {1, 45}];gv2 = GeoVector[Entity["City", {"BuenosAires", "BuenosAires", "Argentina"}] -> {1, 45}];GeoVectorXYZ /@ {gv1, gv2}対蹠的な場所における同じ垂直ベクトルは,互いに逆の3Dベクトルである:
gv1 = GeoVector[Here -> {0, 0, 1}]gv2 = GeoVector[GeoAntipode[Here] -> {0, 0, 1}]GeoVectorXYZ[gv1]["Vector"]GeoVectorXYZ[gv2]["Vector"] == -%GeoVector[Entity["Building", "EiffelTower::5h9w8"] -> {Quantity[5, "Meters"/"Seconds"^2], 30}]GeoGridVector[%, "Mercator"]GeoVector形式に変換し直す:
GeoVector[%]インタラクティブな例題 (2)
同じ場所から出て同じ方位角を持つ地理ベクトルと測地線を比較する:
Manipulate[GeoGraphics[{GeoCircle[Entity["City", {"Chicago", "Illinois", "UnitedStates"}], Quantity[3000, "Miles"]], Arrow@GeoPath[{Entity["City", {"Chicago", "Illinois", "UnitedStates"}], Quantity[3000, "Miles"], α}], GeoMarker[GeoVector[Entity["City", {"Chicago", "Illinois", "UnitedStates"}] -> {1, α}], Placed["Dart", "Start"]]}, GeoProjection -> "Equirectangular"], {{α, 0}, -180, 180}]Manipulate[GeoGraphics[{PointSize[Large], Point[GeoPosition[{lat, lon}]], GeoMarker[GeoVector[{GeoPosition[{lat, lon}] -> {1, 0}, GeoPosition[{lat, lon}] -> {1, 90}}], Placed["Arrow", "Start"], "Color" -> Green, "Scale" -> 0.7], GeoMarker[GeoVector[{GeoPosition[{lat, lon}] -> {2, bearing}}], Placed["Arrow", "Start"]], GeoPath["Greenwich"], GeoPath["Equator"]}, GeoRange -> "World", GeoProjection -> {"Orthographic", "Centering" -> {40, 25}, "PreserveVectorNorm" -> pn}, GeoGridLines -> Automatic, GeoBackground -> None], {{lat, 45, "Latitude"}, -90, 90}, {{lon, 60, "Longitude"}, -180, 180}, {{bearing, 60, "Bearing"}, -180, 180}, {{pn, True, "Preserve norm"}, {True, False}}]関連するガイド
-
▪
- 測地学
テキスト
Wolfram Research (2019), GeoVector, Wolfram言語関数, https://reference.wolfram.com/language/ref/GeoVector.html.
CMS
Wolfram Language. 2019. "GeoVector." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoVector.html.
APA
Wolfram Language. (2019). GeoVector. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoVector.html
BibTeX
@misc{reference.wolfram_2026_geovector, author="Wolfram Research", title="{GeoVector}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/GeoVector.html}", note=[Accessed: 26-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_geovector, organization={Wolfram Research}, title={GeoVector}, year={2019}, url={https://reference.wolfram.com/language/ref/GeoVector.html}, note=[Accessed: 26-November-2026]}