Tag Info

New answers tagged

0

You can try intersecting the freshly imported layers with old shape file layers containing attribute informations.


1

You can do it in two ways: either by having the elevation data stored within the geometry (as a Z-index), or externally in the attributes table. If stored in the geometry, you can use QGIS' own convertion tool (which uses ogr2ogr? I'm not sure), by selecting your layer and 'Saving As...', then changing the export output from the custom ESRI Shapefile to ...


1

Try AND instead of OR. If you want to deselect more layers you have to use AND. OR uses either 15% or 16% http://www.postgresql.org/docs/8.2/static/functions-logical.html 'Layer' NOT LIKE '15%' AND 'Layer' NOT LIKE '16%'


0

Qgis uses GDAL's ogr2ogr to export between formats and from www.gdal.org, "Polygon and MultiPolygon features are written as HATCH entities", so the hatches in AutoCAD should be expected. To generate closed polylines from the hatch objects use the AutoCAD command HATCHGENERATEBOUNDARY. Additionally you could use the command OGR2OGR to export the shapefile ...


1

The solution to my question is: fitxer="/tmp/prova.dxf|layername=entities|geometrytype=Point" layer = QgsVectorLayer(fitxer, 'prova', 'ogr') QgsMapLayerRegistry.instance().addMapLayer(layer) This another sample loads all geometry types: #Load the dfx file to get the sublayers. vlayer = QgsVectorLayer(dfx_file, 'layer_test', 'ogr') subLayers = ...



Top 50 recent answers are included