[GRASS-user] Georeferencing a vector onto a WMS layer

Jacki Pilon jacki.pilon at gmail.com
Mon Aug 20 07:41:59 PDT 2018


I wanted to use GRASS because of it flexibility but I have now an 
installation problem (MS-Window7sp2). I tried both 32 and 64 bits versions.
*
1) The 32 bits versions crashed at the beginning :*
Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows

           __________  ___   __________    _______________
          / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
         / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
        \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.4.0
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 <wxpython> GUI in the background, please wait...
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

C:\Users\Jacki>Traceback (most recent call last):
   File "C:\Program Files (x86)\GRASS GIS 7.4.0\gui\wxpython\wxgui.py", 
line 167, in <module> sys.exit(main())
   File "C:\Program Files (x86)\GRASS GIS 7.4.0\gui\wxpython\wxgui.py", 
line 154, in main    app = GMApp(workspaceFile)
   File "C:\Program Files (x86)\GRASS GIS 7.4.0\gui\wxpython\wxgui.py", 
line 48,in __init__ wx.App.__init__(self, False)
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 
7981, in __init__    self._BootstrapApp()
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 
7555, in _BootstrapApp    return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "C:\Program Files (x86)\GRASS GIS 7.4.0\gui\wxpython\wxgui.py", 
line 101, in OnInit workspace=self.workspaceFile)
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\gui\wxpython\lmgr\frame.py", line 142, in __init__ self.notebook = 
self._createNoteBook()
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\gui\wxpython\lmgr\frame.py", line 337, in _createNoteBook    
gcstyle=GC_PROMPT)
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\gui\wxpython\gui_core\goutput.py", line 118, in __init__    
self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\gui\wxpython\gui_core\prompt.py", line 143, in __init__    
GPrompt.__init__(self, parent=parent, menuModel=menuModel)
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\gui\wxpython\gui_core\prompt.py", line 57, in __init__    
self.mapList = self._getListOfMaps()
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\gui\wxpython\gui_core\prompt.py", line 101, in _getListOfMaps    
result['raster'] = grass.list_strings('raster')
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\etc\python\grass\script\core.py", line 1226, in list_strings    
mapset=mapset).splitlines():
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\etc\python\grass\script\core.py", line 476, in read_command    
return handle_errors(returncode, stdout, args, kwargs)
   File "C:\Program Files (x86)\GRASS GIS 
7.4.0\etc\python\grass\script\core.py", line 332, in handle_errors    
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', 
'-m', 'type=raster'] ended with error
Process ended with non-zero return code -1073741511. See errors in the 
(error) output.

*2) the 64 bits version went further, and the install seems correct, but :*
_v.in.vms gives a traceback  :

_
Welcome to GRASS GIS 7.4.0
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 <wxpython> GUI in the background, please wait...
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

C:\Users\Jacki>Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS 7.4.0/gui/scripts/d.wms_wrapper.py", 
line 214, in <module> sys.exit(main())
   File "C:\Program Files\GRASS GIS 7.4.0/gui/scripts/d.wms_wrapper.py", 
line 207, in main    temp_map = wms.GetMap(options, flags)
   File "C:\Program Files\GRASS GIS 7.4.0\etc\r.in.wms\wms_base.py", 
line 211, in GetMap    self._initializeParameters(options, flags)
   File "C:\Program Files\GRASS GIS 7.4.0\etc\r.in.wms\wms_base.py", 
line 157, in _initializeParameters    self.region['cols'] /
KeyError: 'cols'
_
GRASS_INFO_END(5848,1)
_


I must confess that I don't know how to escape from this situation....  
(this is why I turned to QGIS, but without satisfactory response).
Is this a problem with Windows 7 ? with Python ? with the installation 
script ?  What is your opinion ?
Sorry to take your time... and thanks, anyway.

Yours,

Jacki
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180820/cb438171/attachment-0001.html>


More information about the grass-user mailing list