Changeset 15622 in josm
- Timestamp:
- 2019-12-28T15:21:36+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGeoJsonTask.java
r15424 r15622 23 23 24 24 private static final String PATTERN_COMPRESS = "https?://.*/(.*\\.(json|geojson)(\\.(gz|xz|bz2?|zip))?)"; 25 private static final String PATTERN_FORMAT_GEOJSON = "https?://.*format=geojson.*"; 25 26 26 27 @Override 27 28 public String[] getPatterns() { 28 return new String[]{PATTERN_COMPRESS };29 return new String[]{PATTERN_COMPRESS, PATTERN_FORMAT_GEOJSON}; 29 30 } 30 31
Note:
See TracChangeset
for help on using the changeset viewer.