[josm-dev] Small patch for "Align nodes in circle" issue with other projections
Pieren
pieren3 at gmail.com
Sun Dec 21 13:50:19 GMT 2008
Dear Josm-dev,
Could you please apply the following small patch fixing the issue of
the function "align nodes in circle" not working when the current
projection is Lambert (or any projection not supporting "new
LatLon(0,0)") ?
In class AlignInCircleAction.java,
replace this:
if (center == null) {
center = new Node(new LatLon(0, 0));
Node n0, n1, n2, prvni, druhy;
by:
if (center == null) {
center = new Node(new LatLon(0, 0));
center.eastNorth = new EastNorth(0, 0); // to be
independent of projection
Node n0, n1, n2;
Thank you to matthew-osm at newtoncomputing.co.uk who suggested this
short solution some time ago.
Pieren
More information about the josm-dev
mailing list