- Timestamp:
- May 10, 2011, 12:12:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/website/tile.py
r9171 r9172 219 219 lon_min = min(lon_min, meting.longitude) 220 220 lon_max = max(lon_max, meting.longitude) 221 xcoord = dif(nw_deg.lon,meting.longitude) / (resolution_deg.lon)222 ycoord = dif(nw_deg.lat,meting.latitude) / (resolution_deg.lat)221 xcoord = int(dif(nw_deg.lon,meting.longitude) / (resolution_deg.lon)) 222 ycoord = int(dif(nw_deg.lat,meting.latitude) / (resolution_deg.lat)) 223 223 log.info(meting.accespoint.ssid, meting.latitude, meting.longitude, xcoord, ycoord) 224 224
Note:
See TracChangeset
for help on using the changeset viewer.