ODP: [GRASS-user] vrml import to grass

Maciej Tomaszczyk mtom at pgi.gov.pl
Wed Mar 19 04:03:46 EDT 2008


hi

The wrml i have is 3d model of cave, i created ascii file and i imported it in to grass (but only points),
but i found  a way to import this in to grass. First, import to blender and export to .dxf and then import .dxf in to grass (v.in.dxf).
best 
mt 


Maciej Tomaszczyk
Polish Geological Institute
Geological Mapping Department
http://www.pgi.gov.pl
http://www.opengeology.pl



-----Wiadomość oryginalna-----
Od: Glynn Clements [mailto:glynn at gclements.plus.com]
Wysłano: Śr 2008-03-19 05:37
Do: Maciej Tomaszczyk
DW: grass-user at lists.osgeo.org
Temat: Re: [GRASS-user] vrml import to grass
 

Maciej Tomaszczyk wrote:

> i am wonder if is a way to import wrml file in to the GRASS.
> There is v.out.vrml but i cant find any command to import this type of file.
> best

VRML is a general purpose 3D modelling format. The only node type
which has any real relation to GIS is the ElevationGrid type. This is
what v.out.vrml generates.

If you have a VRML file which is essentially a DEM which has been
converted to an ElevationGrid, I suggest extracting the actual
coordinate data using a text editor (or sed) then importing it with
r.in.ascii.

A VRML importer would require a fair amount of effort (it would need a
full VRML parser just to extract ElevationGrid nodes), and I'm
doubtful of its utility, given that any suitable VRML files would
almost invariably have been generated from some other format, and the
original data would probably be far more amenable to importation (i.e. 
GRASS probably already supports the format, and may be able to obtain
georeferencing information from it).

-- 
Glynn Clements <glynn at gclements.plus.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080319/11705f22/attachment.html


More information about the grass-user mailing list