---
name: "v.convert"
section: "1grass"
platform: "linux"
package: "grass-doc"
version: "6.4.4-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/v.convert"
---

# v.convert(1grass)

Imports older versions of GRASS vector maps.

## NAME

**v.convert**  - Imports older versions of GRASS vector maps.

## KEYWORDS

vector, import, conversion

## SYNOPSIS

**v.convert**\
 **v.convert help**\
 **v.convert input**=*name*  \[**output**=*name*\]   \[**endian**=*string*\]   \[--**overwrite**\]  \[--**verbose**\]  \[--**quiet**\]

### Flags:

- **--overwrite**

  Allow output files to overwrite existing files

- **--verbose**

  Verbose module output

- **--quiet**

  Quiet module output

### Parameters:

- **input**=*name*

  Name of input vector map

- **output**=*name*

  Name for output vector map

- **endian**=*string*

  Endian of input vector map\
   Options: *big,little*\
   Default: *big*

## DESCRIPTION

*v.convert* converts GRASS 5.0/5.3/5.4 vectors into 5.7/6.x vectors.

## NOTES

Vector maps from 5.0/5.3/5.4 and 5.7/6.x do not interfere. They are stored in different  directories, so you can use the same names. Old vector maps can be listed with *g.list oldvect*.

If you need to convert back from 5.7/6.x into the 5.0/5.3/5.4 vector format, use *v.out.ogr* (to SHAPE format) and then *v.in.shape* in the old GRASS program. Alternatively use "*v.out.ascii -o*" and *v.in.ascii*.

As this GRASS version uses SQL for attribute management, there are some SQL restrictings concerning the file names.

Missing centroids can be added with *v.category*.

## EXAMPLE

`v.convert in=vectormap_from_50 out=vectormap_60`\

## SEE ALSO

g.list, v.category, v.convert.all, v.out.ascii, v.in.ascii, v.out.ogr

## AUTHOR

Radim Blazek, ITC-Irst, Trento, Italy

*Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $*

Full index

© 2003-2014 GRASS Development Team
