[GRASS-user] v.to.points

Hello,

I’m having problmes with module v.to.points.
The input is a line shapefile with only two atributtes (both of them integers). I always get this error message:

v.to.points input=AplanadoGRASS@InterpolationTEST type=line llayer=1 “output=C:/Users/Andre Mano/Desktop/InterpolationBenchmark/Vectores_Pontos/pontosaplanado” dmax=20 -v

Nome de arquivo ilegal. O caractere n�o � permitido.

Illegal vector map name . Character ‘:’ not allowed.

Output vector map name is not valid map name

Finished with error

I’m using GRASS 6.4 through QGIS 1.7 GRASS plugin in a Windows 7 Professional environment

Any hints would be very welcomed!!

Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org

2011/10/18 ALT SHN <i.geografica@alt-shn.org>:

v.to.points input=AplanadoGRASS@InterpolationTEST type=line llayer=1
"output=C:/Users/Andre
Mano/Desktop/InterpolationBenchmark/Vectores_Pontos/pontosaplanado" dmax=20
-v

`output` is not a path, it's name of vector map created in the current mapset.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

As far as I know, v.to.points does not write to an external file, it creates a point vector map within GRASS.

So you should do output=pointmap and then use another module such as v.out.ascii to generate an actual text file with the points.

Also, when you do that, do not enclose the output portion of the code with quotes, you don’t need them to set a path to the ouput file.

Hope it helps,
Marcello.

On Tue, Oct 18, 2011 at 9:59 AM, ALT SHN <i.geografica@alt-shn.org> wrote:

Hello,

I’m having problmes with module v.to.points.
The input is a line shapefile with only two atributtes (both of them integers). I always get this error message:

v.to.points input=AplanadoGRASS@InterpolationTEST type=line llayer=1 “output=C:/Users/Andre Mano/Desktop/InterpolationBenchmark/Vectores_Pontos/pontosaplanado” dmax=20 -v

Nome de arquivo ilegal. O caractere n�o � permitido.

Illegal vector map name . Character ‘:’ not allowed.

Output vector map name is not valid map name

Finished with error

I’m using GRASS 6.4 through QGIS 1.7 GRASS plugin in a Windows 7 Professional environment

Any hints would be very welcomed!!

Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Thanks a lot!

(actually i’m feeling kinda dumb!! :slight_smile: )
I assumed the output would be external to GRASS because of the browser buttom [. . .]

Problem solved!

2011/10/18 Marcello Gorini <gorini@gmail.com>

As far as I know, v.to.points does not write to an external file, it creates a point vector map within GRASS.

So you should do output=pointmap and then use another module such as v.out.ascii to generate an actual text file with the points.

Also, when you do that, do not enclose the output portion of the code with quotes, you don’t need them to set a path to the ouput file.

Hope it helps,
Marcello.

On Tue, Oct 18, 2011 at 9:59 AM, ALT SHN <i.geografica@alt-shn.org> wrote:

Hello,

I’m having problmes with module v.to.points.
The input is a line shapefile with only two atributtes (both of them integers). I always get this error message:

v.to.points input=AplanadoGRASS@InterpolationTEST type=line llayer=1 “output=C:/Users/Andre Mano/Desktop/InterpolationBenchmark/Vectores_Pontos/pontosaplanado” dmax=20 -v

Nome de arquivo ilegal. O caractere n�o � permitido.

Illegal vector map name . Character ‘:’ not allowed.

Output vector map name is not valid map name

Finished with error

I’m using GRASS 6.4 through QGIS 1.7 GRASS plugin in a Windows 7 Professional environment

Any hints would be very welcomed!!

Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org