diff --git a/ORStools/gui/ORStoolsDialog.py b/ORStools/gui/ORStoolsDialog.py index 871ff727..b506d0d1 100644 --- a/ORStools/gui/ORStoolsDialog.py +++ b/ORStools/gui/ORStoolsDialog.py @@ -448,9 +448,7 @@ def _save_vertices_to_layer(self): ] if len(items) > 0: - crs = QgsCoordinateReferenceSystem("EPSG:4326") - point_layer = QgsVectorLayer("Point?crs=4326&field=ID:integer", "Vertices", "memory") - point_layer.setCrs(crs) + point_layer = QgsVectorLayer("point?crs=epsg:4326&field=ID:integer", "Vertices", "memory") point_layer.updateFields() for idx, x in enumerate(items): coords = x.split(":")[1]