Skip to content

Commit bf8ed47

Browse files
committed
WMS Server: show native type in GetProjectSettings
1 parent 9b71d08 commit bf8ed47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mapserver/qgsprojectparser.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1573,6 +1573,7 @@ void QgsProjectParser::addLayerProjectSettings( QDomElement& layerElem, QDomDocu
15731573
QDomElement attributeElem = doc.createElement( "Attribute" );
15741574
attributeElem.setAttribute( "name", vLayer->attributeDisplayName( idx ) );
15751575
attributeElem.setAttribute( "type", QVariant::typeToName( field.type() ) );
1576+
attributeElem.setAttribute( "typeName", field.typeName() );
15761577

15771578
//edit type to text
15781579
QgsVectorLayer::EditType typeEnum = vLayer->editType( idx );

0 commit comments

Comments
 (0)