Skip to content
Snippets Groups Projects
Commit 662cdbc3 authored by A Nilsen's avatar A Nilsen
Browse files

Inkl. error message hvis prosjekttype ikke er satt

parent 767abea2
No related branches found
No related tags found
No related merge requests found
......@@ -673,6 +673,9 @@ class getnib:
param ='{Filter:"ortofototype in (6,7)",Coordinates:"'+coords+'",InputWKID:'+str(crs_proj_int)+',StopOnCover:false}'
if ir and not sat and not of:
param ='{Filter:"ortofototype in (7)",Coordinates:"'+coords+'",InputWKID:'+str(crs_proj_int)+',StopOnCover:false}'
if not of and not sat and not ir:
self.iface.messageBar().pushMessage("Error", "project type must be set", level=Qgis.Critical, duration=3)
return
# para=parse.quote('{Filter:"ortofototype in (1,2,3,4,5,6,7,8,9)",Coordinates:"'+coords+'",InputWKID:'+str(crs_proj_int)+',StopOnCover:false}')
para=parse.quote(param)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment