wiki:Styles/LexxPlussStyle

Version 10 (modified by MasayaAso, 2 years ago) ( diff )

Update for safety area

LexxPluss Style

The code

meta {
    title: "LexxPluss Style";
    description: "LexxPluss style to be unicorn";
    version: "0.2.12_2022-11-03";
    author: "Yasuyuki Miura & Masaya Aso";
    link: "https://josm.openstreetmap.de/wiki/Styles/LexxPlussStyle";
}


node[agv_node_id]
{ 
  symbol-shape: circle; 
  symbol-size: +1; 
  symbol-fill-color: green;

  text: agv_node_id;
  text-color: white;
  text-position: center;
  text-offset: 0;
  text-halo-radius: 3;
  text-halo-color:green;
  text-halo-opacity:0.6;
  font-size: 15;
}

way[oneway=yes]
{
  width: 1;
  color: orange;
  dashes: 3,3;
}

way[oneway=no]
{
  width: 1;
  color: red;
  dashes: 3,3;
}

way[line_info=goal_pose]
{
  width: 3;
  color: blue;
}

way[goal_id]
{
 text:goal_id;
 text-color: white;
 text-offset: 10;
 text-halo-radius: 3;
 text-halo-color:blue;
 text-halo-opacity:0.6;
 font-size: 15;
}

way[line_info=agv_pose]
{       
  width: 3;
  color: green;
}

area[area_name]
{
  text: area_name;
  text-color: white;
  text-position: center;
  text-offset: 0;
  text-halo-radius: 3;
  text-halo-color:blue;
  text-halo-opacity:0.6;
  font-size: 15;
}

/* Safety Area */
area[front_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}
area[front_left_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}
area[front_right_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}
area[rear_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}
area[rear_left_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}
area[rear_right_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}
area[side_left_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}
area[side_right_safety]{
  fill-color: red;
  fill-opacity: 0.05;
}

/* Booking Area */
area[area_info=sync_area]
{
  fill-color: darkblue;
  fill-opacity: 0.1;
}

area[area_base=movable][area_info!=sync_area][!front_safety][!front_left_safety][!front_right_safety][!rear_safety][!rear_left_safety][!rear_right_safety][!side_left_safety][!side_right_safety]
{
  fill-color: #9998F5;
  fill-opacity: 0.2;
}

Styles_LexxPlussStyle-style.mapcss, Styles_LexxPlussStyle.zip

If you have questions or remarks, you can reach me via [lexxpluss.com]

Note: See TracWiki for help on using the wiki.