メインコンテンツ

このページは機械翻訳を使用して翻訳されました。最新版の英語を参照するには、ここをクリックします。

ベクトル データ

ポイント、ライン、ポリゴンデータを解析および変換

ベクトル データは、ポイント、ライン、ポリゴン、およびそれらの非空間属性を使用して、現実世界のオブジェクト、場所、イベントを記述します。たとえば、都市は点を使用して、川はラインを使用して、国は多角形を使用して表すことができます。ポイント、ライン、ポリゴンの頂点は、地理座標 (緯度-経度) または投影座標 (x-y) で表すことができます。

関数

すべて展開する

地理空間table、table、構造

geotable2tableConvert geospatial table to table (R2021b 以降)
table2geotableConvert table to geospatial table (R2021b 以降)
struct2geotableConvert structure array to geospatial table (R2021b 以降)

ラインと多角形の座標配列

poly2ccwConvert polygon vertices to counterclockwise order
poly2cwConvert polygon vertices to clockwise order
poly2fvConvert polygon coordinates to patch faces and vertices
polyjoinラインまたはポリゴン部分をセル配列からベクトル形式に変換する
polymergeMerge line segments with matching endpoints
polysplitConvert line or polygon parts from vector form to cell arrays
closePolygonPartsClose all rings in multipart polygon
removeExtraNanSeparatorsClean up NaN separators in polygons and lines

クエリ

boundsBounds of shape in geographic or planar coordinates (R2024b 以降)
isinteriorQuery geographic or planar points in polygon (R2022a 以降)
ispolycwDetermine if polygon vertices are in clockwise order
ismultipointDetermine which array elements are multipoint shapes (R2022b 以降)
isgeotableDetermine if input is geospatial table (R2021b 以降)
isShapeMultipartDetermine if line or polygon has multiple parts
extractfield構造体配列からのフィールド値

幾何学的量

areaArea of polygon shape in geographic or planar coordinates (R2024a 以降)
perimeterPerimeter of polygon shape in geographic or planar coordinates (R2024a 以降)
linelengthLength of line shape in geographic or planar coordinates (R2024a 以降)

座標の補間

interpmDensify connected vertices in latitude-longitude coordinates
intrplatInterpolate latitude at specified longitude
intrplonInterpolate longitude at specified latitude

ポイント、ライン、ポリゴンをクリップする

geoclipClip geographic shape to latitude-longitude limits or polygon (R2022a 以降)
mapclipClip planar shape to xy-limits or polygon (R2022a 以降)
maptrimlTrim lines to latitude-longitude quadrangle
maptrimpTrim polygons to latitude-longitude quadrangle
nanclipClip vector data with NaNs at specified pen-down locations
flatearthpolyClip polygon to world limits

バッファリングまたは密度の低減

bufferBuffer shape in geographic or planar coordinates (R2024b 以降)
buffermBuffer zones for latitude-longitude polygons
reducemReduce density of points in vector data
intersectIntersection of shapes in geographic or planar coordinates (R2025a 以降)
unionUnion of shapes in geographic or planar coordinates (R2025a 以降)
subtractDifference of shapes in geographic or planar coordinates (R2025a 以降)
xorExclusive OR of shapes in geographic or planar coordinates (R2025a 以降)
polyxpolyラインまたはポリゴンエッジの交点
linecirc直交座標で直線と円の交点を求める
circcircFind intersection of circles in Cartesian coordinates

オブジェクト

すべて展開する

geopointshapePoint shape in geographic coordinates (R2021b 以降)
geolineshapeLine shape in geographic coordinates (R2021b 以降)
geopolyshapePolygon in geographic coordinates (R2021b 以降)
mappointshapePoint shape in planar coordinates (R2021b 以降)
maplineshapeLine shape in planar coordinates (R2021b 以降)
mappolyshapePolygon in planar coordinates (R2021b 以降)
geopointGeographic point vector
geoshapeGeographic shape vector
mappointPlanar point vector
mapshapePlanar shape vector

トピック

ベクトル データ表現

  • Create Geospatial Tables
    Geospatial tables contain shapes and attributes for point, line, and polygon data. Import geospatial tables from vector data files, convert tables to geospatial tables, or create geospatial tables from arrays.
  • Geographic Data Structures
    A geographic data structure stores geographic features as elements in a structure array. The structure has fields such as the geometry of the feature and the coordinates of points in the vector.

ベクトル データの変更と解析

関連情報