Bug report #15504

QGIS cannot recognize EPSG:4326 projection

Added by dr - about 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Projection Support
Affected QGIS version:master Regression?:No
Operating System:Ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:No Copied to github as #:23428

Description

I'm using QGIS Master from official repository alongside custom GDAL build:

Compiled against GDAL/OGR 2.1.0
Running against GDAL/OGR 2.1.1

If open shapefile with EPSG:4326 projection then QGIS ask about projection because cannot determine it:

src/core/qgsvectorlayer.cpp: 2830: (setCoordinateSystem) [0ms] ----- Computing Coordinate System
src/providers/ogr/qgsogrprovider.cpp: 2692: (crs) [0ms] Entering.
src/core/qgscoordinatereferencesystem.cpp: 191: (setupESRIWktFix) [0ms] set GDAL_FIX_ESRI_WKT : GEOGCS
src/providers/ogr/qgsogrprovider.cpp: 2728: (crs) [4ms] +proj=longlat +datum=WGS84 +no_defs 
src/core/qgscoordinatereferencesystem.cpp: 411: (createFromWkt) [0ms] wkt: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
src/core/qgscoordinatereferencesystem.cpp: 432: (createFromWkt) [0ms] authid recognized as EPSG:4326
src/core/qgscoordinatereferencesystem.cpp: 364: (loadFromDb) [1ms] failed : select srs_id,description,projection_acronym,ellipsoid_acronym,parameters,srid,auth_name||':'||auth_id,is_geo from tbl_srs where lower(auth_name||':'||auth_id)='epsg:4326' order by deprecated

History

#1 Updated by dr - about 8 years ago

Also I can't find EPSG:4326 and EPSG:3857 projections within QGIS CRS Selector window.

#2 Updated by dr - about 8 years ago

  • Resolution set to wontfix

It was GDAL issue https://trac.osgeo.org/gdal/ticket/6543. Already fixed in trunk.

#3 Updated by Nyall Dawson about 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF