[GRASS-dev] [GRASS GIS] #2652: v.in.e00

#2652: v.in.e00
------------------------+---------------------------------------------------
Reporter: templar112 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Vector | Version: 7.0.0
Keywords: | Platform: MSWindows 8
      Cpu: x86-64 |
------------------------+---------------------------------------------------
I'm new to Grass GIS, but it appears that the v.in.e00 script has not been
updated to match the new input parameters format.

I downloaded an E00 file from http://www.geocomm.com/ just as a test to
see if I could import some data.

The input parameters it expects are as follows:

options['file'] which should be options['input']
options['vect'] which should be options['output']

Also, the script requires the following additional files:
avcimport.exe
e00conv.exe

The former file exists under the "extrabin" folder, but I had to download
the e00conv binary myself. Maybe it should be included as well?

The next issue is the following line:
     #try_remove(info)

It says that info is not a valid global object or something like that.

Finally, the following statement also doesn't work:

    # write cmd history:
    grass.vector_history(name)

It complains about vector_history not being a valid function.

I don't have the expertise to fix this, but maybe some with python and
Grass knowledge can! :slight_smile:

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2652&gt;
GRASS GIS <http://grass.osgeo.org>

#2652: v.in.e00
------------------------+---------------------------------------------------
Reporter: templar112 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Vector | Version: 7.0.0
Keywords: | Platform: MSWindows 8
      Cpu: x86-64 |
------------------------+---------------------------------------------------

Comment(by annakrat):

I fixed it in r65055 in trunk. Could you test? Or give me e00 file to
test?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2652#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2652: v.in.e00
-------------------------+-------------------------
  Reporter: templar112 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: Vector | Version: 7.0.0
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 8
-------------------------+-------------------------

Comment (by neteler):

Here are some E00 data:

http://data.geocomm.com/catalog/US/61083/datalist.html

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2652#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2652: v.in.e00
-------------------------+-------------------------
  Reporter: templar112 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: Vector | Version: 7.0.0
Resolution: | Keywords: e00
       CPU: x86-64 | Platform: MSWindows 8
-------------------------+-------------------------
Changes (by annakrat):

* keywords: => e00

Comment:

I backported the changes in r65125. The rest is to decide if e00conv
should be in extrabin folder.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2652#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>