fjordfisher wrote:
Hello Greg,
is there also any chance for such objects as here in picture or is the variety to high (i'm not a navigator)?
reefmaster.com.au/index.php/forum/beta-t...mc-ideas-wanted#1031
Thanks and best wishes
fjordfisher
That's a sector light.
It's been coded in the IMC for a while but I broke it when I did extents clipping (to 85 S and 85 N).
Encoding is either as point or polygon feature...the extent issue forces it to be encoded as a polygon with a minor area, though (something that won't trivially filter - for example, a .0000000001 degree polygon). The initial point is either the first point in the polygon or the point's location.
"DRAW_OBJ" - CHARACTER field - "Sector Light"
"OBJ_SCALE" - NUMBER field - refers to the multiplicative scaling of the object...each level is 1/8 of normal size. (1-32; 8 is default)
"OBJ_ANGLE" - NUMBER field
"OBJ_ANGLE2" - NUMBER field
"COLOR" - NUMBER field
"BDR_COLOR" - NUMBER field
any other polygon specific fields you want
The extended lines are supposed to be drawn to the extent of the light range but since the object is defined in pixels, those need to be drawn as regular lines and not as a drawing object.