Ignore:
Timestamp:
2009-01-20T13:55:33+01:00 (16 years ago)
Author:
stoecker
Message:

fixed texts, added EPSG codes to projection (to fix WMS access)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/Lambert.java

    r1212 r1309  
    122122            } else if (layoutZone != currentZone) {
    123123                if ((currentZone < layoutZone && Math.abs(zoneLimits[currentZone] - lt) > cMaxOverlappingZones)
    124                         || (currentZone > layoutZone && Math.abs(zoneLimits[layoutZone] - lt) > cMaxOverlappingZones)) {
     124                || (currentZone > layoutZone && Math.abs(zoneLimits[layoutZone] - lt) > cMaxOverlappingZones)) {
    125125                    JOptionPane.showMessageDialog(Main.parent,
    126                                     tr("IMPORTANT : data positioned far away from\n"
    127                                             + "the current Lambert zone limits.\n"
    128                                             + "Do not upload any data after this message.\n"
    129                                             + "Undo your last action, Save your work \n"
    130                                             + "and Start a new layer on the new zone."));
     126                    tr("IMPORTANT : data positioned far away from\n"
     127                    + "the current Lambert zone limits.\n"
     128                    + "Do not upload any data after this message.\n"
     129                    + "Undo your last action, save your work\n"
     130                    + "and start a new layer on the new zone."));
    131131                    layoutZone = -1;
    132132                    dontDisplayErrors = true;
     
    157157    @Override public String toString() {
    158158        return tr("Lambert Zone (France)");
     159    }
     160
     161    public String toCode() {
     162        return "EPSG::"+(27571+currentZone);
    159163    }
    160164
Note: See TracChangeset for help on using the changeset viewer.