Changeset 8230 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2015-04-19T09:18:57+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java
r8218 r8230 164 164 progressMonitor.beginTask("Downloading notes"); 165 165 CheckParameterUtil.ensureThat(noteLimit > 0, "Requested note limit is less than 1."); 166 // see max_number_of_nodes in https://github.com/openstreetmap/openstreetmap-website/blob/master/config/example.application.yml167 CheckParameterUtil.ensureThat(noteLimit <= 50000, "Requested note limit is over API hard limit of 50000.");166 // see result_limit in https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/notes_controller.rb 167 CheckParameterUtil.ensureThat(noteLimit <= 10000, "Requested note limit is over API hard limit of 10000."); 168 168 CheckParameterUtil.ensureThat(daysClosed >= 0, "Requested note limit is less than 0."); 169 169 String url = "notes?limit=" + noteLimit + "&closed=" + daysClosed + "&bbox=" + lon1 + "," + lat1 + "," + lon2 + "," + lat2;
Note:
See TracChangeset
for help on using the changeset viewer.