[QGIS-trac] [Quantum GIS] #1370: projection not recognized

Quantum GIS qgis at qgis.org
Mon Oct 20 05:34:02 EDT 2008


#1370: projection not recognized
------------------------------------------------+---------------------------
   Reporter:  pcav                              |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.0.0
  Component:  Projection Support                |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 While opening a shp with the attached .prj[1], the projection is not
 recognized, and defaults to the longlat (as defined for the project).
 From the shell I get:
 Warning: QgsCoordinateReferenceSystem::getRecord failed :  select * from
 tbl_srs where parameters='+proj=tmerc +lat_0=39.66666666666666
 +lon_0=-8.131906111111112 +k=1 +x_0=200000 +y_0=300000 +ellps=intl
 +units=m +no_defs'
 Warning: QgsCoordinateReferenceSystem::findMatchingProj will only work if
 prj acr ellipsoid acr and proj4string are set!...
 Critical: Data source is invalid

 [1]
 PROJCS["Lisboa_Hayford_Gauss_IGeoE",GEOGCS["GCS_Datum_Lisboa_Hayford",DATUM["D_Datum_Lisboa_Hayford",SPHEROID["International_1924",6378388.0,297.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000.0],PARAMETER["False_Northing",300000.0],PARAMETER["Central_Meridian",-8.131906111111112],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Meter",1.0]]

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1370>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list