OpenStreetMap

Custom Buttons in JOSM

Posted by bri g on 29 December 2010 in English (English)

With the new BING imagery I have been working in a number of towns and areas that have opened up.

My method of working is to draw a number of roads, then press SHIFT, select them all and tag them appropriately ( ie residential / unclassified etc ).

I have set up two buttons in JOSM which are shortcuts for Tag: Residential Tag Unclassified which is fine, but I then have to manually add the tag source = BING ( which I can do with the entire group.

What I would really like a button which tags the road as a Residential ( etc )with source=BING, a custom button which you can drag and drop the properties you need into it. Of course there may be many other potential uses for such functionality.

What are the chances? It would certainly speed up the tagging and remove potential errors especially when doing a lot of work as BING has now given us a new opportunity to do.

Cheers bri

Location: Clos des Javaux, Eybens, Grenoble, Isère, Rhône-Alpes, Metropolitan France, 38320, France

Comment from asciiphil on 29 December 2010 at 20:50

You can write an XML file to add your own presets, which you can then put on the button bar. See http://josm.openstreetmap.de/wiki/TaggingPresets .

I use the USGS's high resolution orthophotography for alignment a lot, so I added a button that just sets the tag "source=USGS Ortho".

Hide this comment

Comment from bri g on 3 January 2011 at 23:14

Thanks to asciiphil - I created my wn custom XML file with a base from Dirk Stöcker - many thanks

I created 4 buttons in JOSM for Unclassified Resedential roads etc, but all with the added tag, source=BING.

These buttons have dramtically improved my productivity, a real bonus attached is the XML file I am using - all you will need to do is create some 16x16 pixel PNG files for buttons ( use MS Paint etc )( I am a Win 7 user, so modify paths as needed )

XML file as below

-

-

-

-

-

-

-

Hide this comment

Leave a comment

Parsed with Markdown

  • Headings

    # Heading
    ## Subheading

  • Unordered list

    * First item
    * Second item

  • Ordered list

    1. First item
    2. Second item

  • Link

    [Text](URL)
  • Image

    ![Alt text](URL)

Login to leave a comment