Changeset 15447 in josm for trunk/src/org/openstreetmap/josm/gui/download/OverpassDownloadSource.java
- Timestamp:
- 2019-10-10T12:05:16+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/OverpassDownloadSource.java
r14418 r15447 52 52 */ 53 53 public class OverpassDownloadSource implements DownloadSource<OverpassDownloadSource.OverpassDownloadData> { 54 /** Overpass query to retrieve all nodes and related parent objects, */ 55 public static final String FULL_DOWNLOAD_QUERY = "[out:xml]; \n" 56 + "(\n" 57 + " node({{bbox}});\n" 58 + "<;\n" 59 + ");\n" 60 + "(._;>;);" 61 + "out meta;"; 54 62 55 63 @Override … … 249 257 JOptionPane.YES_OPTION); 250 258 if (doFix) { 251 String repairedQuery = "[out:xml]; \n" 252 + query + "\n" 253 + "(\n" 254 + " node({{bbox}});\n" 255 + "<;\n" 256 + ");\n" 257 + "(._;>;);" 258 + "out meta;"; 259 this.overpassQuery.setText(repairedQuery); 259 this.overpassQuery.setText(FULL_DOWNLOAD_QUERY); 260 260 } else { 261 261 return false;
Note:
See TracChangeset
for help on using the changeset viewer.