wiki:Styles/ColourGPSData

Version 2 (modified by stoecker, 4 years ago) ( diff )

Support newer JOSM versions

meta {
    title: "Colour GPS data";
    description: "Display points according to GPS status (needs conversion of GPX layer to OSM).";
    author: "Dirk Stöcker, René Lange";
    version: "1.3_2019-11-20";
}

setting::color_fix {
  type: boolean;
  label: tr("Colorize fix status");
  default: true;
}

node["fix"="rtk"][setting("color_fix")]{
    symbol-shape: circle;
    symbol-size: 8;
    symbol-fill-color: green;
}

node["fix"="float rtk"][setting("color_fix")]{
    symbol-shape: circle;
    symbol-size: 8;
    symbol-fill-color: yellow;
}

node["fix"="dgps"][setting("color_fix")]{
    symbol-shape: triangle;
    symbol-size: 10;
    symbol-fill-color: red;
}

node["fix"="3d"][setting("color_fix")]{
    symbol-shape: triangle;
    symbol-size: 10;
    symbol-fill-color: gray;
}

node["fix"="2d"][setting("color_fix")]{
    symbol-shape: triangle;
    symbol-size: 10;
    symbol-fill-color: gray;
}

# newer JOSM versions

node["gpx:fix"="rtk"][setting("color_fix")]{
    symbol-shape: circle;
    symbol-size: 8;
    symbol-fill-color: green;
}

node["gpx:fix"="float rtk"][setting("color_fix")]{
    symbol-shape: circle;
    symbol-size: 8;
    symbol-fill-color: yellow;
}

node["gpx:fix"="dgps"][setting("color_fix")]{
    symbol-shape: triangle;
    symbol-size: 10;
    symbol-fill-color: red;
}

node["gpx:fix"="3d"][setting("color_fix")]{
    symbol-shape: triangle;
    symbol-size: 10;
    symbol-fill-color: gray;
}

node["gpx:fix"="2d"][setting("color_fix")]{
    symbol-shape: triangle;
    symbol-size: 10;
    symbol-fill-color: gray;
}

Styles_ColourGPSData-style.mapcss, Styles_ColourGPSData.zip

Note: See TracWiki for help on using the wiki.