<br>Hello !!<br>&nbsp; <br>&nbsp;&nbsp; I am using cygwin 1.5.24 with postgres 8.0.7.<br>&nbsp; <br>&nbsp;when i n initializing the data directory i m having following problem<br><br>&nbsp;<font face="Arial, Helvetica, sans-serif">$ /usr/sbin/initdb -D /usr/local/pgsql/data <br><br>The files belonging to this database system will be owned by user "pawan".<br>This user must also own the server process. <br><br>The database cluster will be initialized with locale C.<br><br>modifica dei permessi sulla directory esistente /usr/local/pgsql/data ... ok<br>creazione directory /usr/local/pgsql/data/global ... ok<br>creazione directory /usr/local/pgsql/data/pg_xlog ... ok <br>creazione directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok<br>creazione directory /usr/local/pgsql/data/pg_clog ... ok<br>creazione directory /usr/local/pgsql/data/pg_subtrans ... ok<br>creazione directory /usr/local/pgsql/data/base ... ok <br>creazione directory /usr/local/pgsql/data/base/1 ... 
 ok<br>creazione directory /usr/local/pgsql/data/pg_tblspc ... ok<br>selecting default max_connections ... sh: line 1:&nbsp; 3576 Bad system call<br>"/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=500 -c max_connections=1 <br>00 template1 &lt; "/dev/null" &gt; "/dev/null" 2&gt;&amp;1<br>sh: line 1:&nbsp; 3796 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=250 -c max_connections=50 template1 &lt; "/dev/null" &gt; "/dev/null <br>" 2&gt;&amp;1<br>sh: line 1:&nbsp; 2580 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=200 -c max_connections=40 template1 &lt; "/dev/null" &gt; "/dev/null<br> " 2&gt;&amp;1<br>sh: line 1:&nbsp; 3092 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=150 -c max_connections=30 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 
 2&gt;&amp;1 <br>sh: line 1:&nbsp; 1028 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=100 -c max_connections=20 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 2&gt;&amp;1<br> sh: line 1:&nbsp; 1616 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=50 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null"<br>&nbsp;2&gt;&amp;1<br>10 <br>selecting default shared_buffers ... sh: line 1:&nbsp; 1416 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "<br>/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=1000 -c max_connections=1<br>0 template1 &lt; "/dev/null" &gt; "/dev/null" 2&gt;&amp;1 <br>sh: line 1:&nbsp; 2492 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=900 -c max_connections=10 template1 &lt; "/dev/null" &gt; 
 "/dev/null<br>" 2&gt;&amp;1<br> sh: line 1:&nbsp;&nbsp; 612 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=800 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 2&gt;&amp;1<br>sh: line 1:&nbsp; 1756 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F <br>-c shared_buffers=700 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 2&gt;&amp;1<br>sh: line 1:&nbsp; 3656 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br> -c shared_buffers=600 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 2&gt;&amp;1<br>sh: line 1:&nbsp; 2156 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=500 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null <br>" 2&gt;&amp;1<br>sh: 
 line 1:&nbsp; 2084 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=400 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null<br> " 2&gt;&amp;1<br>sh: line 1:&nbsp; 1572 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=300 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 2&gt;&amp;1 <br>sh: line 1:&nbsp; 2352 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=200 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 2&gt;&amp;1<br> sh: line 1:&nbsp; 3664 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<br>-c shared_buffers=100 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null<br>" 2&gt;&amp;1<br>sh: line 1:&nbsp;&nbsp; 424 Bad system 
 call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F <br>-c shared_buffers=50 -c max_connections=10 template1 &lt; "/dev/null" &gt; "/dev/null"<br>&nbsp;2&gt;&amp;1<br>50<br> child process is terminated by signal 12<br>initdb: removing data directory "/usr/local/pgsql/data"<br><br><br><br><br><br>I have down the following before initdb command<br><br>1.&nbsp; set CYGWIN=server<br><br>2.&nbsp;&nbsp; /usr/sbin/cygserver.exe &amp;<br><br>and cygrunsrv is not required anymore for 8.0.x versions.<br><br><br>Thanks,<br>&nbsp;&nbsp; Pawan<br></font><br><b><i>grassuser-request@grass.itc.it</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Send grassuser mailing list submissions to<br> grassuser@grass.itc.it<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://grass.itc.it/mailman/listinfo/grassuser<br>or, via email, send a message with subject
 or body 'help' to<br> grassuser-request@grass.itc.it<br><br>You can reach the person managing the list at<br> grassuser-owner@grass.itc.it<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of grassuser digest..."<br><br><br>Today's Topics:<br><br>   1. Benchmarking Grass 4.3, 5.4, 6.0, 6.2 raster commands<br>      (Roy Sanderson)<br>   2. Re: Problem with slope modeling . (Dylan Beaudette)<br>   3. Re: Problem with slope modeling . (Maciej Sieczka)<br>   4. Re: Benchmarking Grass 4.3, 5.4, 6.0, 6.2 raster commands<br>      (Glynn Clements)<br>   5. Re: [GRASS-dev] Re: [GRASS-user] Benchmarking Grass 4.3, 5.4,<br>      6.0, 6.2 raster commands (Helena Mitasova)<br>   6. Re: Problem with slope modeling . (Dylan Beaudette)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 30 Apr 2007 15:28:12 +0000<br>From: Roy Sanderson <R.A.Sanderson@newcastle.ac.uk><br>Subject:
 [GRASS-user] Benchmarking Grass 4.3, 5.4, 6.0, 6.2 raster<br> commands<br>To: grassuser@grass.itc.it<br>Message-ID: &lt;3.0.3.32.20070430152812.009de6b0@popin.ncl.ac.uk&gt;<br>Content-Type: text/plain; charset="us-ascii"<br><br>Hello Everyone<br><br>I've been trying to persuade our users to stop working with Grass 4.3 and<br>Grass 5.4 for some time now, and as I have to upgrade the OS on our<br>applications server have told them that they now have no choice.<br><br>However, a couple of users stated that they preferred to use Grass 4.3 as<br>it was faster, and for large tasks, more stable than the newer versions.  I<br>checked this on a map of 52,000 rows by 28,000 columns and commands like<br>r.mapcalc, r.clump, r.volume operated about 10x faster in Grass 4.3 than<br>the more recent versions.<br><br>This might simply arise from the age of the applications server OS (still<br>running RH7.3), or because I've mis-configured the newer versions of Grass.<br> For example, I did
 not compile Grass 5 or 6 with large-file support<br>enabled, although the file sizes are only around 180Mb, but the speedy<br>performance of 4.3 vs 5.4, 6.0 and 6.2.1 surprised me.  Perhaps there's an<br>additional overhead associated with the introduction of nulls and<br>floating-points, which were major changes from 4.3 to 5.4.  However, the<br>performance difference is still present when working with integer maps.  As<br>I haven't benchmarked versions, and also because personally I only work<br>with Grass version 6, I hadn't spotted the differences until now.<br><br>Has anyone else noticed this issue?<br><br>Many thanks<br>Roy<br>----------------------------------------------------------------------------<br>-------<br>Roy Sanderson<br>Institute for Research on Environment and Sustainability<br>Devonshire Building<br>University of Newcastle<br>Newcastle upon Tyne<br>NE1 7RU<br>United Kingdom<br><br>Tel: +44 191 246 4835<br>Fax: +44 191 246
 4999<br><br>http://www.ncl.ac.uk/environment/<br>r.a.sanderson@newcastle.ac.uk<br><br>----------------------------------------------------------------------------<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 30 Apr 2007 09:03:47 -0700<br>From: Dylan Beaudette <dylan.beaudette@gmail.com><br>Subject: Re: [GRASS-user] Problem with slope modeling .<br>To: grassuser@grass.itc.it<br>Message-ID: &lt;200704300903.47190.dylan.beaudette@gmail.com&gt;<br>Content-Type: text/plain;  charset="utf-8"<br><br>On Monday 30 April 2007 06:01, Radomir wrote:<br>&gt; Dnia 26-03-2007, pon o godzinie 20:30 +1200, Hamish napisaƂ(a):<br>&gt; &gt; &gt; Radomir wrote:<br>&gt; &gt; &gt; &gt; I'm preparing the slope and elevation map from digitised isolines.<br>&gt; &gt; &gt; &gt; I'm using v.surf.rst to do that with the following options:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; v.surf.rst input="izolinie_punkty" layer=1 zcolumn="wysokosc_m_npm"<br>&gt; &gt; &gt;
 &gt; dmax=3.174812 dmin=0.634962 elev="mapa_wystaw" slope="mapa_spadk"<br>&gt; &gt; &gt; &gt; maskmap="maska" zmult=1.0 tension=40. segmax=40 npmin=300<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; The screenshot from small part of resulting map is here:<br>&gt; &gt; &gt; &gt; http://mort.no-ip.org/screen.png<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; On this screen you can see the valley in the center. I expect that<br>&gt; &gt; &gt; &gt; the slope between two isolines on the bottom of the valley will be<br>&gt; &gt; &gt; &gt; similar. But it is changing and gives an effect of "wave" between<br>&gt; &gt; &gt; &gt; isolines.<br>&gt; &gt;<br>&gt; &gt; Mars wrote:<br>&gt; &gt; &gt; I presume the Isolines are representative of Elevation.<br>&gt; &gt;<br>&gt; &gt; and the displayed raster, legend, and profile show the slope.<br>&gt; &gt; it might help to show a profile using the elevation map. (it is hard to<br>&gt; &gt; tell if the slope stays
 monotonically increasing in your profile as<br>&gt; &gt; slope will always be positive)<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; profiler notes:<br>&gt; &gt; - y-scale is ranged to max/min of map, not max/min of profile?<br>&gt; &gt;   ($elevrange from r.univar instead of r.profile in gis.m/profile.tcl)<br>&gt; &gt;   Not sure which is best. Both ways have some merit.<br>&gt; &gt;<br>&gt; &gt; - in your screenshot the axes tick labels are not formatted cleanly.<br>&gt; &gt;   I've just prettified those in CVS, please test.<br>&gt; &gt;<br>&gt; &gt; - BUG: if profile ends outside of the raster map off in NULL-land,<br>&gt; &gt;   the totaldistance calculation is calculated to the end of the arrows,<br>&gt; &gt;   but the end of real data in the plot is stretched to the far right end<br>&gt; &gt;   regardless. e.g.: Zoom out so your raster is a postage stamp sized box<br>&gt; &gt;   in the middle, then make some profiles from map canvas corner to<br>&gt; &gt;  
 corner. The start of the data is positioned ok. Also it should break<br>&gt; &gt;   the plot at NULL data, not draw a line beween the last known good data<br>&gt; &gt;   either side of the NULLs.<br>&gt; &gt;<br>&gt; &gt; - it would be possible to add a title like "Profile for $mapname" at the<br>&gt; &gt;   top of the profile. Is there demand for this? Better to have it in the<br>&gt; &gt;   window title than on the plot itself?<br>&gt; &gt;<br>&gt; &gt; Maciek wrote:<br>&gt; &gt; &gt; I had this problem too when interpolating DEM from contour lines with<br>&gt; &gt; &gt; RST. Try to interploate DEM with r.surf.nnbathy from GRASS WIKI<br>&gt; &gt; &gt; add-ons page and let us know if the artifact hollow between 2 adjacent<br>&gt; &gt; &gt; contour lines still remains. I'm not 100% sure it will help. It might.<br>&gt; &gt;<br>&gt; &gt; v.surf.rst is designed for semi-evenly distributed series of data points<br>&gt; &gt; (at least locally, it is fine for data density to
 smoothly change), not<br>&gt; &gt; contour lines.<br>&gt; &gt;<br>&gt; &gt; running v.to.points + v.surf.rst tends to bias the surface to the<br>&gt; &gt; isolines. Output the treefile= segmentation map and curvature maps to<br>&gt; &gt; see the effect in detail. Also in the GRASS book, if you have access to<br>&gt; &gt; it.<br>&gt; &gt;<br>&gt; &gt; as Maciek wrote, you should get better results with r.surf.nnbathy, or<br>&gt; &gt; you can try r.surf.contour (see hints about that posted in the last day<br>&gt; &gt; or two to this list for r.surf.contour).<br>&gt; &gt;<br>&gt; &gt; You might try r.contour with your output raster map at levels half way<br>&gt; &gt; between your original isolines to get a nice visual check of how the<br>&gt; &gt; interpolation went. (create new contour lines 1/2 way between the<br>&gt; &gt; original ones and overlay them)<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Hamish<br>&gt;<br>&gt; Maciek, Hamish, Mars,<br>&gt; Thank you for
 your comments.<br>&gt;<br>&gt; I've interpolated isolines with use of r.surf.nnbathy:<br>&gt;<br>&gt; r.surf.nnbathy alg=nn input=izolinie output=nn_elevation<br>&gt;<br>&gt; unfortunately, the results are even worse that those which comes from<br>&gt; RST method. After "translating" it into the slope map (r.slope.aspect) I<br>&gt; have the following result:<br>&gt;<br>&gt; http://mort.no-ip.org/grass/indexgrass.html<br>&gt;<br>&gt; As You can see, I still have "waves" between isolines. On the graph you<br>&gt; will find those "waves" really large.<br>&gt;<br>&gt; The r.surf.contour methods gives much worse results then RST (see the<br>&gt; Elevation graph).<br>&gt;<br>&gt; I've run r.contour with my RST output map as Hamish suggested ( see the<br>&gt; last image on the http://mort.no-ip.org/grass/indexgrass.html )<br>&gt;<br>&gt; It was really interesting to analyse the output vector map. It seems<br>&gt; that when the distance between two isolines is "large" GRASS "puts
 the<br>&gt; next isoline" very close to the previous and this is how the "waves"<br>&gt; comes from.<br>&gt;<br>&gt; What sholud I do next?? Please for comments and suggestions.<br>&gt; Best Regards,<br><br>I do not know what is causing this behaviour, but there is a well-documented <br>problem with USGS dem data that causes similar artifacts:<br><br>(see the image at the bottom of the page)<br>http://169.237.35.250/~dylan/gdalwarp/image_matrix.html<br><br>dylan<br><br>-- <br>Dylan Beaudette<br>Soils and Biogeochemistry Graduate Group<br>University of California at Davis<br>530.754.7341<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 30 Apr 2007 19:31:01 +0200<br>From: Maciej Sieczka <tutey@o2.pl><br>Subject: Re: [GRASS-user] Problem with slope modeling .<br>To: dylan.beaudette@gmail.com<br>Cc: grassuser@grass.itc.it<br>Message-ID: &lt;463627D5.8050802@o2.pl&gt;<br>Content-Type: text/plain; charset=ISO-8859-2<br><br>Dylan Beaudette
 wrote:<br>&gt; On Monday 30 April 2007 06:01, Radomir wrote:<br>&gt;&gt; Dnia 26-03-2007, pon o godzinie 20:30 +1200, Hamish napisał(a):<br>&gt;&gt;&gt;&gt; Radomir wrote:<br>&gt;&gt;&gt;&gt;&gt; I'm preparing the slope and elevation map from digitised isolines.<br>&gt;&gt;&gt;&gt;&gt; I'm using v.surf.rst to do that with the following options:<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; v.surf.rst input="izolinie_punkty" layer=1 zcolumn="wysokosc_m_npm"<br>&gt;&gt;&gt;&gt;&gt; dmax=3.174812 dmin=0.634962 elev="mapa_wystaw" slope="mapa_spadk"<br>&gt;&gt;&gt;&gt;&gt; maskmap="maska" zmult=1.0 tension=40. segmax=40 npmin=300<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; The screenshot from small part of resulting map is here:<br>&gt;&gt;&gt;&gt;&gt; http://mort.no-ip.org/screen.png<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; On this screen you can see the valley in the center. I expect that<br>&gt;&gt;&gt;&gt;&gt; the slope between two
 isolines on the bottom of the valley will be<br>&gt;&gt;&gt;&gt;&gt; similar. But it is changing and gives an effect of "wave" between<br>&gt;&gt;&gt;&gt;&gt; isolines.<br>&gt;&gt;&gt; Mars wrote:<br>&gt;&gt;&gt;&gt; I presume the Isolines are representative of Elevation.<br>&gt;&gt;&gt; and the displayed raster, legend, and profile show the slope.<br>&gt;&gt;&gt; it might help to show a profile using the elevation map. (it is hard to<br>&gt;&gt;&gt; tell if the slope stays monotonically increasing in your profile as<br>&gt;&gt;&gt; slope will always be positive)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; profiler notes:<br>&gt;&gt;&gt; - y-scale is ranged to max/min of map, not max/min of profile?<br>&gt;&gt;&gt;   ($elevrange from r.univar instead of r.profile in gis.m/profile.tcl)<br>&gt;&gt;&gt;   Not sure which is best. Both ways have some merit.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; - in your screenshot the axes tick labels are not formatted
 cleanly.<br>&gt;&gt;&gt;   I've just prettified those in CVS, please test.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; - BUG: if profile ends outside of the raster map off in NULL-land,<br>&gt;&gt;&gt;   the totaldistance calculation is calculated to the end of the arrows,<br>&gt;&gt;&gt;   but the end of real data in the plot is stretched to the far right end<br>&gt;&gt;&gt;   regardless. e.g.: Zoom out so your raster is a postage stamp sized box<br>&gt;&gt;&gt;   in the middle, then make some profiles from map canvas corner to<br>&gt;&gt;&gt;   corner. The start of the data is positioned ok. Also it should break<br>&gt;&gt;&gt;   the plot at NULL data, not draw a line beween the last known good data<br>&gt;&gt;&gt;   either side of the NULLs.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; - it would be possible to add a title like "Profile for $mapname" at the<br>&gt;&gt;&gt;   top of the profile. Is there demand for this? Better to have it in the<br>&gt;&gt;&gt;   window title than on the plot
 itself?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Maciek wrote:<br>&gt;&gt;&gt;&gt; I had this problem too when interpolating DEM from contour lines with<br>&gt;&gt;&gt;&gt; RST. Try to interploate DEM with r.surf.nnbathy from GRASS WIKI<br>&gt;&gt;&gt;&gt; add-ons page and let us know if the artifact hollow between 2 adjacent<br>&gt;&gt;&gt;&gt; contour lines still remains. I'm not 100% sure it will help. It might.<br>&gt;&gt;&gt; v.surf.rst is designed for semi-evenly distributed series of data points<br>&gt;&gt;&gt; (at least locally, it is fine for data density to smoothly change), not<br>&gt;&gt;&gt; contour lines.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; running v.to.points + v.surf.rst tends to bias the surface to the<br>&gt;&gt;&gt; isolines. Output the treefile= segmentation map and curvature maps to<br>&gt;&gt;&gt; see the effect in detail. Also in the GRASS book, if you have access to<br>&gt;&gt;&gt; it.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; as Maciek wrote, you should get better
 results with r.surf.nnbathy, or<br>&gt;&gt;&gt; you can try r.surf.contour (see hints about that posted in the last day<br>&gt;&gt;&gt; or two to this list for r.surf.contour).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; You might try r.contour with your output raster map at levels half way<br>&gt;&gt;&gt; between your original isolines to get a nice visual check of how the<br>&gt;&gt;&gt; interpolation went. (create new contour lines 1/2 way between the<br>&gt;&gt;&gt; original ones and overlay them)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hamish<br>&gt;&gt; Maciek, Hamish, Mars,<br>&gt;&gt; Thank you for your comments.<br>&gt;&gt;<br>&gt;&gt; I've interpolated isolines with use of r.surf.nnbathy:<br>&gt;&gt;<br>&gt;&gt; r.surf.nnbathy alg=nn input=izolinie output=nn_elevation<br>&gt;&gt;<br>&gt;&gt; unfortunately, the results are even worse that those which comes from<br>&gt;&gt; RST method. After "translating" it into the slope map (r.slope.aspect)
 I<br>&gt;&gt; have the following result:<br>&gt;&gt;<br>&gt;&gt; http://mort.no-ip.org/grass/indexgrass.html<br>&gt;&gt;<br>&gt;&gt; As You can see, I still have "waves" between isolines. On the graph you<br>&gt;&gt; will find those "waves" really large.<br>&gt;&gt;<br>&gt;&gt; The r.surf.contour methods gives much worse results then RST (see the<br>&gt;&gt; Elevation graph).<br>&gt;&gt;<br>&gt;&gt; I've run r.contour with my RST output map as Hamish suggested ( see the<br>&gt;&gt; last image on the http://mort.no-ip.org/grass/indexgrass.html )<br>&gt;&gt;<br>&gt;&gt; It was really interesting to analyse the output vector map. It seems<br>&gt;&gt; that when the distance between two isolines is "large" GRASS "puts the<br>&gt;&gt; next isoline" very close to the previous and this is how the "waves"<br>&gt;&gt; comes from.<br>&gt;&gt;<br>&gt;&gt; What sholud I do next?? Please for comments and suggestions.<br>&gt;&gt; Best Regards,<br>&gt; <br>&gt; I do not know what is
 causing this behaviour, but there is a well-documented <br>&gt; problem with USGS dem data that causes similar artifacts:<br>&gt; <br>&gt; (see the image at the bottom of the page)<br>&gt; http://169.237.35.250/~dylan/gdalwarp/image_matrix.html<br><br>Dylan,<br><br>Are you sure this is related? The material you mention refers to issues<br>connected with raster DEM re-projection. Radomir is concerned with a<br>comparison of different interpolation methods (with a specific input<br>such as contour lines), in regard to DEM's slope.<br><br>Maybe I'm missing something. Please excuse me and elaborate, if so.<br><br>Best,<br>Maciek<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Mon, 30 Apr 2007 19:17:12 +0100<br>From: Glynn Clements <glynn@gclements.plus.com><br>Subject: Re: [GRASS-user] Benchmarking Grass 4.3, 5.4, 6.0, 6.2 raster<br> commands<br>To: Roy Sanderson <R.A.Sanderson@newcastle.ac.uk><br>Cc: grassuser@grass.itc.it,
 grass-dev@grass.itc.it<br>Message-ID: &lt;17974.12968.328085.755096@cerise.gclements.plus.com&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br><br>[CC to grass-dev]<br><br>Roy Sanderson wrote:<br><br>&gt; I've been trying to persuade our users to stop working with Grass 4.3 and<br>&gt; Grass 5.4 for some time now, and as I have to upgrade the OS on our<br>&gt; applications server have told them that they now have no choice.<br>&gt; <br>&gt; However, a couple of users stated that they preferred to use Grass 4.3 as<br>&gt; it was faster, and for large tasks, more stable than the newer versions.  I<br>&gt; checked this on a map of 52,000 rows by 28,000 columns and commands like<br>&gt; r.mapcalc, r.clump, r.volume operated about 10x faster in Grass 4.3 than<br>&gt; the more recent versions.<br>&gt; <br>&gt; This might simply arise from the age of the applications server OS (still<br>&gt; running RH7.3), or because I've mis-configured the newer versions of
 Grass.<br>&gt;  For example, I did not compile Grass 5 or 6 with large-file support<br>&gt; enabled, although the file sizes are only around 180Mb, but the speedy<br>&gt; performance of 4.3 vs 5.4, 6.0 and 6.2.1 surprised me.  Perhaps there's an<br>&gt; additional overhead associated with the introduction of nulls and<br>&gt; floating-points, which were major changes from 4.3 to 5.4.  However, the<br>&gt; performance difference is still present when working with integer maps.  As<br>&gt; I haven't benchmarked versions, and also because personally I only work<br>&gt; with Grass version 6, I hadn't spotted the differences until now.<br><br>I strongly suspect that the support for nulls is to blame. The<br>implementation is really quite inefficient in several ways.<br><br>It doesn't help that the null file is repeatedly opened and closed<br>(the null bitmap is read in chunks of 8 rows at a time, with the file<br>being opened anew for each read). Depending upon the speed
 of<br>filesystem calls (open(), access() etc) relative to actual I/O, that<br>could be a significant factor.<br><br>Keeping the null file open would eliminate that part of the overhead,<br>but would double the number of descriptors used. On older versions,<br>that would halve the maximum number of open maps, although that limit<br>has been eliminated in recent 6.3 CVS versions.<br><br>Also, that would only eliminate part of the overhead. Actually<br>decoding and embedding the null data is also non-trivial.<br><br>Embedding the nulls in the data file, eliminating the null bitmap<br>altogether, would eliminate all of the null overhead, but would also<br>either enlarge the files significantly or break compatibility.<br><br>The existing format is optimised for small, non-negative integers. <br>Each row is stored using only as many bytes are required for the<br>largest value, where all values are treated as unsigned (i.e. negative<br>values always require 4 bytes). The integer
 value used for nulls is<br>0x80000000 (i.e. INT_MIN, -2^31); embedding this value directly would<br>cause many files to always use 4 bytes per cell when 1 byte would<br>otherwise be enough.<br><br>We could change the encoding to be more friendly to embedded nulls,<br>but that would break compatibility with earlier versions. AFAICT, a<br>6.3 integer raster can still be read by 4.3 (assuming that it uses RLE<br>rather than zlib compression), with any nulls being read as zeroes.<br><br>-- <br>Glynn Clements <glynn@gclements.plus.com><br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Mon, 30 Apr 2007 16:14:39 -0400<br>From: Helena Mitasova <hmitaso@unity.ncsu.edu><br>Subject: Re: [GRASS-dev] Re: [GRASS-user] Benchmarking Grass 4.3, 5.4,<br> 6.0, 6.2 raster commands<br>To: Glynn Clements <glynn@gclements.plus.com><br>Cc: grassuser@grass.itc.it, Roy Sanderson<br> <R.A.Sanderson@newcastle.ac.uk>, GRASS developers list<br>
 <grass-dev@grass.itc.it><br>Message-ID: &lt;2A41DE5D-FA9F-495E-9B39-57258C82B42C@unity.ncsu.edu&gt;<br>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed<br><br>Glynn,<br><br>does the null implementation affect also the runs with rasters that  <br>have no nulls<br>and there is no MASK present? As I have recently written, I have<br>noticed what seems to be totally unrelated changes in performance in<br>v.surf.rst compared the 4.3 - mostly along the line of changing to  <br>G_ludcmp<br>from an internal lineq solver, but it may be somewhere else.<br><br>10x faster is a huge difference - it may be worthwhile to find out<br>whether it is true for integer maps without nulls and whether it<br>is really nulls slowing it down so badly.<br><br>There were many discussions about the null implementation and as  <br>Glynn correctly<br>points out the main driver for the current design was to sacrifice  <br>the performance<br>to preserve the backwards compatibility.
 Wishes of old users (many of  <br>whom<br>contributed funds to GRASS development) were given very high priority.<br><br>Helena<br><br><br><br>Helena Mitasova<br>Dept. of Marine, Earth and Atm. Sciences<br>1125 Jordan Hall, NCSU Box 8208,<br>Raleigh NC 27695<br>http://skagit.meas.ncsu.edu/~helena/<br><br><br><br>On Apr 30, 2007, at 2:17 PM, Glynn Clements wrote:<br><br>&gt;<br>&gt; [CC to grass-dev]<br>&gt;<br>&gt; Roy Sanderson wrote:<br>&gt;<br>&gt;&gt; I've been trying to persuade our users to stop working with Grass  <br>&gt;&gt; 4.3 and<br>&gt;&gt; Grass 5.4 for some time now, and as I have to upgrade the OS on our<br>&gt;&gt; applications server have told them that they now have no choice.<br>&gt;&gt;<br>&gt;&gt; However, a couple of users stated that they preferred to use Grass  <br>&gt;&gt; 4.3 as<br>&gt;&gt; it was faster, and for large tasks, more stable than the newer  <br>&gt;&gt; versions.  I<br>&gt;&gt; checked this on a map of 52,000 rows by 28,000 columns
 and  <br>&gt;&gt; commands like<br>&gt;&gt; r.mapcalc, r.clump, r.volume operated about 10x faster in Grass  <br>&gt;&gt; 4.3 than<br>&gt;&gt; the more recent versions.<br>&gt;&gt;<br>&gt;&gt; This might simply arise from the age of the applications server OS  <br>&gt;&gt; (still<br>&gt;&gt; running RH7.3), or because I've mis-configured the newer versions  <br>&gt;&gt; of Grass.<br>&gt;&gt;  For example, I did not compile Grass 5 or 6 with large-file support<br>&gt;&gt; enabled, although the file sizes are only around 180Mb, but the  <br>&gt;&gt; speedy<br>&gt;&gt; performance of 4.3 vs 5.4, 6.0 and 6.2.1 surprised me.  Perhaps  <br>&gt;&gt; there's an<br>&gt;&gt; additional overhead associated with the introduction of nulls and<br>&gt;&gt; floating-points, which were major changes from 4.3 to 5.4.   <br>&gt;&gt; However, the<br>&gt;&gt; performance difference is still present when working with integer  <br>&gt;&gt; maps.  As<br>&gt;&gt; I haven't benchmarked versions,
 and also because personally I only  <br><br>=== message truncated ===</grass-dev@grass.itc.it></R.A.Sanderson@newcastle.ac.uk></glynn@gclements.plus.com></hmitaso@unity.ncsu.edu></glynn@gclements.plus.com></R.A.Sanderson@newcastle.ac.uk></glynn@gclements.plus.com></tutey@o2.pl></dylan.beaudette@gmail.com></R.A.Sanderson@newcastle.ac.uk></blockquote><br><BR><BR><DIV><STRONG>Pawan Joshi</STRONG> </DIV>  <DIV>&nbsp;</DIV>  <DIV><BR><BR>&nbsp;</DIV><p>&#32;



      <hr size=1>Ahhh...imagining that irresistible "new car" smell?<br> Check out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new cars at Yahoo! Autos.</a>