geopython / geopython/CadTools

Capture orthogonal lines/polygons do not works

Open
#3 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
24
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Capture orthogonal lines/polygons function works incorrect. In polygonal layer it draws lines and in line layer it draws points (vertexes). When you trying to complete object creation the error appears.

Traceback (most recent call last):
File "C:\Users\aborodul/.qgis2/python/plugins\cadtools\tools\orthogonaldigitizer.py", line 89, in canvasPressEvent
self.createFeature()
File "C:\Users\aborodul/.qgis2/python/plugins\cadtools\tools\orthogonaldigitizer.py", line 126, in createFeature
layerEPSG = layer.srs().epsg()
AttributeError: 'QgsVectorLayer' object has no attribute 'srs'

Версия Python:
2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

Версия:
2.0.1-Dufour Dufour, exported

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.