Changeset 28980 in osm for applications


Ignore:
Timestamp:
2012-11-25T00:14:11+01:00 (12 years ago)
Author:
donvip
Message:

[josm_opendata] Data.gouv.fr: fix GeoFLA URLs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/modules/fr.datagouvfr/src/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/administration/GeoFlaHandler.java

    r28113 r28980  
    3939                getShpHandler().setPreferMultipolygonToSimpleWay(true);
    4040                try {
    41                         setLocalPortalURL("http://professionnels.ign.fr/ficheProduitCMS.do?idDoc=6185461");
     41                        setLocalPortalURL("http://professionnels.ign.fr/geofla#tab-3");
    4242                } catch (MalformedURLException e) {
    4343                        e.printStackTrace();
     
    195195       
    196196        private Pair<String, URL> getGeoflaURL(String name, String urlSuffix) throws MalformedURLException {
    197                 return new Pair<String, URL>(name, new URL("http://professionnels.ign.fr/DISPLAY/000/"+urlSuffix));
     197                return new Pair<String, URL>(name, new URL("http://professionnels.ign.fr/sites/default/files/"+urlSuffix));
    198198        }
    199199
     
    205205                List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>();
    206206                try {
    207                         result.add(getGeoflaURL("Départements France métropolitaine et Corse", "528/175/5281750/GEOFLADept_FR_Corse_AV_L93.zip"));
    208                         result.add(getGeoflaURL("Départements France entière",                 "528/175/5281754/FR_DOM_Mayotte_shp_WGS84.zip"));
     207                        result.add(getGeoflaURL("Départements France métropolitaine et Corse", "GEOFLADept_FR_Corse_AV_L93.zip"));
     208                        result.add(getGeoflaURL("Départements France entière",                 "FR_DOM_Mayotte_shp_WGS84.zip"));
    209209                        // FIXME: tar.gz files
    210210                        /*result.add(getGeoflaURL("Communes France métropolitaine", "531/266/5312664/GEOFLA_1-1_SHP_LAMB93_FR-ED111.tar.gz"));
Note: See TracChangeset for help on using the changeset viewer.