/*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
guint x_flr = (int)x;
guint y_flr = (int)y;
+ //if (lon == 180 || lon == -180)
+ // g_message("lon=%f w=%d min=%f max=%f dist=%f x=%f rem=%f flr=%d",
+ // lon, w, xmin, xmax, xdist, x, x_rem, x_flr);
+
/* TODO: Fix interpolation at edges:
* - Pad these at the edges instead of wrapping/truncating
* - Figure out which pixels to index (is 0,0 edge, center, etc) */
static void _free_tile(GisTile *tile, gpointer _self)
{
GisPluginSrtm *self = _self;
- g_debug("GisPluginSrtm: _free_tile: %p=%d", tile->data, *(guint*)tile->data);
+ g_debug("GisPluginSrtm: _free_tile: %p", tile->data);
g_idle_add_full(G_PRIORITY_LOW, _free_tile_cb, tile->data, NULL);
}