Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
On Thu, 23 Nov 2017 at 18:06, Helmut Kudrnovsky  wrote:

>  >>   I use this bundled unix tools here all the time in winGRASS. sometime
> you
>  >>   can the use the windows equivalennt of these tools.
> >
> >
> >Did you installed these bundled unix tools separately?
>
> no, these tools are bundled with winGRASS.


Oh sorry, I got confused. I understand, let me check.

>
>
>
>
> -
> best regards
> Helmut
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Helmut Kudrnovsky
> It would be great if an equivalent alternative was available...

IMHO maintain and mimic unix behaviour of command line in winGRASS by
external dependencies isn't the best choice.

in order to get an overview what is missing from the basic unix tools, you
could start to draft a comparison of such often used tools in GIS workflow
which are available in unix/linux but aren't yet bundled in winGRASS and to
search if there are possible MS own equivalents.





-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Helmut Kudrnovsky
>Do we have to enable these features , or by default available?

which features do you mean? tab completion? copy/paste by ctrl-v?



-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Helmut Kudrnovsky
 >>   I use this bundled unix tools here all the time in winGRASS. sometime
you
 >>   can the use the windows equivalennt of these tools.
>
>
>Did you installed these bundled unix tools separately?

no, these tools are bundled with winGRASS.



-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] 3D view error on MacOS (black screen)

2017-11-23 Thread Carlos Grohmann
Hello Anna

I managed to fixed by compiling using homebrew libraries. The trick was to
set --with-opengl=aqua, so it uses the opengl librarie from the system.
Using --with-opengl=x11 results in the black screen.

Carlos

On Wed, Nov 22, 2017 at 10:48 PM, Anna Petrášová 
wrote:

> Hi Carlos,
>
> I couldn't get 3D view working with homebrew either. The error you see
> seems to happen when you click and drag in the window, so the actual
> problem happens before, because it never loads. Interestingly, when I
> compiled GRASS myself (using the homebrew libraries), the 3D worked.
> Unfortunately I have no idea what's wrong.
>
> Anna
>
> On Wed, Nov 22, 2017 at 5:11 PM, Carlos Grohmann
>  wrote:
> > Hi all
> >
> > I'm running 7.2.2 on MacOS Sierra, installed via homebrew. Trying to
> display
> > anything in 3D results only in a black screen. Checking the console I get
> > these error messages:
> >
> > Traceback (most recent call last):
> >   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> > hon/nviz/mapwindow.py", line 628, in OnMouseAction
> >
> > self.OnDragging(event)
> >   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> > hon/nviz/mapwindow.py", line 722, in OnDragging
> >
> > angle, x, y, z = self._display.GetRotationParameters(dx, dy)
> >   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> > hon/nviz/wxnviz.py", line 1975, in GetRotationParameters
> >
> > inv = matrix(m).I
> >   File "/usr/local/lib/python2.7/site-
> > packages/numpy/matrixlib/defmatrix.py", line 972, in getI
> >
> > return asmatrix(func(self))
> >   File "/usr/local/lib/python2.7/site-
> > packages/numpy/linalg/linalg.py", line 526, in inv
> >
> > ainv = _umath_linalg.inv(a, signature=signature,
> > extobj=extobj)
> >   File "/usr/local/lib/python2.7/site-
> > packages/numpy/linalg/linalg.py", line 90, in
> > _raise_linalgerror_singular
> >
> > raise LinAlgError("Singular matrix")
> > numpy.linalg.linalg
> > .
> > LinAlgError
> > :
> > Singular matrix
> >
> >
> > thanks
> >
> > Carlos
> >
> >
> >
> >
> > --
> > Prof. Carlos Henrique Grohmann
> > Institute of Energy and Environment - Univ. of São Paulo, Brazil
> > - Digital Terrain Analysis | GIS | Remote Sensing -
> >
> > http://carlosgrohmann.com
> > http://orcid.org/-0001-5073-5572
> > 
> > Can’t stop the signal.
> >
> > ___
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/-0001-5073-5572

Can’t stop the signal.
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
Hi Helmut

Thank you for your detailed answer.
That's interesting, I know significant improvement in this regard with
Windows 10, but was not aware of this in Win 7.

The issue is none of these commands are available with the Windows 7 we
have (laptops are provided pre-installed with some customized windows 7 by
our IT, both to staff and students.).
The system configuration says, Windows 7 Enterprise, Service pack 1.

Do we have to enable these features , or by default available?


I use this bundled unix tools here all the time in winGRASS. sometime you
> can the use the windows equivalennt of these tools.
>

Did you installed these bundled unix tools separately?

