Skip to content

Commit

Permalink
Fix setDestinationCRS
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Nov 14, 2016
1 parent b13b4f9 commit 9ad365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswfsserver.cpp
Expand Up @@ -1221,7 +1221,7 @@ void QgsWfsServer::startGetFeature( QgsRequestHandler& request, const QString& f
QgsGeometry exportGeom = QgsGeometry::fromRect( *rect );
QgsCoordinateTransform transform;
transform.setSourceCrs( crs );
transform.setDestinationCRS( QgsCoordinateReferenceSystem( 4326, QgsCoordinateReferenceSystem::EpsgCrsId ) );
transform.setDestinationCrs( QgsCoordinateReferenceSystem( 4326, QgsCoordinateReferenceSystem::EpsgCrsId ) );
try
{
if ( exportGeom.transform( transform ) == 0 )
Expand Down

0 comments on commit 9ad365e

Please sign in to comment.