Skip to content
Permalink
Browse files

DescribeFeatureType support namespace

  • Loading branch information
rldhont committed Nov 15, 2012
1 parent b1e02ee commit 565d2eb8b7b719074b77f1862fcbce5640d9022a
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/mapserver/qgsprojectparser.cpp
@@ -253,7 +253,14 @@ void QgsProjectParser::describeFeatureType( const QString& aTypeName, QDomElemen
QStringList typeNameList;
if ( aTypeName != "" )
{
typeNameList = aTypeName.split( "," );
QStringList typeNameSplit = aTypeName.split( "," );
foreach (const QString &str, typeNameSplit)
{
if ( str.contains( ":" ) )
typeNameList << str.section(":", 1, 1 );
else
typeNameList << str;
}
}

foreach ( const QDomElement &elem, mProjectLayerElements )

0 comments on commit 565d2eb

Please sign in to comment.
You can’t perform that action at this time.