Skip to content

Commit 2f0b8d2

Browse files
authored
Merge pull request #127 from GispoCoding/126-korjaa-kaavan-ulkoraja-JSON
Ulkoraja JSON korjaus
2 parents a2cca41 + 047ab2c commit 2f0b8d2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arho_feature_template/core/lambda_service.py

-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from qgis.PyQt.QtNetwork import QNetworkAccessManager, QNetworkProxy, QNetworkReply, QNetworkRequest
1010
from qgis.PyQt.QtWidgets import QMessageBox
1111

12-
from arho_feature_template.project.layers.plan_layers import PlanLayer
1312
from arho_feature_template.utils.misc_utils import get_active_plan_id, get_settings
1413

1514

@@ -114,10 +113,7 @@ def _process_json_reply(self, response_json: dict):
114113
if plan_json:
115114
geographical_area = plan_json.get("geographicalArea")
116115
if geographical_area:
117-
outline_name = PlanLayer.get_plan_name(plan_id)
118116
outline_json = {
119-
"type": "Feature",
120-
"properties": {"name": outline_name},
121117
"srid": geographical_area.get("srid"),
122118
"geometry": geographical_area.get("geometry"),
123119
}

0 commit comments

Comments
 (0)