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 have two shapefiles with same location and extends (EPSG 4326). But one of the shapefiles CRS seems to be damaged after doing a lot wrong with reprojection... its not shown on the same position as the first, not damaged one.

Both have just to be on the same "place". How can I do that?

Damaged: damaged

Good: good

share|improve this question
Neither of the layers seems to be correct. Both layer's extents are impossible for EPSG:4326 which is limited to -180<x<180 and -90<y<90. –  underdark Mar 17 '13 at 14:57
Do you have the original, before messing with the CRS? If the original was in some other CRS, and you don't know what it was, there's probably not much to be done. :-( –  Micha Mar 17 '13 at 14:57
add comment

1 Answer

up vote 2 down vote accepted

The extent of both files looks like you have reprojected the data to a projected CRS, but then assigned a longlat CRS in the end. In this way, units are metres, not degrees as it should be with longlat.

If you know which CRS you have reprojected to, you can assign that to the shapefile with Vector -> Data Management Tools -> Define current projection, and then reproject the data to WGS84 with Rightclick -> Save As... and choosing the CRS.

If you don't know, but can give the extent of the original shapefile in degrees, we could try to find out the projected CRS.


UTM 39N (EPSG:32639) applied to the first extent looks rather good:

enter image description here

red stars are "bad" UTM39N coordinates, green ones "good" UTM 36N coordinates.

share|improve this answer
I dont know. I guess I typed in a wrong EPSG so I dont know, to which crs I reprojected the file. I cant reproduce what I did... But I have the orginal file (second image in the post). What now? –  MAP Mar 17 '13 at 16:25
No, the second is also wrong. The extent for lonlat coordinates must be between +/-180/90 (degrees). Your values are much greater, probably also in metres. –  Andre Joost Mar 17 '13 at 18:38
oh, yes! Wrong screenshot. I changed it. The second image shows now the metadata of the good shapefile. –  MAP Mar 17 '13 at 18:47
Looks like UTM 39N, see my screenshot! –  Andre Joost Mar 17 '13 at 19:16
Bingo! Thanks a lot! –  MAP Mar 18 '13 at 21:02
add comment

Your Answer


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.