patch_for_ticket_2946.diff

patch: append "3D" to geometry type shown in vector Property -> Metadata section - Giuseppe Sucameli, 2010-08-18 05:24 PM

Download (691 Bytes)

View differences:

src/app/qgsvectorlayerproperties.cpp (working copy)
756 756
  }
757 757
  else
758 758
  {
759
    QString typeString( QGis::qgisVectorGeometryType[layer->geometryType()] );
759
    QString typeString( QGis::qgisVectorGeometryType[type] );
760 760

  
761
    QGis::WkbType wkb = layer->wkbType();
762
    if ( wkb >= QGis::WKBPoint25D )
763
    {
764
      typeString += "3D";
765
    }
766

  
761 767
    myMetadata += "<tr><td>";
762 768
    myMetadata += tr( "Geometry type of the features in this layer: %1" ).arg( typeString );
763 769
    myMetadata += "</td></tr>";