[GRASS-user] Problems using qgis and grass in one python script

Moritz Lennert mlennert at club.worldonline.be
Fri Sep 15 00:42:47 PDT 2017


On 13/09/17 13:11, T K wrote:
> Hello list,
> 
> I am very new to the whole GIS topic, so I do not know if this is the
> right place for my question, but I did not find a more suitable place.

This is a good place, don't worry.

> 
> I am trying to combine QGIS and GRASS in one python script.
> 
> The first step is to import a csv-file and create a shp-layer with QGIS
> which runs without errors. But when I try to load the shp with grass
> run_command like v.import or v.in.ogr there is always an error Illegal
> filename. Character < > are not allowed. 


You already received an answer about possible cause from Andrea.

However, this seems to be an awful lot of hoops to jump through for the 
task at hand. Why not just import your csv file directly into GRASS GIS 
with v.in.ascii ?

Moritz


More information about the grass-user mailing list