[GRASS-dev] v.out.ogr: faces export added (for KML and friends)

Markus Neteler neteler at itc.it
Tue Jun 13 12:22:57 EDT 2006


Hi,

inspired by the new Linux version of Google Earth [1]
I have extended v.out.ogr to export faces, the GRASS
3D vectors [2].

With:
 v.out.ogr in=buildings_3d dsn=buildings_3d.kml \
           olayer=buildings_3d format=KML type=face
you can generate a KML file of your favourite 
3D city (v.extrude helps) and visualize it in
Google Earth. 

Note that the KML driver in GDAL-CVS is not complete yet.
This means that the map to be exported needs to be projected
to LongLat first (v.proj).

Enjoy,
 Markus

[1] http://earth.google.com/download-earth.html
    -> beta4

[2] http://grass.itc.it/grass61/screenshots/vector.php
-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list