[OSM-dev] [Josm] [patch] JOSM 0.5 smart add node tool

Francisco R. Santos frsantos at gmail.com
Thu Sep 27 09:40:11 BST 2007


I get an exception when execution the jar:

    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file

It seems that it is compiled for Java 6. Could you compile it for java 5?

Regards,
Quico

2007/9/27, Robert Hart <bathterror at gmail.com>:
>
> In the spirit of release early, release often, I am sharing here some
> ideas I have been playing with for JOSM.
>
> Basically, I have implemented "object snaps" for the add node tool.
> The supported snap types are:
>
> * none
> * node
> * waysegment
> * waysegment intersection
> * waysegment mid-point
> * waysegment perpendicular point (only if a single node is already
> selected)
>
> Feedback is provided by changing the cursor to show the snap type.
> Snaps are disabled by holding the control key.
>
> The add node tool has been modified to:
>
> * insert a node into the segment if a waysegment-type snap occurs
> * select a node if a node snap occurs
> * create a new node otherwise.
>
> This makes the "insert node" tool superfluous. It also means the "add
> node and connect" tool can do everything that the "connect nodes" tool
> can do.
>
> For the time being I've removed the superfluous "insert node" mode,
> but left the "connect nodes" tool in place, as they feel slightly
> different (drag-vs-multiple clicks), but ideally I'd like to get rid
> of it.
>
> It'd be great to get some feedback.
>
> compiled jar at: http://www.bathterror.free-online.co.uk/josm-custom.jar
>
> (note I'm working against the 0.5 branch)
>
> Rob
>
> --
> --
> Robert Hart
>
> _______________________________________________
> Josm mailing list
> Josm at eigenheimstrasse.de
> http://www.eigenheimstrasse.de/cgi-bin/mailman/listinfo/josm
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070927/ec0d7429/attachment.html>


More information about the dev mailing list