Changeset 28088 in osm for applications/editors/josm/plugins/opendata/modules/fr.lemans/src
- Timestamp:
- 2012-03-15T13:59:12+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/LeMansModule.java
r28087 r28088 18 18 import org.openstreetmap.josm.plugins.opendata.core.modules.AbstractModule; 19 19 import org.openstreetmap.josm.plugins.opendata.core.modules.ModuleInformation; 20 import org.openstreetmap.josm.plugins.opendata.modules.fr.lemans.datasets.CantonsSartheHandler; 20 21 import org.openstreetmap.josm.plugins.opendata.modules.fr.lemans.datasets.ServicesCommunautairesMunicipauxHandler; 21 22 … … 25 26 super(info); 26 27 handlers.add(new ServicesCommunautairesMunicipauxHandler()); 28 handlers.add(new CantonsSartheHandler()); 27 29 } 28 30 } -
applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/datasets/LeMansDataSetHandler.java
r28087 r28088 107 107 List<Pair<String, URL>> result = new ArrayList<Pair<String,URL>>(); 108 108 try { 109 if (csvUuid != null && !csvUuid.isEmpty()) result.add(new Pair<String, URL>("CSV", new URL(PORTAL + "download.do?uuid=" + csvUuid))); 109 //if (csvUuid != null && !csvUuid.isEmpty()) result.add(new Pair<String, URL>("CSV", new URL(PORTAL + "download.do?uuid=" + csvUuid))); 110 110 if (kmzUuid != null && !kmzUuid.isEmpty()) result.add(new Pair<String, URL>("KMZ", new URL(PORTAL + "download.do?uuid=" + kmzUuid))); 111 111 if (shpUuid != null && !shpUuid.isEmpty()) result.add(new Pair<String, URL>("SHP", new URL(PORTAL + "download.do?uuid=" + shpUuid))); -
applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/datasets/ServicesCommunautairesMunicipauxHandler.java
r28087 r28088 17 17 18 18 import org.openstreetmap.josm.data.osm.DataSet; 19 import org.openstreetmap.josm.data.osm.Node; 19 20 20 21 public class ServicesCommunautairesMunicipauxHandler extends LeMansDataSetHandler { … … 33 34 @Override 34 35 public void updateDataSet(DataSet ds) { 35 // TODO Auto-generated method stub 36 for (Node n : ds.getNodes()) { 37 replace(n, "NOM", "name"); 38 } 36 39 } 37 40 }
Note:
See TracChangeset
for help on using the changeset viewer.