[GIS] Digitizing Tools error in QGIS

digitizingqgis

I receive this message: Digitizing Tools: Amend Line is disabled because layer CRS and project CRS do not match.

If I set the CRS of the layer the same as the project CRS (W84 Pseudo Mercator) is misaligned and in a unknown location.

My project is EPSG: 3857 / WGS 84 / Pseudo Mercator

First layer is a Bing Aerial (Web > OpenLayersPlugin > BingMaps > Bing Aerial) – CRS: EPSG 3857 / WGS 84 / Pseudo Mercator

Another layers with shapefiles lines and points captured from OSM. – CRS: ESPG 4326 / WGS84, which is OK on top the base layer.

About the error: the layer in question is a shapefile line layer (roads) – CRS: ESPG 4326 / WGS84, which is OK on top the base layer.

Best Answer

The Digitizing tool does not work correctly with on-the-fly reprojection.

If you need the project CRS to be EPSG:3857, reproject the shapefiles layers using Save As ... to another filename and EPSG:3857, and remove the original layers from the project. Then you can use the digitizing tool without error messages.

Once finished with digitzing, you can save back to EPSG:4326.

DON'T USE Set Layer CRS to reproject, it will corrupt your data.

Related Question