Changeset 8230 in josm


Ignore:
Timestamp:
2015-04-19T09:18:57+02:00 (10 years ago)
Author:
simon04
Message:

see #10867 - Note limit is still 10000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java

    r8218 r8230  
    164164        progressMonitor.beginTask("Downloading notes");
    165165        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.yml
    167         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.");
    168168        CheckParameterUtil.ensureThat(daysClosed >= 0, "Requested note limit is less than 0.");
    169169        String url = "notes?limit=" + noteLimit + "&closed=" + daysClosed + "&bbox=" + lon1 + "," + lat1 + "," + lon2 + "," + lat2;
Note: See TracChangeset for help on using the changeset viewer.