Regards

Sajid
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Bernardo Santos
 Hello all,
Despite all these functionalities that Helmut cited, I agree with Sajid that it 
is much easier and friendly to use the terminal in UNIX systems than in 
Windows. It would be great if an equivalent alternative was available...
Best,Bernardo
Em quinta-feira, 23 de novembro de 2017 14:17:44 BRST, Helmut Kudrnovsky 
 escreveu:  
 
 Sajid Pareeth-2 wrote
> What I am looking for is a way to
> use GRASS GIS in UNIX like third party terminals in windows, so that I can
> use basic UNIX based commands.

also pipes e.g. to be used with grep, works in the windows own cmd




-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user  ___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Helmut Kudrnovsky
Sajid Pareeth-2 wrote
> What I am looking for is a way to
> use GRASS GIS in UNIX like third party terminals in windows, so that I can
> use basic UNIX based commands.

also pipes e.g. to be used with grep, works in the windows own cmd




-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Helmut Kudrnovsky
>For example copy and paste is complicated there

up from win 7 to win 10: you can do simply ctrl-c/ctrl-v e.g. to copy an
example from manual to cmd or if you want to copy something from cmd, just
mark this with the mouse, hit enter, and then ctrl-v.

>or tab completion

at least to complete filenames, e.g. yourgeo.tif; if you're in cmd in the
folder containing this file, just type the first character, hit tab and the
file name will be completed

>What I am looking for is a way to use GRASS GIS in UNIX like third party
terminals in windows, so that I >can use basic UNIX based commands.

simple unix commands like e.g. awk or grep etc are already there:

---
All attempts to enable English language have failed. GRASS running with C
locale.
If you observe UnicodeError in Python, install en_US.UTF-8 locale and
restart GRASS.
Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows

  __  ___   _____
 / / __ \/   | / ___/ ___/   / /  _/ ___/
/ / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
   / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
   \/_/ |_/_/  |_///   \/___///

Welcome to GRASS GIS 7.5.svn (r71800)
GRASS GIS homepage:  http://grass.osgeo.org
This version running through:Command Shell
(C:\WINDOWS\system32\cmd.exe)
Help is available with the command:  g.manual -i
See the licence terms with:  g.version -c
See citation options with:   g.version -x
If required, restart the GUI with:   g.gui wxpython
When ready to quit enter:exit

Launching  GUI in the background, please wait...
Microsoft Windows [Version 10.0.16299.64]
(c) 2017 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>awk --version
GNU Awk 3.1.7
Copyright (C) 1989, 1991-2009 Free Software Foundation.

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
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.

C:\>grep --version
GNU grep 2.5.4

Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


C:\>
---

I use this bundled unix tools here all the time in winGRASS. sometime you
can the use the windows equivalennt of these tools.






-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
On Thu, Nov 23, 2017 at 4:22 PM, Helmut Kudrnovsky  wrote:

> >But for command line, Is there anything better than cmd.exe?
>
> what is missing in MS cmd?
>

It is not user friendly compared to UNIX shell. For example copy and paste
is complicated there or tab completion. What I am looking for is a way to
use GRASS GIS in UNIX like third party terminals in windows, so that I can
use basic UNIX based commands.

Regards
Sajid
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Moritz Lennert

On 23/11/17 15:18, Sajid Pareeth wrote:

Hi all

I need to teach students GRASS GIS in Windows 7. Of course the GUI part 
works and all good.


But for command line, Is there anything better than cmd.exe?

There are many Console emulators available now a days, like Cmder 
(http://cmder.net/)  and ConEmu (https://conemu.github.io/) in windows 
which are rich in features. GRASS GIS works in those, but wont inherit 
the features of those terminals as it opens with cmd.exe as shell.



Can't this be configured with the environment variable GRASS_SH ?

Moritz
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Helmut Kudrnovsky
>But for command line, Is there anything better than cmd.exe?

what is missing in MS cmd?



-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
Hi all

I need to teach students GRASS GIS in Windows 7. Of course the GUI part
works and all good.

But for command line, Is there anything better than cmd.exe?

There are many Console emulators available now a days, like Cmder (
http://cmder.net/)  and ConEmu (https://conemu.github.io/) in windows which
are rich in features. GRASS GIS works in those, but wont inherit the
features of those terminals as it opens with cmd.exe as shell.

Is there any way to get GRASS GIS work with those features of the terminals
too?

I see in the startup script that cygwin is still given as an optional
shell. I have never used it. How easy is to setup grass 7 with cygwin
considering that students also have to follow it?

Thanks in advance for any pointers.

Regards

Sajid
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user