[GIS] Distance matrix (metres instead of degrees) in QGIS

distance matrixqgis

I have a problem related to the distance matrix in QGIS (2.12.0). Instead of meters it calculates distances in degrees. I found that some other users faced also this problem. I tried to solve it according to the instructions given by others. Unfortunately it didn’t work in my case. I don’t know where the problem is.

Regarding project properties, I set enable on the fly CRS transformation and chose ETRS89 / Poland CS92 as my project CRS. For Settings->Options->CRS I chose Automatically enable on the fly reprojection by default; and use project CRS for new layers.

I uploaded CSV file with x,y coordinates (the sample: 52.29685 20.93881 DORYCKA 5, Warszawa). And then saved this CSV as ESRI shp (with project CRS). The objects were visualized on the map.

Unfortunately, as I said, I was able only to measure distance matrix in degrees – is it possible to do so in metres?

Best Answer

Look at my setting: enter image description here enter image description here

In this sample your coordinates 52.29685 20.93881 are probably in WGS84 (EPSG:4326) that you need change "use crs" to "ask about crs..." - second screen. I think that you create new shp layer using menu LAYER>Add Layer>Add text Layer csv. After clicking "OK" you will be asked abut CRS. Pick from list WGS84. enter image description here After that the layer will created with original CRS (WGS84). enter image description here Now right click on layer and "Save as..." and pick CRS92. This will convert your layer from WGS84 to CRS92. Nextly open new project with CRS92 and add converted layer. That should do your job.