[GRASS-user] v.mkhexgrid bug

Markus Neteler neteler at osgeo.org
Wed Sep 14 18:44:48 EDT 2011


On Sun, Sep 11, 2011 at 5:07 PM, Markus Neteler <neteler at osgeo.org> wrote:
> 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.

Trevor, the author, has identified it as db.in.ogr bug and implemented a
workaround using SQL. Please try the new version from GRASS-Addons-SVN
and report if it solves the problem.

Markus


More information about the grass-user mailing list