Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I added a shape file of Iran to Qgis.

'Tehran' has 35.6833° N, 51.4167° E coordiantes, however Qgis shows Tehran with 4772860,31296767.

How i can view coordinates of a city or location in latitude and longitude form in qgis?

Thanks.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Simpliest way is to set EPSG:4326 as Project CRS and check on-the-fly projection. If Qgis recognizes the CRS information in the shapefile, it wil place it in the correct position.

Please note that project CRS and layer CRS can be different, and have to be in your case.

share|improve this answer
    
after selecting EPSG:4326 for layer the coordinates does not change for cities and still remains as there were. how i check on-the-fly projection? –  r.zarei Aug 16 '12 at 7:35
    
The CRS for the shapefile Layer should be EPSG: 32638, which is WGS-UTM 38N. You have to change the project CRS to EPSG 4326 under Settings/Project Settings. There you find also the checkbox for on-the-fly-projection. –  Andre Joost Aug 16 '12 at 7:40
    
@r.zarei, I had to remove the layer and add it in again, then everything worked for me. –  Richard Nov 17 '12 at 16:16

You need to know the coordinate system/projection of the projected data in order to unproject it back to decimal degrees.

share|improve this answer
    
Thanks for your reply. How i find out CRS of projected data? –  r.zarei Aug 16 '12 at 0:57
    
is there not meta data for the files? If it is a country standard then start there. Otherwise the data are useless –  Dan Patterson Aug 16 '12 at 1:06
    
there are .prj, .dbf, .sbn, .sbx and .shx files for each layer. –  r.zarei Aug 16 '12 at 1:14
    
The .prj file contains the necessary CRS information. You can open it with any text editor, and copy the text in here to investigate further. –  Andre Joost Aug 16 '12 at 5:19
    
@AndreJoost: Content of .prj file: PROJCS["WGS_1984_UTM_Zone_38N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID‌​["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.017‌​4532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",50000‌​0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",45.0],PARAMETER‌​["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]] –  r.zarei Aug 16 '12 at 7:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.