Changeset 769 in josm for trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
- Timestamp:
- 2008-08-11T22:04:37+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
r627 r769 98 98 Main.pleaseWaitDlg.currentAction.setText(tr("Downloading OSM data...")); 99 99 final DataSet data = OsmReader.parseDataSet(in, null, Main.pleaseWaitDlg); 100 /* 101 * We're not doing this here anymore as the API now properly sets a bounds element 102 * which will get parsed. 100 103 String origin = Main.pref.get("osm-server.url")+"/"+Main.pref.get("osm-server.version", "0.5"); 101 104 Bounds bounds = new Bounds(new LatLon(lat1, lon1), new LatLon(lat2, lon2)); 102 105 DataSource src = new DataSource(bounds, origin); 103 106 data.dataSources.add(src); 107 */ 104 108 in.close(); 105 109 activeConnection = null;
Note:
See TracChangeset
for help on using the changeset viewer.