Merge pull request #10013 from elpaso/wfs3-ogr-client-fix

Fix WFS3 OGR build URI
This commit is contained in:
Alessandro Pasotti 2019-05-15 18:29:45 +02:00 committed by GitHub
commit 7df3163743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,8 @@ QString createProtocolURI( const QString &type, const QString &url, const QStri
{
uri = QStringLiteral( "DODS:%1" ).arg( url );
}
else if ( type == QLatin1String( "WFS3" ) )
// Check beginning because of "experimental"
else if ( type.startsWith( QLatin1String( "WFS3" ) ) )
{
uri = QStringLiteral( "WFS3:%1" ).arg( url );
}