Giter Club home page Giter Club logo

josm_quicklabel's Introduction

JOSM QuickLabel Plugin

This plugin shows specified tags next to objects.

日本語

After installation, you can call the label customization dialog by choosing "View" > "QuickLabel" or shortcut Command+Shift+L. You can assign it to another key by JOSM preferences.

Note: The menu had been located in "Data" menu in very early versions.

Screenshot

Basic usage

You can set "main" and "sub" tags. You can specify multiple tags by writing into multiple lines in the order of descending priorities.

Your customization is applied by clicking "Apply" button. Sometimes it takes a few seconds to custom labels are displayed. You can switch to JOSM's usual mode by clicking "Reset" button.

Formatted labels

Tags placed between curly braces ("{" and "}") are replaced with values of corresponding tags.

Examples

  • If a line "{level}F" is applied to an object with "level=3" tag, its label will be "3F".
  • If a line "s={smoking} w={wheelchair}" is applied to a restaurants with "wheelchair=yes, smoking=no" tags, its label will be "s=no w=yes".
  • If a line "{fire_hydrant:type}/{ref}" is applied to a fire hydrant with "fire_hydrang:type=underground, ref=221-14" tags, its label will be "underground/221-14".
  • A line "{fire_hydrant:type}/{ref}" doesn't match an object has a "fire_hydrant:type" and no "ref".

Example of custom format

Options

There are some options.

Options

Show key-value pairs

Off On
Off On

Always show sub tag with parentheses

Apply on startup

This plugin is useful when...

  • You want to complete "cuisine" tags of all restaurants in your town
  • You are interested in "surface" or values more than "capacity" of parking areas
  • You review roads' details by comparing surface, sidewalks and maxspeed values
  • You want to edit multi-language tags by temporarily boosting priority of name:*

Developer

josm_quicklabel's People

Contributors

don-vip avatar floscher avatar maripo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.