Ignore:
Timestamp:
2017-09-08T22:02:38+02:00 (7 years ago)
Author:
bastiK
Message:

closes #15273, see #15229, see #15182 - add command line interface module for projections

  • run josm project --help to see the options
  • extracts parser from LatLon and CustomProjection into LatLonParser
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/LatLonDialog.java

    r12735 r12792  
    2727import org.openstreetmap.josm.data.coor.LatLon;
    2828import org.openstreetmap.josm.data.coor.conversion.CoordinateFormatManager;
     29import org.openstreetmap.josm.data.coor.conversion.LatLonParser;
    2930import org.openstreetmap.josm.gui.ExtendedDialog;
    3031import org.openstreetmap.josm.gui.util.WindowGeometry;
     
    245246        LatLon latLon;
    246247        try {
    247             latLon = LatLon.parse(tfLatLon.getText());
     248            latLon = LatLonParser.parse(tfLatLon.getText());
    248249            if (!LatLon.isValidLat(latLon.lat()) || !LatLon.isValidLon(latLon.lon())) {
    249250                latLon = null;
Note: See TracChangeset for help on using the changeset viewer.