[GRASS-user] v.in.ogr: error importing shapefiles

RichardCooper richtcooper at hotmail.com
Fri Jan 9 04:34:21 PST 2015


Hi,

I'm getting the following error on attempting to import a shape file,
without success, with v.in.ogr:

>From the command console:
{{{
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/filebrowsebutton.py",
line 140, in OnChanged

self.changeCallback(evt)
  File "/home/user/grass70/grass-7.0.0svn/gui/wxpython/gu
i_core/gselect.py", line 1920, in OnUpdate

self._reloadLayers()
  File "/home/user/grass70/grass-7.0.0svn/gui/wxpython/gu
i_core/gselect.py", line 1945, in _reloadLayers

layerName, featureType, projection = map(lambda x:
x.strip(), line.split(','))
ValueError
:
too many values to unpack
{{{

And after clicking Import, I receive the following popup message:
No layers selected. Operation canceled

The above relates to 7.0.0svn:
{{{
System Info                                                                     
GRASS version: 7.0.0svn                                                         
GRASS SVN Revision: 63929                                                       
Build Date: 2015-01-02                                                          
Build Platform: i686-pc-linux-gnu                                               
GDAL/OGR: 1.11.1                                                                
PROJ.4: 4.9.0                                                                   
GEOS: 3.4.2                                                                     
SQLite: 3.7.9                                                                   
Python: 2.7.3                                                                   
wxPython: 2.8.12.1                                                              
Platform: Linux-3.2.0-31-generic-pae-i686-with-LinuxMint-13-maya                
}}}

I've tried with a couple of shapefiles.

Cheers,
Richard



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/v-in-ogr-error-importing-shapefiles-tp5180777.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list