I have issues in re-projecting a vector layer to match the rest of my data. I have a polygon vector layer with districts, as well as a point layer in WGS84. I know these are correct since I've been viewing them correctly in Google Maps and Google Earth in KML format. Then I have a vector layer of lines (given to me by another party) that appear far away from my other data in QGIS, and also in a completely different scale (the lines are way larger in comparison to by districts). The layer spatial reference units are also different in this layer, it is not shown in degrees as it is in the rest of my data.

I have been trying to re-project this to WGS84 (EPSG:4326), but the new layer appears in the same spot as before. I have also tried re-projecting it to WGS84 Pseudo Mercator (EPSG:3857), when I do that, the data disappears (can't find it though I try to zoom to it).

How can I alter/re-project the line-layer to match the rest of my data?


I found the solution. I'm not sure what the problem was. No CRS was defined for my vector line-layer. But amongst other data associated with the vector line-layer I found shape-files with a CRS assigned to them. These ones matched with my line-layer. So I saved my line-layer to that CRS, and then I saved that file again as WGS84 (EPSG:4326), and then it matched with the rest of my data!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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