<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-3" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
From: Micha Silver <a class="moz-txt-link-rfc2396E" href="mailto:micha@arava.co.il"><micha@arava.co.il></a><br>
<blockquote cite="mid:20091129170040.48643E00C7E@lists.osgeo.org"
type="cite">
<pre wrap="">Subject: Re: [GRASS-user] does the grass support windows 7
To: maven apache <a class="moz-txt-link-rfc2396E" href="mailto:apachemaven0@gmail.com"><apachemaven0@gmail.com></a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:4B129DD5.5080401@arava.co.il"><4B129DD5.5080401@arava.co.il></a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
maven apache wrote:
</pre>
<blockquote type="cite">
<pre wrap="">does the grass support windows 7 system?
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<pre wrap=""><!---->Can you try running GRASS in "XP Mode" and report back how it works?
Thanks,
</pre>
</blockquote>
<p class="MsoNormal">Hello,<br>
I tried out <span style="" lang="EN-GB">(Windows 7 home premium)</span>
the test protocol at<span style="" lang="EN-GB"><br>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/grass/wiki/HowToTestGrass6">http://trac.osgeo.org/grass/wiki/HowToTestGrass6</a><br>
</span></p>
<p class="MsoNormal">and it mostly seems to work fine -- please have a
look below.<br>
Kind regards,<br>
Luigi<br>
<span style="" lang="EN-GB"></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Requirements</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">• GRASS 6 installation:
6.4.0svn r37101 (2009-5-10) OSGeo4W version </span><br>
<span style="" lang="EN-GB">• Educational data set: OSGeo
Educational data set North Carolina:
<a class="moz-txt-link-freetext" href="http://grass.osgeo.org/sampledata/nc_spm_latest.tar.gz">http://grass.osgeo.org/sampledata/nc_spm_latest.tar.gz</a></span><br>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Start of the program</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">• Starts fine from menu
icons (TclTk, Text, wxPython)</span><br>
<span style="" lang="EN-GB">• grass64 --help (or -h or -help) only
starts up grass the same way it was started last time (-text, -tcltk,
-wxpython); it does not show the help of the command (OSGeo4W shell).<br>
• grass64 -tcltk works OK.</span><br>
<span style="" lang="EN-GB">• grass64 -wxpython works OK.</span><br>
<span style="" lang="EN-GB">• Please, note that grass64 -version
outputs the usual text plus an error message – see below:<br>
</span></blockquote>
<blockquote>
<p class="MsoNormal"><tt><span style="" lang="EN-GB">Geographic
Resources Analysis Support System (GRASS) is Copyright,<br>
1999-2008 by the GRASS Development Team, and licensed under terms of the<br>
GNU General Public License (GPL) version >=2.<br>
<br>
This GRASS 6.4.0svn release is coordinated and produced by the<br>
GRASS Development Team with contributions from all over the world.<br>
<br>
This program is distributed in the hope that it will be useful, but<br>
WITHOUT ANY WARRANTY; without even the implied warranty of<br>
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU<br>
General Public License for more details.<br>
<b>ERROR: G_getenv(): Variable LOCATION_NAME not set</b></span></tt></p>
</blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Re-launch of GUI
from command line</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">Works OK from GRASS in text
mode.</span><br>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Using gis.m TclTk
graphical user interface</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">To add a raster map, click in
GIS manager on "Add raster layer" button, </span><br>
<span style="" lang="EN-GB">• Click on word "raster1" which
appears in the canvas to enable in the lower part the raster map tool
(should already be there) OK</span><br>
<span style="" lang="EN-GB">• In "Display raster maps", select
"Base map" button, explode "PERMANENT" mapset, and select map
"elevation" (click ok or use double click on map name) No way to
explode "PERMANENT" mapset</span><br>
<span style="" lang="EN-GB">No way to go futher...</span><br>
<span style="" lang="EN-GB">• To add a vector map, click on the
"Add vector layer" button OK</span><br>
<span style="" lang="EN-GB">• Click on word "vector1" which
appears in the canvas to enable in the lower part the vector map tool
(should already be there) OK</span><br>
<span style="" lang="EN-GB">• In "Display vector maps", select
"Vector map" button, explode "PERMANENT" mapset, and select map
"roadsmajor" (click ok or use double click on map name) No way to
explode "PERMANENT" mapset</span><br>
<span style="" lang="EN-GB">No way to go furhter... </span><br>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Using wxPython
graphical user interface</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">Basic map display</span><br>
<blockquote><span style="" lang="EN-GB">• Click in Layer manager
on "Add raster map" button,</span><br>
<span style="" lang="EN-GB">• select raster map
"elevation@PERMANENT" in properties dialog and click "ok", </span><br>
<span style="" lang="EN-GB">• right mouse click in layer tree
and choose from contextual menu "Zoom to selected map", map should
appear in canvas. </span><br>
<span style="" lang="EN-GB">• Try to zoom, to create a profile
etc. Profiling on the elevation raster is OK but after closing the
profiling window, there is no way to display anything else except the
elevation map itself. If a new vector layer is added to the tree, it
does not get displayed and the elevation map stays on even after
removal and refresh.</span><br>
<span style="" lang="EN-GB">Expected result: it should just work. </span><br>
</blockquote>
<span style="" lang="EN-GB"></span></blockquote>
<blockquote><span style="" lang="EN-GB">Digitizing</span><br>
<blockquote><span style="" lang="EN-GB">Does not work in Windows.</span><br>
</blockquote>
<span style="" lang="EN-GB">Extrude 2D vector to 3D vector</span><br>
<blockquote><span style="" lang="EN-GB">Extruded vector urbanarea
with 500m elevation and works OK.</span><br>
</blockquote>
<span style="" lang="EN-GB">Display 3D house in NVIZ</span><br>
<blockquote><span style="" lang="EN-GB">NVIZ outputs the error window
below</span><br>
</blockquote>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><img src="cid:part1.03000009.07090503@infinito.it"
alt=""><span style="" lang="EN-GB"> </span><span
style="font-size: 12pt; font-family: "Times New Roman";" lang="EN-GB"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:364.5pt;
height:423pt'>
<v:imagedata src="file:///C:\Users\Luigi\AppData\Local\Temp\msohtml1\01\clip_im
age001.png"
o:title="nvizError"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><br>
<span style="" lang="EN-GB"><br>
<u>Display various maps in classical GRASS monitor</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">Does not work in Windows.</span><br>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>3D visualization
with NVIZ</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">The command nviz elevation
vect=roadsmajor crashes nviz.</span><br>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Simple raster
analysis</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">Raster algebra</span><br>
<blockquote><span style="" lang="EN-GB">Works fine – maps checked via
wxPython GUI since no d.* command is available.</span><br>
</blockquote>
<span style="" lang="EN-GB">Raster statistics</span><br>
<blockquote><span style="" lang="EN-GB">r.univar ndvi works OK.</span><br>
</blockquote>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Simple vector
analysis</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">Extracting from vector maps</span><br>
<blockquote><span style="" lang="EN-GB">I have done the following and
works OK:</span><br>
<span style="" lang="EN-GB">v.extract input=streets_wake@PERMANENT
output=streets_wake_large where=CLASSNAME = 'USHWY'</span><br>
<span style="" lang="EN-GB">1107 categories loaded from table
<streets_wake></span><br>
<span style="" lang="EN-GB">Extracting features...</span><br>
<span style="" lang="EN-GB">Building topology for vector map
<streets_wake_large>...</span><br>
<span style="" lang="EN-GB">Registering primitives...</span><br>
<span style="" lang="EN-GB"> 10001107 primitives registered</span><br>
<span style="" lang="EN-GB">6166 vertices registered</span><br>
<span style="" lang="EN-GB">Building areas...</span><br>
<span style="" lang="EN-GB">0 areas built</span><br>
<span style="" lang="EN-GB">0 isles built</span><br>
<span style="" lang="EN-GB">Attaching islands...</span><br>
<span style="" lang="EN-GB">Attaching centroids...</span><br>
<span style="" lang="EN-GB">Number of nodes: 1097</span><br>
<span style="" lang="EN-GB">Number of primitives: 1107</span><br>
<span style="" lang="EN-GB">Number of points: 0</span><br>
<span style="" lang="EN-GB">Number of lines: 1107</span><br>
<span style="" lang="EN-GB">Number of boundaries: 0</span><br>
<span style="" lang="EN-GB">Number of centroids: 0</span><br>
<span style="" lang="EN-GB">Number of areas: 0</span><br>
<span style="" lang="EN-GB">Number of isles: 0</span><br>
<span style="" lang="EN-GB">Writing attributes...</span><br>
<span style="" lang="EN-GB">v.extract complete.</span><br>
</blockquote>
<span style="" lang="EN-GB">SQL support</span><br>
<blockquote><span style="" lang="EN-GB">Not entirely clear to me why
the proposed command should test SQL support when schools_wake has
attributes stored in a DBF table. However, same functionality
implemented via the wxPython GUI works OK.</span><br>
</blockquote>
<span style="" lang="EN-GB">Vector statistics</span><br>
<blockquote><span style="" lang="EN-GB">Results as expected – works
OK.</span><br>
</blockquote>
<span style="" lang="EN-GB">Transfer raster slope to vector segments</span><br>
<blockquote><span style="" lang="EN-GB">Not sure what I was supposed
to do – I have done the following:</span><br>
<span style="" lang="EN-GB">v.split input=streets_wake_large@user1
output=streets_wake_large_split length=1000</span><br>
<span style="" lang="EN-GB">Building topology for vector map
<streets_wake_large_split>...</span><br>
<span style="" lang="EN-GB">Registering primitives...</span><br>
<span style="" lang="EN-GB"> 10001164 primitives registered</span><br>
<span style="" lang="EN-GB">6280 vertices registered</span><br>
<span style="" lang="EN-GB">Building areas...</span><br>
<span style="" lang="EN-GB">0 areas built</span><br>
<span style="" lang="EN-GB">0 isles built</span><br>
<span style="" lang="EN-GB">Attaching islands...</span><br>
<span style="" lang="EN-GB">Attaching centroids...</span><br>
<span style="" lang="EN-GB">Number of nodes: 1154</span><br>
<span style="" lang="EN-GB">Number of primitives: 1164</span><br>
<span style="" lang="EN-GB">Number of points: 0</span><br>
<span style="" lang="EN-GB">Number of lines: 1164</span><br>
<span style="" lang="EN-GB">Number of boundaries: 0</span><br>
<span style="" lang="EN-GB">Number of centroids: 0</span><br>
<span style="" lang="EN-GB">Number of areas: 0</span><br>
<span style="" lang="EN-GB">Number of isles: 0</span><br>
<span style="" lang="EN-GB">For v.to.db I just did the following:</span><br>
<span style="" lang="EN-GB">v.to.db -p
map=streets_wake_large_split@user1 type=line option=count </span><br>
<span style="" lang="EN-GB">Reading features...</span><br>
<span style="" lang="EN-GB">cat|count</span><br>
<span style="" lang="EN-GB">49479|1</span><br>
<span style="" lang="EN-GB">49569|1</span><br>
<span style="" lang="EN-GB">[…]</span><br>
<span style="" lang="EN-GB">49665|1</span><br>
<span style="" lang="EN-GB">49740|1</span><br>
<span style="" lang="EN-GB">1107 categories read from vector map
(layer 1)<br>
0 records updated/inserted (layer 1)</span><br>
</blockquote>
<span style="" lang="EN-GB">Shortest path routing</span><br>
<blockquote><span style="" lang="EN-GB">Skipped this because the
North Caroline streets have a lot more classes</span><br>
</blockquote>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><u>Using QGIS' GRASS
toolbox</u><br>
</span></p>
<blockquote><span style="" lang="EN-GB">Works OK.</span><br>
<span style="" lang="EN-GB"></span></blockquote>
<p class="MsoNormal"><span style="" lang="EN-GB"><b></b><o:p></o:p></span></p>
</body>
</html>