Update of /cvsroot/meshdb/src/geo/make-hgt-qt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31710
Modified Files:
main.c
Log Message:
We only need to add an extra tile width/height once, else we'll end up with
a larger quadtree than we need.
Index: main.c
===================================================================
RCS file: /cvsroot/meshdb/src/geo/make-hgt-qt/main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- main.c 27 Dec 2004 04:13:46 -0000 1.3
+++ main.c 27 Dec 2004 05:52:13 -0000 1.4
@@ -86,8 +86,8 @@
ewmax += 1;
snmax += 1;
- w = RES * (ewmax - ewmin + 1) + 1;
- h = RES * (snmax - snmin + 1) + 1;
+ w = RES * (ewmax - ewmin) + 1;
+ h = RES * (snmax - snmin) + 1;
csz = 1./RES;
nodata = -32768;
|