Aller au contenu

Message HrzProtocol.ClientFeatureGeometry

Defined in hrz/protocol/client_data/feature.proto.


type: HrzProtocol.VectorGeometryType

coords: double``[]

Web mercator (EPSG:3857) coordinates of the feature points. Encoded as [x1, y1, z1, x2, y2, z2, ...].


linestring_sizes: uint32``[]

For polylines, the number of points in each polyline is encoded in this field. This allows encoding “multi-polylines”. If empty, the feature is a simple linestring with all points in coords.

For polygons, the number of points in each linear ring is encoded in this field. The first ring is the exterior ring, and the following rings are holes. If empty, the feature is a simple polygon with a single exterior ring with all points in coords.