Skip to content

Commit

Permalink
rm broken labels to see which are actually broken
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Apr 3, 2024
1 parent edcd8c0 commit 0af8eef
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 49 deletions.
32 changes: 16 additions & 16 deletions provider_sources/_compress_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,22 +180,22 @@ def update_year(provider_or_tile):

# Handle broken providers
possibly_broken_providers = [
"Points_Injection_Biomethane",
"Ocsge_Usage_2016",
"Ocsge_Usage_2011",
"Ocsge_Couverture_2016",
"Ocsge_Couverture_2014",
"Orthoimagery_Orthophotos_Geneve",
"Orthoimagery_Orthophotos_Coast2000",
"Ocsge_Couverture_2011",
"Ocsge_Couverture_2002",
"Ocsge_Constructions_2016",
"Ocsge_Constructions_2014",
"Ocsge_Constructions_2011",
"Ocsge_Constructions_2002",
"Ocsge_Usage_2002",
"Ocsge_Usage_2014",
"Pcrs_Lamb93"
# "Points_Injection_Biomethane",
# "Ocsge_Usage_2016",
# "Ocsge_Usage_2011",
# "Ocsge_Couverture_2016",
# "Ocsge_Couverture_2014",
# "Orthoimagery_Orthophotos_Geneve",
# "Orthoimagery_Orthophotos_Coast2000",
# "Ocsge_Couverture_2011",
# "Ocsge_Couverture_2002",
# "Ocsge_Constructions_2016",
# "Ocsge_Constructions_2014",
# "Ocsge_Constructions_2011",
# "Ocsge_Constructions_2002",
# "Ocsge_Usage_2002",
# "Ocsge_Usage_2014",
# "Pcrs_Lamb93"
]

if name in possibly_broken_providers:
Expand Down
50 changes: 17 additions & 33 deletions xyzservices/data/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -2958,7 +2958,7 @@
]
],
"min_zoom": 0,
"max_zoom": 20,
"max_zoom": 21,
"format": "image/jpeg",
"style": "normal",
"variant": "ORTHOIMAGERY.ORTHOPHOTOS",
Expand Down Expand Up @@ -8852,8 +8852,7 @@
"variant": "OCSGE.CONSTRUCTIONS.2002",
"name": "GeoportailFrance.Ocsge_Constructions_2002",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Constructions_2011": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -8876,8 +8875,7 @@
"variant": "OCSGE.CONSTRUCTIONS.2011",
"name": "GeoportailFrance.Ocsge_Constructions_2011",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Constructions_2014": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -8900,8 +8898,7 @@
"variant": "OCSGE.CONSTRUCTIONS.2014",
"name": "GeoportailFrance.Ocsge_Constructions_2014",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Constructions_2016": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -8924,8 +8921,7 @@
"variant": "OCSGE.CONSTRUCTIONS.2016",
"name": "GeoportailFrance.Ocsge_Constructions_2016",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Constructions_2017": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand Down Expand Up @@ -9017,8 +9013,7 @@
"variant": "OCSGE.COUVERTURE.2002",
"name": "GeoportailFrance.Ocsge_Couverture_2002",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Couverture_2011": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -9041,8 +9036,7 @@
"variant": "OCSGE.COUVERTURE.2011",
"name": "GeoportailFrance.Ocsge_Couverture_2011",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Couverture_2014": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -9065,8 +9059,7 @@
"variant": "OCSGE.COUVERTURE.2014",
"name": "GeoportailFrance.Ocsge_Couverture_2014",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Couverture_2016": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -9089,8 +9082,7 @@
"variant": "OCSGE.COUVERTURE.2016",
"name": "GeoportailFrance.Ocsge_Couverture_2016",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Couverture_2017": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand Down Expand Up @@ -9182,8 +9174,7 @@
"variant": "OCSGE.USAGE.2002",
"name": "GeoportailFrance.Ocsge_Usage_2002",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Usage_2011": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -9206,8 +9197,7 @@
"variant": "OCSGE.USAGE.2011",
"name": "GeoportailFrance.Ocsge_Usage_2011",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Usage_2014": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -9230,8 +9220,7 @@
"variant": "OCSGE.USAGE.2014",
"name": "GeoportailFrance.Ocsge_Usage_2014",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Usage_2016": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -9254,8 +9243,7 @@
"variant": "OCSGE.USAGE.2016",
"name": "GeoportailFrance.Ocsge_Usage_2016",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Ocsge_Usage_2017": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand Down Expand Up @@ -11670,8 +11658,7 @@
"variant": "ORTHOIMAGERY.ORTHOPHOTOS.COAST2000",
"name": "GeoportailFrance.Orthoimagery_Orthophotos_Coast2000",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Orthoimagery_Orthophotos_Geneve": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -11694,8 +11681,7 @@
"variant": "ORTHOIMAGERY.ORTHOPHOTOS.GENEVE",
"name": "GeoportailFrance.Orthoimagery_Orthophotos_Geneve",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Orthoimagery_Orthophotos_Ilesdunord": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand Down Expand Up @@ -13052,8 +13038,7 @@
"variant": "PCRS.LAMB93",
"name": "GeoportailFrance.Pcrs_Lamb93",
"TileMatrixSet": "LAMB93_5cm",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Points_Injection_Biomethane": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand All @@ -13076,8 +13061,7 @@
"variant": "POINTS.INJECTION.BIOMETHANE",
"name": "GeoportailFrance.Points_Injection_Biomethane",
"TileMatrixSet": "PM",
"apikey": "your_api_key_here",
"status": "broken"
"apikey": "your_api_key_here"
},
"Potentiel_Eolien_Reglementaire": {
"url": "https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE={style}&TILEMATRIXSET={TileMatrixSet}&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",
Expand Down

0 comments on commit 0af8eef

Please sign in to comment.