Changeset 32897 in osm for applications/editors/josm/plugins/opendata
- Timestamp:
- 2016-09-02T20:40:51+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/opendata/modules
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/be.bruxelles/src/org/openstreetmap/josm/plugins/opendata/modules/be/bruxelles/BruxellesConstants.java
r30731 r32897 2 2 package org.openstreetmap.josm.plugins.opendata.modules.be.bruxelles; 3 3 4 public interface BruxellesConstants { 4 5 5 public interface BruxellesConstants {6 7 6 /** 8 7 * Source 9 8 */ 10 public static finalString SOURCE_BRUXELLES = "Ville de Bruxelles";11 9 String SOURCE_BRUXELLES = "Ville de Bruxelles"; 10 12 11 /** 13 12 * Portal 14 13 */ 15 public static finalString PORTAL_EN = "http://www.brussels.be";16 public static finalString PORTAL_FR = "http://www.bruxelles.be";17 public static finalString PORTAL_NL = "http://www.brussel.be";14 String PORTAL_EN = "http://www.brussels.be"; 15 String PORTAL_FR = "http://www.bruxelles.be"; 16 String PORTAL_NL = "http://www.brussel.be"; 18 17 } -
applications/editors/josm/plugins/opendata/modules/be.datagovbe/src/org/openstreetmap/josm/plugins/opendata/modules/be/datagovbe/DataGovBeConstants.java
r30731 r32897 2 2 package org.openstreetmap.josm.plugins.opendata.modules.be.datagovbe; 3 3 4 public interface DataGovBeConstants { 4 5 5 public interface DataGovBeConstants {6 7 6 /** 8 7 * Source 9 8 */ 10 public static finalString SOURCE_DATAGOVBE = "data.gov.be";9 String SOURCE_DATAGOVBE = "data.gov.be"; 11 10 } -
applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/datasets/LeMansDataSetHandler.java
r30731 r32897 14 14 15 15 public abstract class LeMansDataSetHandler extends FrenchDataSetHandler implements LeMansConstants { 16 16 17 17 private String kmzUuid; 18 18 private String shpUuid; 19 19 20 20 public LeMansDataSetHandler(String uuid) { 21 21 init(uuid); 22 22 } 23 23 24 24 public LeMansDataSetHandler(String uuid, String relevantTag) { 25 25 super(relevantTag); 26 26 init(uuid); 27 27 } 28 28 29 29 public LeMansDataSetHandler(String uuid, boolean relevantUnion, String ... relevantTags) { 30 30 super(relevantUnion, relevantTags); … … 36 36 } 37 37 38 39 38 public LeMansDataSetHandler(String uuid, boolean relevantUnion, Tag ... relevantTags) { 40 39 super(relevantUnion, relevantTags); … … 42 41 } 43 42 44 private finalvoid init(String uuid) {43 private void init(String uuid) { 45 44 try { 46 45 setLicense(License.ODbL); … … 52 51 } 53 52 } 54 53 55 54 protected final void setKmzShpUuid(String kmzUuid, String shpUuid) { 56 55 this.kmzUuid = kmzUuid; … … 62 61 return SOURCE_LE_MANS; 63 62 } 64 63 65 64 /*@Override 66 65 public URL getLicenseURL() { … … 77 76 List<Pair<String, URL>> result = new ArrayList<>(); 78 77 try { 79 if (kmzUuid != null && !kmzUuid.isEmpty()) result.add(new Pair<>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid))); 80 if (shpUuid != null && !shpUuid.isEmpty()) result.add(new Pair<>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid))); 78 if (kmzUuid != null && !kmzUuid.isEmpty()) 79 result.add(new Pair<>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid))); 80 if (shpUuid != null && !shpUuid.isEmpty()) 81 result.add(new Pair<>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid))); 81 82 } catch (MalformedURLException e) { 82 83 e.printStackTrace(); -
applications/editors/josm/plugins/opendata/modules/fr.paris/src/org/openstreetmap/josm/plugins/opendata/modules/fr/paris/ParisConstants.java
r30731 r32897 2 2 package org.openstreetmap.josm.plugins.opendata.modules.fr.paris; 3 3 4 public interface ParisConstants { 4 5 5 public interface ParisConstants {6 7 6 /** 8 7 * Source 9 8 */ 10 public static finalString SOURCE = "opendataparis";11 9 String SOURCE = "opendataparis"; 10 12 11 /** 13 12 * Portal 14 13 */ 15 public static finalString PORTAL = "http://opendata.paris.fr/opendata/";14 String PORTAL = "http://opendata.paris.fr/opendata/"; 16 15 17 16 /** 18 17 * Icons 19 18 */ 20 public static finalString ICON_PARIS_24 = "data.fr.paris_24.png";19 String ICON_PARIS_24 = "data.fr.paris_24.png"; 21 20 } -
applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/transport/ChantiersLineairesHandler.java
r30340 r32897 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.plugins.opendata.modules.fr.toulouse.datasets.transport; 3 4 3 5 4 public class ChantiersLineairesHandler extends ChantiersHandler {
Note:
See TracChangeset
for help on using the changeset viewer.