Changeset 34196 in osm for applications/editors/josm/plugins/opendata
- Timestamp:
- 2018-05-17T21:08:31+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/OdConstants.java
r34018 r34196 34 34 35 35 public static final String PREF_OAPI = "opendata.oapi"; 36 public static final String DEFAULT_OAPI = "http ://www.overpass-api.de/api/interpreter?";36 public static final String DEFAULT_OAPI = "https://www.overpass-api.de/api/interpreter?"; 37 37 38 38 public static final String PREF_XAPI = "opendata.xapi"; 39 public static final String DEFAULT_XAPI = "http ://www.overpass-api.de/api/xapi?";39 public static final String DEFAULT_XAPI = "https://www.overpass-api.de/api/xapi?"; 40 40 41 41 public static final String PREF_RAWDATA = "opendata.rawdata"; … … 50 50 public static final String PREF_MODULES = "opendata.modules"; 51 51 public static final String PREF_MODULES_SITES = "opendata.modules.sites"; 52 public static final String OSM_SITE = "http ://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/";52 public static final String OSM_SITE = "https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/"; 53 53 public static final String[] DEFAULT_MODULE_SITES = {OSM_SITE + "modules.txt%<?modules=>"}; 54 54 -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/be/BelgianConstants.java
r32545 r34196 9 9 * Portal 10 10 */ 11 String BELGIAN_PORTAL = "http ://data.gov.be/"+OdConstants.PATTERN_LANG+"/dataset/";11 String BELGIAN_PORTAL = "https://data.gov.be/"+OdConstants.PATTERN_LANG+"/dataset/"; 12 12 13 13 /** -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/fr/FrenchConstants.java
r32545 r34196 7 7 * Portal 8 8 */ 9 String FRENCH_PORTAL = "http ://www.data.gouv.fr/";9 String FRENCH_PORTAL = "https://www.data.gouv.fr/"; 10 10 11 11 /** -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/InputStreamReaderUnbuffered.java
r30575 r34196 12 12 /** 13 13 * An InputStreamReader that only consumes as many bytes as is necessary. 14 * It does not do any read-ahead. From http ://stackoverflow.com/q/2631507/225717214 * It does not do any read-ahead. From https://stackoverflow.com/q/2631507/2257172 15 15 */ 16 16 public class InputStreamReaderUnbuffered extends Reader { 17 17 18 18 private final CharsetDecoder charsetDecoder; 19 19 private final InputStream inputStream; … … 59 59 } 60 60 61 @Override 61 62 public int read(char[] cbuf, int off, int len) throws IOException { 62 63 for (int i = 0; i < len; i++) { … … 72 73 } 73 74 75 @Override 74 76 public void close() throws IOException { 75 77 inputStream.close(); -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/ShpReader.java
r34017 r34196 188 188 } else { 189 189 String path = file.getAbsolutePath(); 190 // See http ://gis.stackexchange.com/a/3663/17245190 // See https://gis.stackexchange.com/a/3663/17245 191 191 path = path.substring(0, path.lastIndexOf('.')) + ".cpg"; 192 192 Path cpg = new File(path).toPath(); -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/licenses/LOOL.java
r30723 r34196 6 6 7 7 public class LOOL extends License { 8 9 //public static final String URL_FR = "http ://www.data.gouv.fr/Licence-Ouverte-Open-Licence";10 8 9 //public static final String URL_FR = "https://www.etalab.gouv.fr/licence-ouverte-open-licence"; 10 11 11 public LOOL() { 12 12 setIcon(OdUtils.getImageIcon(OdConstants.ICON_LOOL_48, true)); -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/licenses/ODbL.java
r30723 r34196 5 5 6 6 public class ODbL extends License { 7 8 //public static final String URL = "http ://opendatacommons.org/licenses/odbl/1-0";9 //public static final String SUMMARY_URL = "http ://opendatacommons.org/licenses/odbl/summary";10 //public static final String URL_FR = "http ://vvlibri.org/fr/licence/odbl/10/fr/legalcode#La_Licence_ODbL";7 8 //public static final String URL = "https://opendatacommons.org/licenses/odbl/1-0"; 9 //public static final String SUMMARY_URL = "https://opendatacommons.org/licenses/odbl/summary"; 10 //public static final String URL_FR = "https://vvlibri.org/fr/licence/odbl-10/legalcode/unofficial"; 11 11 //public static final String SUMMARY_URL_FR = "http://vvlibri.org/fr/licence/odbl/10/fr"; 12 12 13 13 public ODbL() { 14 14 for (String lang : new String[]{"", "fr"}) { -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ModuleListParser.java
r32545 r34196 16 16 * A parser for the module list provided by an opendata Module Download Site. 17 17 * 18 * See <a href="http ://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a>18 * See <a href="https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a> 19 19 * for a sample of the document. The format is a custom format, kind of mix of CSV and RFC822 style 20 20 * name/value-pairs. … … 49 49 * Parses a module information document and replies a list of module information objects. 50 50 * 51 * See <a href="http ://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a>51 * See <a href="https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a> 52 52 * for a sample of the document. The format is a custom format, kind of mix of CSV and RFC822 style 53 53 * name/value-pairs. -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ReadLocalModuleInformationTask.java
r34151 r34196 32 32 * <li>.jar.new-files, assuming that these are downloaded but not yet installed modules</li> 33 33 * <li>cached lists of available modules, downloaded for instance from 34 * <a href="http ://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a></li>34 * <a href="https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a></li> 35 35 * </ul> 36 36 */
Note:
See TracChangeset
for help on using the changeset viewer.