[GRASS5] [bug #2748] (grass) Cannot display vector data

Markus Neteler neteler at itc.it
Thu Dec 2 04:12:15 EST 2004


On Wed, Dec 01, 2004 at 04:21:57PM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2748
> -------------------------------------------------------------------------
> 
> Subject: Cannot display vector data
> 
> Platform: other
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> 
> I compiled grass5.4 under fedora core3(x86_64) by following settings.
> ../grass-5.4.0/configure --with-glx --with-proj --with-motif --with-cxx --with-blas --with-lapack --with-freetype --with-freetype-includes=/usr/include/freetype2 --with-lapack --with-gdal=/usr/local/bin/gdal-config --with-nls --with-odbc --enable-64bit
> 
> In other system(fedora core3(i386)), I created the raster and vector (area) data, and then copied this database to fedora core3(x86_64) system.
> The raster data is no problem, but vector data could not display using d.vect.area command. This command output the following message:
> Warning: Long   is size 8
> Data file has been modified.  You MUST first run 'v.support'
> 
> In other system(fedora core3(i386)), I could correctly display same vector data using d.vect.area.


The problem is that vector data in pre GRASS 5.7 are not
portable across 32/64bit. This is only supported from 5.7 onwards.

1) A solution might be:
- Install GRASS 5.7 on both core3(i386) and core3(x86_64).
- Run GRASS 5.7 on core3(i386), convert old format to new format (v.convert)
- copy over the data
- use GRASS 5.7 on core3(x86_64)

2) Another solution might be (not sure):
- Export into external format, e.g. SHAPE
- Import from shape

We are interested in reports on (1).

Markus




More information about the grass-dev mailing list