[QGIS-trac] Re: [Quantum GIS] #3746: Not recognizing Shapefile Projection

Quantum GIS qgis at qgis.org
Sat Apr 16 12:17:45 EDT 2011


#3746: Not recognizing Shapefile Projection
------------------------------------------------+---------------------------
   Reporter:  rmercer                           |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Projection Support                |            Version:  1.6.0        
   Keywords:  Shapefile, Projection             |   Platform_version:  Win XP       
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by aghisla):

 The zip file misses the dbf, and the .shp has a further .xml extension, so
 I tried to reproduce the problem with my own data.

 I set the project CRS as WGS84 and enable OTFR. Then added a shp without
 projection information, and have been prompted for its CRS. I specified
 epsg:3003 (italian projection), and the layer's scale and position are
 transformed values in degrees. Adding another shapefile, with prj,
 automatically reprojects it to WGS84 in the correct lat/lon place.

 In Options dialog > CRS tab, you can select what QGIS should do when the
 user adds a layer without CRS information. The default is to assign WGS84.
 That's why, without a prj file, and even if the coordinates are in a
 projected CRS, QGIS assumes that it is in lat/lon and simply uses the
 values as they are.

 I personally changed the default action to Prompt for CRS - so that I'm
 notified that there is no projection information and QGIS would hardly
 guess it.

 Can you still upload a valid shapefile for this specific case?

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3746#comment:1>
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