Skip to content
Permalink
Browse files

Fixed CRS for OSM and GPX providers. Should fix #2661.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13425 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed May 5, 2010
1 parent 4a507e4 commit c40b1ed9c0f62d4231a1ade885e8ac5a21b996bd
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/gpx/qgsgpxprovider.cpp
  2. +1 −1 src/providers/osm/osmprovider.cpp
@@ -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
}


@@ -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
}


0 comments on commit c40b1ed

Please sign in to comment.
You can’t perform that action at this time.