Ignore:
Timestamp:
2010-04-07T19:53:12+02:00 (16 years ago)
Author:
pieren
Message:

Add the modified projection for the french DOM "La Réunion".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionLoadFromCache.java

    r19928 r20824  
    1313import org.openstreetmap.josm.data.projection.Lambert;
    1414import org.openstreetmap.josm.data.projection.LambertCC9Zones;
    15 import org.openstreetmap.josm.data.projection.UTM_20N_France_DOM;
     15import org.openstreetmap.josm.data.projection.UTM_France_DOM;
    1616import org.openstreetmap.josm.gui.layer.Layer;
    1717
     
    4040                    !(Main.proj instanceof LambertCC9Zones))
    4141                    || (ext.length() == 4 && ext.substring(0, CacheControl.cUTM20N.length()).equals(CacheControl.cUTM20N) &&
    42                             !(Main.proj instanceof UTM_20N_France_DOM))
     42                            !(Main.proj instanceof UTM_France_DOM))
    4343                    || (ext.length() == 1) && !(Main.proj instanceof Lambert)) {
    4444                        JOptionPane.showMessageDialog(Main.parent, tr("{0} not allowed with the current projection", filename), tr("Error"), JOptionPane.ERROR_MESSAGE);
     
    9393            else if (Main.proj instanceof LambertCC9Zones)
    9494                fc.addChoosableFileFilter(CacheFileLambert9ZoneFilter.filters[layoutZone]);
    95             else if (Main.proj instanceof UTM_20N_France_DOM)
     95            else if (Main.proj instanceof UTM_France_DOM)
    9696                fc.addChoosableFileFilter(CacheFileUTM20NFilter.filters[layoutZone]);
    9797        }
     
    111111        else if (Main.proj instanceof Lambert)
    112112            zone = ((Lambert)Main.proj).getLayoutZone();
    113         else if (Main.proj instanceof UTM_20N_France_DOM)
    114             zone = ((UTM_20N_France_DOM)Main.proj).getCurrentGeodesic();
     113        else if (Main.proj instanceof UTM_France_DOM)
     114            zone = ((UTM_France_DOM)Main.proj).getCurrentGeodesic();
    115115        return zone;
    116116    }
Note: See TracChangeset for help on using the changeset viewer.