Aller au contenu

Message HrzProtocol.VectorFeatureGeometry

Defined in hrz/protocol/vector/geometry.proto.

Fields

type: HrzProtocol.VectorGeometryType
coords: double``[]

Points coordinates stored as [x1, y1, z1, x2, y2, z2, ...]. For 2D geometries, z is set to 0.

For POINT geometries, defining multiple points defines a multi-point geometry.

linestring_sizes: uint32``[]

Number of points for each linestring. Linestrings must not be closed. For polygons, exterior linestring must be counter-clockwise, and interior ones must be clockwise. This is used only for polygons and polylines.

For POLYLINE geometries, defining multple linestring defines a multi-polyline geometry.

If empty, the geometry is a single linestring made of all the points in coords. For polygons, this is a single exterior ring without holes.