[QGIS Commit] r13425 - in trunk/qgis/src/providers: gpx osm
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed May 5 07:04:19 EDT 2010
Author: wonder
Date: 2010-05-05 07:04:17 -0400 (Wed, 05 May 2010)
New Revision: 13425
Modified:
trunk/qgis/src/providers/gpx/qgsgpxprovider.cpp
trunk/qgis/src/providers/osm/osmprovider.cpp
Log:
Fixed CRS for OSM and GPX providers. Should fix #2661.
Modified: trunk/qgis/src/providers/gpx/qgsgpxprovider.cpp
===================================================================
--- trunk/qgis/src/providers/gpx/qgsgpxprovider.cpp 2010-05-05 08:39:31 UTC (rev 13424)
+++ trunk/qgis/src/providers/gpx/qgsgpxprovider.cpp 2010-05-05 11:04:17 UTC (rev 13425)
@@ -850,7 +850,7 @@
QgsCoordinateReferenceSystem QgsGPXProvider::crs()
{
- return QgsCoordinateReferenceSystem(); // use default CRS - it's WGS84
+ return QgsCoordinateReferenceSystem( GEOSRID, QgsCoordinateReferenceSystem::PostgisCrsId ); // use WGS84
}
Modified: trunk/qgis/src/providers/osm/osmprovider.cpp
===================================================================
--- trunk/qgis/src/providers/osm/osmprovider.cpp 2010-05-05 08:39:31 UTC (rev 13424)
+++ trunk/qgis/src/providers/osm/osmprovider.cpp 2010-05-05 11:04:17 UTC (rev 13425)
@@ -937,7 +937,7 @@
QgsCoordinateReferenceSystem QgsOSMDataProvider::crs()
{
- return QgsCoordinateReferenceSystem(); // use default CRS - it's WGS84
+ return QgsCoordinateReferenceSystem( GEOSRID, QgsCoordinateReferenceSystem::PostgisCrsId ); // use WGS84
}
More information about the QGIS-commit
mailing list