diff --git a/get_nib.py b/get_nib.py index b93ba5779854fbd63b6a25789d7120b2c00eda77..e02ca6daf1617a585d7bbaf38ae783c08652aa33 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