openstreetmap-ng icon indicating copy to clipboard operation
openstreetmap-ng copied to clipboard

"Requested too much data" when checking Map Data in Layers menu

Open Lumikeiju opened this issue 5 months ago • 1 comments

Description: When the "Map Data" checkbox in the Layers menu is checked, a "Requested too much data" popup shows up on every map movement.


Expected behavior: Map data queried at a reasonable zoom level is successfully queried and displayed in an overlay layer.


Steps to reproduce:

  1. Navigate to anywhere on https://www.openstreetmap.ng/
  2. Right-side menu > Layers > Map Overlays > Map Data
Image
  1. Note "Requested too much data." popup, and no map data is loaded
Image

Example query: https://www.openstreetmap.ng/api/web/map?bbox=-122.3416893627048%2C47.655908814033296%2C-122.32613954795153%2C47.65853211407622&limit= Response: {"detail":"Requested too much data"}

Lumikeiju avatar Jul 11 '25 18:07 Lumikeiju

Hello! Because of some last-minute performance issues, the map data layer was reduced to 1k nodes from the default 50k. This will be resolved with the switch to Postgres 18 later this year.

Zaczero avatar Jul 12 '25 09:07 Zaczero