Changeset 4579 in josm
- Timestamp:
- 2011-11-06T00:15:31+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r4530 r4579 72 72 @Override 73 73 public boolean acceptsUrl(String url) { 74 return url != null && url.matches("http://.*/api/0.6/(map|nodes?|ways?|relations?).*"); 74 return url != null && ( 75 url.matches("http://.*/api/0.6/(map|nodes?|ways?|relations?).*") // OSM API 0.6 76 || url.matches("http://.*/xapi\\?.*\\[@meta\\]") // Overpass API XAPI compatibility layer 77 ); 75 78 } 76 79
Note:
See TracChangeset
for help on using the changeset viewer.