hotosm / osm-export-tool

Web service to download customised OSM data in various file formats
http://export.hotosm.org/
BSD 3-Clause "New" or "Revised" License
144 stars 46 forks source link

NameError: name 'idx' is not defined #440

Closed sentry-io[bot] closed 1 year ago

sentry-io[bot] commented 1 year ago

Sentry Issue: EXPORT-TOOL-2-PROD-L0-17

NameError: name 'idx' is not defined
  File "api/views.py", line 334, in stats
    result = next(idx.nearest((centroid.x,centroid.y),1,objects=True))

NameError: name 'idx' is not defined