Skip to content

Commit

Permalink
Fixed CRS for OSM and GPX providers. Should fix #2661.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13425 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed May 5, 2010
1 parent 4a507e4 commit c40b1ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/gpx/qgsgpxprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ QString QgsGPXProvider::description() const

QgsCoordinateReferenceSystem QgsGPXProvider::crs()
{
return QgsCoordinateReferenceSystem(); // use default CRS - it's WGS84
return QgsCoordinateReferenceSystem( GEOSRID, QgsCoordinateReferenceSystem::PostgisCrsId ); // use WGS84
}


Expand Down
2 changes: 1 addition & 1 deletion src/providers/osm/osmprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ const QgsFieldMap & QgsOSMDataProvider::fields() const

QgsCoordinateReferenceSystem QgsOSMDataProvider::crs()
{
return QgsCoordinateReferenceSystem(); // use default CRS - it's WGS84
return QgsCoordinateReferenceSystem( GEOSRID, QgsCoordinateReferenceSystem::PostgisCrsId ); // use WGS84
}


Expand Down

0 comments on commit c40b1ed

Please sign in to comment.