[GRASSLIST:2683] Re: Importing VRML97 file

Glynn Clements glynn.clements at virgin.net
Wed Feb 18 23:59:49 EST 2004


Peggy Norquist wrote:

> I have a map in VRML97 that I would like to import
> into GRASS.  Is there a way I can do this?

Not directly; you would need to convert the VRML file into one of the
formats which GRASS understands.

What is actually in the VRML file? If it's essentially an
ElevationGrid node, you could:

1. Extract the list of values from the "height" field into a separate
   file,
2. remove any commas,
3. add a suitable header (see the r.in.ascii manpage), and
4. import the result into GRASS with r.in.ascii.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list