Yes, in the Python console using other Python modules like Shapely but it is even easier to do it directly in Python without QGIS:
*In the Python console of QGIS* see QGIS, visualización 3D de capas vectoriales con Python <http://geotux.tuxfamily.org/index.php/en/geo-blogs/item/315-qgis-visualizacion-3d-de-capas-vectoriales-con-python> (in Spanish) or QGIS, représentation 3D des couches vectorielles (shapefiles dits 3D ou shapefiles avec attributs z) avec les modules Python Matplotlib ou Visvis à partir de la console Python <http://www.portailsig.org/content/qgis-representation-3d-des-couches-vectorielles-shapefiles-dits-3d-ou-shapefiles-avec-attrib> (in French) or Is there are QGIS plugin to allow the 3d visualisation of geological borehole data similar to the functionality of Target for ArcGIS? <http://gis.stackexchange.com/questions/41701/is-there-are-qgis-plugin-to-allow-the-3d-visualisation-of-geological-borehole-da/41719#41719> it shows how to read 3D Shapefiles or taking the z coordinate from a column in the table. Create a 3D shapefile is just as easy. *Directly in Python* With modules like Shapely, ogr or Pyshp, see for example http://code.google.com/p/pyshp/wiki/CreateElevationValues <http://code.google.com/p/pyshp/wiki/CreateElevationValues> . You can even take the z values from a DEM (see http://www.portailsig.org/content/python-utilisation-des-couches-vectorielles-et-matricielles-dans-une-perspective-geologique- <http://www.portailsig.org/content/python-utilisation-des-couches-vectorielles-et-matricielles-dans-une-perspective-geologique-> , in French) Python can do everything .... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/create-3d-shapefile-and-or-GPX-tp5040855p5040863.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
