wiki:Styles/ColourGPSData
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

Last modified 5 years ago Last modified on 2019-11-20T16:55:04+01:00
Note: See TracWiki for help on using the wiki.