Changeset 35167 in osm for applications/editors


Ignore:
Timestamp:
2019-10-02T22:36:02+02:00 (5 years ago)
Author:
donvip
Message:

fix #josm18192 - Support new building layer name of cadastre WMS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/CadastrePlugin.java

    r34458 r35167  
    169169 * <br>2.9 23-Aug-2017 - use new HTTPS links from French cadastre - requires JOSM 12623+ to load Certigna certificate
    170170 * <br>3.0 30-Sep-2017 - add support for direct access to Cadastre vectorial data (Edigeo files)
     171 * <br>3.1 01-Oct-2019 - Support new building layer name of cadastre WMS (trac #18192)
    171172 */
    172173public class CadastrePlugin extends Plugin {
    173     static String VERSION = "3.0";
     174    static final String VERSION = "3.1";
    174175
    175176    static JMenu cadastreJMenu;
     
    199200    private static boolean menuEnabled = false;
    200201
    201     private static String LAYER_BULDINGS = "CDIF:LS2";
    202     private static String STYLE_BUILDING = "LS2_90";
    203     private static String LAYER_WATER = "CDIF:LS3";
    204     private static String STYLE_WATER = "LS3_90";
    205     private static String LAYER_SYMBOL = "CDIF:LS1";
    206     private static String STYLE_SYMBOL = "LS1_90";
    207     private static String LAYER_PARCELS = "CDIF:PARCELLE";
    208     private static String STYLE_PARCELS = "PARCELLE_90";
    209     private static String LAYER_NUMERO = "CDIF:NUMERO";
    210     private static String STYLE_NUMERO = "NUMERO_90";
    211     private static String LAYER_LABEL = "CDIF:PT3,CDIF:PT2,CDIF:PT1";
    212     private static String STYLE_LABEL = "PT3_90,PT2_90,PT1_90";
    213     private static String LAYER_LIEUDIT = "CDIF:LIEUDIT";
    214     private static String STYLE_LIEUDIT = "LIEUDIT_90";
    215     private static String LAYER_SECTION = "CDIF:SUBSECTION,CDIF:SECTION";
    216     private static String STYLE_SECTION = "SUBSECTION_90,SECTION_90";
    217     private static String LAYER_COMMUNE = "CDIF:COMMUNE";
    218     private static String STYLE_COMMUNE = "COMMUNE_90";
     202    private static final String LAYER_BULDINGS = "CDIF:BATIMENT,CDIF:LS2";
     203    private static final String STYLE_BUILDING = "BATIMENT_90,LS2_90";
     204    private static final String LAYER_WATER = "CDIF:LS3";
     205    private static final String STYLE_WATER = "LS3_90";
     206    private static final String LAYER_SYMBOL = "CDIF:LS1";
     207    private static final String STYLE_SYMBOL = "LS1_90";
     208    private static final String LAYER_PARCELS = "CDIF:PARCELLE";
     209    private static final String STYLE_PARCELS = "PARCELLE_90";
     210    private static final String LAYER_NUMERO = "CDIF:NUMERO";
     211    private static final String STYLE_NUMERO = "NUMERO_90";
     212    private static final String LAYER_LABEL = "CDIF:PT3,CDIF:PT2,CDIF:PT1";
     213    private static final String STYLE_LABEL = "PT3_90,PT2_90,PT1_90";
     214    private static final String LAYER_LIEUDIT = "CDIF:LIEUDIT";
     215    private static final String STYLE_LIEUDIT = "LIEUDIT_90";
     216    private static final String LAYER_SECTION = "CDIF:SUBSECTION,CDIF:SECTION";
     217    private static final String STYLE_SECTION = "SUBSECTION_90,SECTION_90";
     218    private static final String LAYER_COMMUNE = "CDIF:COMMUNE";
     219    private static final String STYLE_COMMUNE = "COMMUNE_90";
    219220
    220221    /**
Note: See TracChangeset for help on using the changeset viewer.