Changeset 9571 for src/django_gheat/wlheatmap/tile.py
- Timestamp:
- Aug 25, 2011, 3:09:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/tile.py
r9549 r9571 203 203 }) 204 204 # Limit such that high level zooms does not get the whole database 205 metingen = Meting.objects.filter(**filter) [:1000].values_list('latitude', 'longitude', 'signaal')205 metingen = Meting.objects.filter(**filter).order_by('?')[:1000].values_list('latitude', 'longitude', 'signaal') 206 206 207 207 # XXX: Signal is not normalized in the database making it unknown when a
Note:
See TracChangeset
for help on using the changeset viewer.