Changeset 6272 in josm for trunk


Ignore:
Timestamp:
2013-09-30T03:00:04+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #9132 - support xapi_meta Overpass API endpoint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java

    r6248 r6272  
    3939    private static final String PATTERN_OSM_API_URL           = "http://.*/api/0.6/(map|nodes?|ways?|relations?|\\*).*";
    4040    private static final String PATTERN_OVERPASS_API_URL      = "http://.*/interpreter\\?data=.*";
    41     private static final String PATTERN_OVERPASS_API_XAPI_URL = "http://.*/xapi\\?.*\\[@meta\\].*";
     41    private static final String PATTERN_OVERPASS_API_XAPI_URL = "http://.*/xapi(\\?.*\\[@meta\\]|_meta\\?).*";
    4242    private static final String PATTERN_EXTERNAL_OSM_FILE     = "https?://.*/.*\\.osm";
    4343
Note: See TracChangeset for help on using the changeset viewer.