[GRASS-user] v.mkhexgrid bug

Markus Neteler neteler at osgeo.org
Sun Sep 11 11:07:01 EDT 2011


On Fri, Sep 9, 2011 at 6:17 AM, Andrés Silva <andres.silva.m at gmail.com> wrote:
> Of course. I get the same bug:
> (Fri Sep  9 01:13:27 2011)
>
> v.mkhexgrid output=hexgrid regionname=central_10m at PERMANENT sidelength=500
>
> Creating GRASS ascii file with hexagons
> Importing GRASS ascii file
> Construyendo topología para el mapa vectorial <tempgrid2543>...
> Registrando elementos...
> 1925 Elementos registrados.
> 3575 vertices registrados.
> Construyendo áreas.
> 0 áreas construidas.
> 1 Islas construidas.
> Adjuntando islas...
> Adjuntando centróides...
> Número de nodos: 891.
> Número de primitivas: 1925.
> Número de puntos: 0.
> Número de líneas: 0.
> Número de contornos: 1650.
> Número de centroides (baricentros): 275.
> Número de áreas: 0.
> Número de íslas: 1.
> Número de contornos incorrectos: 1650.
> Número de centroides (baricentros) fuera del área: 275.
> v.in.ascii completo.
> Cleaning and building topology
> Importing and linking attributes
> GRASS_INFO_WARNING(2564,3): Nombre de columna cambiado: 'cat' -> 'cat_'
> ERROR: Input table <tempgrid2543.csv> not found or not readable

-> the table name should be without .csv extension, so the
v.mkhexgrid script needs a fix.

> ERROR: An error occured renaming attribute table.
> ALTER TABLE .tempgrid2543 RENAME TO hexgrid;
> (Fri Sep  9 01:13:28 2011) Comando finalizado. (1 sec)

Markus


More information about the grass-user mailing list