Skip to content

Commit

Permalink
DescribeFeatureType support namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Nov 15, 2012
1 parent b1e02ee commit 565d2eb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/mapserver/qgsprojectparser.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 565d2eb

Please sign in to comment.