OpenStreetMap

Custom Buttons in JOSM

Posted by Anna_AG on 29 December 2010 in 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: Village Olympique, Secteur 6, Grenoble, Isère, Auvergne-Rhône-Alpes, Metropolitan France, 38100, France

Discussion

Comment from asciipip 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".

Comment from Anna_AG 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

-

-

-

-

-

-

-

Log in to leave a comment