From e60d6d64590f16460609606fff4fe23ef940b05f Mon Sep 17 00:00:00 2001
From: A Nilsen <ban@nibio.no>
Date: Thu, 16 Feb 2023 20:35:30 +0000
Subject: [PATCH] Lagt til bare Ortofoto (9)

---
 get_nib.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/get_nib.py b/get_nib.py
index b93ba57..e02ca6d 100644
--- a/get_nib.py
+++ b/get_nib.py
@@ -641,8 +641,8 @@ class getnib:
 
             # Load Norge i bilder-project based on the bounding box (geojson-format x1,y1;x2,y2;x3,y3;...)
             # https://norgeibilder.no/dok/webtjenester.pdf
-            # 1 = Ortofoto 10, 2 = Ortofoto 20, 3 = Ortofoto 50, 4 = Ortofoto N50, 5 = Ortofoto Skog, 6 = Satellittbilde, 7 = Infrarødt, 8 = Rektifiserte flybilder
-            para=parse.quote('{Filter:"ortofototype in (1,2,3,4,5,6,7,8)",Coordinates:"'+coords+'",InputWKID:'+str(crs_proj_int)+',StopOnCover:false}')
+            # 1 = Ortofoto 10, 2 = Ortofoto 20, 3 = Ortofoto 50, 4 = Ortofoto N50, 5 = Ortofoto Skog, 6 = Satellittbilde, 7 = Infrarødt, 8 = Rektifiserte flybilder, 9 = Ortofoto
+            para=parse.quote('{Filter:"ortofototype in (1,2,3,4,5,6,7,8,9)",Coordinates:"'+coords+'",InputWKID:'+str(crs_proj_int)+',StopOnCover:false}')
             js = requests.get('https://tjenester.norgeibilder.no/rest/projectMetadata.ashx?request='+para).json()  #list with current of-project on json-format
             nib_liste = js['ProjectList']
             # Debugging
-- 
GitLab