Skip to content

Commit

Permalink
[Server] WFS update indetation and spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Apr 8, 2017
1 parent d018f03 commit cd506aa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions src/server/services/wfs/qgswfsdescribefeaturetype.h
Expand Up @@ -28,18 +28,18 @@

namespace QgsWfs
{
void setSchemaLayer( QDomElement& parentElement, QDomDocument& doc, const QgsVectorLayer* layer );
void setSchemaLayer( QDomElement &parentElement, QDomDocument &doc, const QgsVectorLayer *layer );

/**
* Create get capabilities document
*/
QDomDocument createDescribeFeatureTypeDocument( QgsServerInterface* serverIface, const QgsProject* project, const QString& version,
const QgsServerRequest& request );
QDomDocument createDescribeFeatureTypeDocument( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
const QgsServerRequest &request );

/** Output WFS GetCapabilities response
*/
void writeDescribeFeatureType( QgsServerInterface* serverIface, const QgsProject* project, const QString& version,
const QgsServerRequest& request, QgsServerResponse& response );
void writeDescribeFeatureType( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
const QgsServerRequest &request, QgsServerResponse &response );

} // samespace QgsWfs

Expand Down
4 changes: 2 additions & 2 deletions src/server/services/wfs/qgswfsgetcapabilities.h
Expand Up @@ -29,12 +29,12 @@ namespace QgsWfs
/**
* Create FeatureTypeList element for get capabilities document
*/
QDomElement getFeatureTypeListElement( QDomDocument& doc, QgsServerInterface* serverIface, const QgsProject* project );
QDomElement getFeatureTypeListElement( QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project );

/**
* Create Service element for get capabilities document
*/
QDomElement getServiceElement( QDomDocument& doc, const QgsProject* project );
QDomElement getServiceElement( QDomDocument &doc, const QgsProject *project );

/**
* Create get capabilities document
Expand Down
8 changes: 4 additions & 4 deletions src/server/services/wfs/qgswfstransaction.cpp
Expand Up @@ -461,7 +461,7 @@ namespace QgsWfs
if ( !vlayer->commitChanges() )
{
action.error = true;
action.errorMsg = QStringLiteral( "Error commiting updates: %1" ).arg( vlayer->commitErrors().join( QStringLiteral( "; " ) ) );
action.errorMsg = QStringLiteral( "Error committing updates: %1" ).arg( vlayer->commitErrors().join( QStringLiteral( "; " ) ) );
vlayer->rollBack();
continue;
}
Expand Down Expand Up @@ -558,7 +558,7 @@ namespace QgsWfs
if ( !vlayer->commitChanges() )
{
action.error = true;
action.errorMsg = QStringLiteral( "Error commiting deletes: %1" ).arg( vlayer->commitErrors().join( QStringLiteral( "; " ) ) );
action.errorMsg = QStringLiteral( "Error committing deletes: %1" ).arg( vlayer->commitErrors().join( QStringLiteral( "; " ) ) );
vlayer->rollBack();
continue;
}
Expand Down Expand Up @@ -658,7 +658,7 @@ namespace QgsWfs
if ( !vlayer->commitChanges() )
{
action.error = true;
action.errorMsg = QStringLiteral( "Error commiting inserts: %1" ).arg( vlayer->commitErrors().join( QStringLiteral( "; " ) ) );
action.errorMsg = QStringLiteral( "Error committing inserts: %1" ).arg( vlayer->commitErrors().join( QStringLiteral( "; " ) ) );
vlayer->rollBack();
continue;
}
Expand Down Expand Up @@ -739,7 +739,7 @@ namespace QgsWfs
}
currentAttributeChild = currentAttributeChild.nextSibling();
}
// update fetaure list
// update feature list
featList << feat;
}
return featList;
Expand Down

0 comments on commit cd506aa

Please sign in to comment.