Changeset 29026 in osm for applications


Ignore:
Timestamp:
2012-12-03T22:39:01+01:00 (12 years ago)
Author:
donvip
Message:

fix #josm8248

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java

    r28953 r29026  
    2020        super(info);
    2121        initJAI();
     22        initGeoTools();
    2223        checkEPSG();
    2324    }
     
    6263        }
    6364    }
     65   
     66    private void initGeoTools() {
     67        // Force Axis order. Fix #8248
     68        // See http://docs.geotools.org/stable/userguide/library/referencing/order.html
     69        System.setProperty("org.geotools.referencing.forceXY", "true");
     70    }
    6471
    6572    private void checkEPSG() {
Note: See TracChangeset for help on using the changeset viewer.