Changeset 14049 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-07-25T10:37:36+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r13763 r14049 65 65 protected Bounds bounds; 66 66 private double metersPerUnitWMTS; 67 /** 68 * Starting in PROJ 4.8.0, the {@code +axis} argument can be used to control the axis orientation of the coordinate system. 69 * The default orientation is "easting, northing, up" but directions can be flipped, or axes flipped using 70 * combinations of the axes in the {@code +axis} switch. The values are: {@code e} (Easting), {@code w} (Westing), 71 * {@code n} (Northing), {@code s} (Southing), {@code u} (Up), {@code d} (Down); 72 * Examples: {@code +axis=enu} (the default easting, northing, elevation), {@code +axis=neu} (northing, easting, up; 73 * useful for "lat/long" geographic coordinates, or south orientated transverse mercator), {@code +axis=wnu} 74 * (westing, northing, up - some planetary coordinate systems have "west positive" coordinate systems) 75 * @apiNote https://proj4.org/usage/projections.html#axis-orientation 76 */ 67 77 private String axis = "enu"; // default axis orientation is East, North, Up 68 78 … … 725 735 public boolean switchXY() { 726 736 // TODO: support for other axis orientation such as West South, and Up Down 737 // +axis=neu 727 738 return this.axis.startsWith("ne"); 728 739 }
Note:
See TracChangeset
for help on using the changeset viewer.