Symbol layer model for dimensioning:

The dimension symbols (arrows, etc.) should be stored in a layer with the following fields:

Optional fields:

An SQL example to create a PostGIS table and indexes for dimension symbol:

CREATE TABLE qad_dimension.dim_symbol

(

  name character varying(50),

  scale double precision,

  rot double precision,

  color character varying(10),

  type character varying(2) NOT NULL,

  id_parent bigint NOT NULL,

  geom geometry(Point,3003),

  id serial NOT NULL,

  CONSTRAINT dim_symbol_pkey PRIMARY KEY (id)

)

WITH (

  OIDS=FALSE

);

 

CREATE INDEX dim_symbol_id_parent

  ON qad_dimension.dim_symbol

  USING btree

  (id_parent);

 

CREATE INDEX sidx_dim_symbol_geom

  ON qad_dimension.dim_symbol

  USING gist

  (geom);

 

The symbol layer must be defined with a style set as follows:

The arrow symbol when inserted with rotation = 0 must be horizontal with the arrow pointing to the right and its insertion point should be on the tip of the arrow.