diff --git a/data/product_metadata.json b/data/product_metadata.json
index fc6fea9..f5c31ed 100644
--- a/data/product_metadata.json
+++ b/data/product_metadata.json
@@ -251,6 +251,13 @@
"Formats de fitxer": "",
"Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2021"
},
+ {
+ "Producte": "Referencial topogràfic territorial",
+ "Cobertura": "2022",
+ "Carpeta": "Territorial topographic referential 2022 (temporal serie)",
+ "Formats de fitxer": "",
+ "Metadades": ""
+ },
{
"Producte": "Referencial topogràfic territorial",
"Cobertura": "Vigent",
diff --git a/i18n/openicgc_ca.ts b/i18n/openicgc_ca.ts
index 16769a2..dee70b2 100644
--- a/i18n/openicgc_ca.ts
+++ b/i18n/openicgc_ca.ts
@@ -27,42 +27,42 @@
OpenICGC
-
+
Cerca espacial
-
+
Cercar
-
+
Mapes de fons
-
+
Esborrar mapes de fons
-
+
Transparència
-
+
Recarregar Open ICGC
-
+
Error, localització sense coordenades
-
+
-
+
Sèries temporals
-
+
Sobre Open ICGC
-
+
Ajuda
-
+
Seleccionar carpeta de descàrregues
-
+
Nom
-
+
Tipus
-
+
Municipi
-
+
Comarca
-
+
Municipis
-
+
Comarques
-
+
Províncies
-
+
Ortofoto color
-
+
[ST] Ortofoto color
-
+
Ortofoto infraroja
-
+
[ST] Ortofoto infraroja
-
+
Descàrregues
-
+
Obrir carpeta de descàrregues
-
+
Estil de pintat de les capes seleccionades
-
+
Desaturació de capa ràster
-
+
Referència %s
-
+
Descarregar àrea de mapa
-
+
Mida mínima de descàrrega no aconseguida (%d m costat)
-
+
Àrea màxima de descàrrega sobrepassada (%s m%s)
-
+
Canviar estil de geoPackage / base de dades
-
+
Error descarregant el fitxer o la selecció està fora de l'àrea de referència
-
+
Cal escriure algun text
-
+
-
+
-
+
-
+
Cercar topònims i adreces
-
+
Àrea
-
+
Comarca
-
+
Catalunya
-
+
Dades disponibles
-
+
Eina de descàrrega
-
+
Descarregar punt
-
+
-
+
Seleccionat:
-
+
Talls cartogràfics
-
+
Selecciona una àrea
-
+
Selecciona un municipi
-
+
Selecciona una comarca
-
+
Desconegut, servei no accessible
-
+
Llista de productes disponibles
-
+
-
+
Barra d'eines d'Open ICGC
-
+
Ressaltat d'alçades
-
+
Atenció:
-
+
Alertes de la versió de QGIS
-
+
Descarregar plugin
-
+
Actualització
disponible: %s
-
+
Pots modificar la brillantor de la capa "Ressaltat d'alçades" per ajustar la visualització a la teva capa de fons
-
+
Tall %s
-
+
Repositori de connectors de QGIS
-
+
Repositori de codi
-
+
Reportar una incidència
-
+
Envia'ns un email
-
+
-
+
@@ -520,541 +520,541 @@ Do you want change the project coordinate system to EPSG 25831?
Vols canviar el sistema de coordenades del projecte a EPSG 25831?
-
+
Novetats
-
+
Web de l'Institut Cartogràfic i Geològic de Catalunya
-
+
Ortofoto color vigent 25cm 1:2.500
-
+
Ortofoto color vigent 50cm 1:5.000
-
+
Ortofoto color vigent 2.5m 1:25.000
-
+
Ortofoto infraroja vigent 25cm 1:2.500
-
+
Ortofoto infraroja vigent 50cm 1:5.000
-
+
Ortofoto infraroja vigent 2.5m 1:25.000
-
+
Mapa topogràfic 1:25.000
-
+
Mapa topogràfic 1:50.000
-
+
Mapa topogràfic 1:100.000
-
+
Mapa topogràfic 1:250.000
-
+
Mapa topogràfic 1:500.000
-
+
Mapa topogràfic 1:1.000.000
-
+
Mapa topogràfic 1:2.000.000
-
+
Cartografia topogràfica 1:1.000
-
+
Referencial topogràfic territorial
-
+
Mapa de cobertes del sòl
-
+
Model d'elevacions del terreny 2m 2008-2011
-
+
Model d'elevacions del terreny 5m 2020
-
+
Mapa geològic 1:250.000
-
-
- %s dades vectorials
+
+
+ dades vectorials
-
-
- %s dades ràster
+
+
+ dades ràster
-
+
Referencial topogràfic territorial 3D
-
+
NDVI color (sèrie temporal)
-
+
[ST] NDVI color
-
+
NDVI (sèrie temporal)
-
+
[ST] NDVI
-
+
El tipus de fitxer %s no està suportat per QGIS
Vols intentar obrir el fitxer descarregat amb un visor extern?
-
+
Ortofoto color %s (provisional)
-
+
Ortofoto color %s (rectificació sense correccions)
-
+
Ortofoto color %s (sèrie temporal)
-
+
Ortofoto color (sèrie anual)
-
+
Ortofoto color satèl·lit (sèrie mensual)
-
+
Ortofoto infraroja %s (provisional)
-
+
Ortofoto infraroja %s (rectificació sense correccions)
-
+
Ortofoto infraroja %s (sèrie temporal)
-
+
Ortofoto infraroja (sèrie anual)
-
+
Ortofoto infraroja satèl·lit (sèrie mensual)
-
+
Ombrejat de capa MET
-
+
L'àrea seleccionada és fora de Catalunya
-
+
S'ha de seleccionar una capa de MET
-
+
Es pot modificar l'angle del sol en la simbologia de la capa
-
+
[SA] Ortofoto color
-
+
[SM] Ortofoto color satèl·lit
-
+
[SA] Ortofoto infraroja
-
+
[SM] Ortofoto infraroja satèl·lit
-
+
Mapa geològic 1:50.000
-
+
Caps de municipi
-
+
Vegueries
-
+
Divisions administratives
-
+
Referencial topogràfic territorial %s (sèrie temporal)
-
+
[ST] Referencial topogràfic territorial
-
+
Divisions administratives (Piràmide ràster)
-
+
No s'ha pogut obrir l'arxiu descarregat
-
+
ràster
-
+
vector
-
+
Fototeca
-
+
Fotogrames
-
+
Foto: %s
-
+
Consulta fotos: %s
-
+
Cercar fotogrames
-
+
Coord %s %s
-
+
Existeix un cerca de fotogrames prèvia. Vols tancar-la?
-
+
Cercar fotogrames interactivament
-
+
Cercar fotogrames per coordenada
-
+
Eina de cerca de fotogrames
-
+
Selecciona un punt
-
+
Introdueix valors x y en el sistema de coordenades del projecte o afegeix el corresponent codi EPSG en el següent format:
"429393.19 4580194.65" o "429393.19 4580194.65 EPSG:25831" o "EPSG:25831 429393.19 4580194.65"
-
+
Codi de vol
-
+
Data de vol
-
+
Any de vol
-
+
Arxiu d'imatge
-
+
Amplada d'imatge
-
+
Alçada d'imatge
-
+
Canals d'imatge
-
+
Bits PPC d'imatge
-
+
Tipus de color
-
+
Passada
-
+
Càmera
-
+
Distància focal
-
+
Mida de píxel
-
+
Escala
-
+
Alçada de vol
-
+
Alçada mitja del terra
-
+
Tipus de vista
-
+
Nord
-
+
Est
-
+
Codi EPSG
-
+
Omega
-
+
Phi
-
+
Kappa
-
+
Fotograma dins la passada
-
+
Espanya
-
+
Topogràfic IGN
-
+
Ortofoto PNOA
-
+
Andorra
-
+
Andorra topogràfic 1:25.000 1989
-
+
Andorra topogràfic 1:50.000 1987
-
+
Andorra ortofoto 1:5.000 2003
-
+
Andorra ortofoto 1:500-1.000 20cm 2008
-
+
Mon
-
+
Nasa blue marble
-
+
Mida mínima de descàrrega no aconseguida (%d px costat)
-
+
Àrea màxima de descàrrega sobrepassada (%s px%s)
-
+
Coordenades de l'àrea
-
+
-
+
Referencial topogràfic territorial volum
-
+
Polígons selecionats en una capa
-
+
Cal activar una capa vectorial amb un o més polígons seleccionats
-
+
-
+
El polígons tenen massa punts: %d màxim %d
-
+
Mapa topogràfic (piràmide topogràfica)
-
+
Mapa de cobertes del sòl (sèrie temporal)
-
+
[ST] Mapa de cobertes del sòl
-
+
Model d'elevacions del terreny %s
-
+
Format de coordenades incorrecte
-
+
Piràmide Instamaps
-
+
Cadastre
-
+
Mapa geològic 1:25.000 (GT I)
-
+
Mapa geològic per a la prevenció dels riscos geològics 1:25.000 (GT VI)
-
+
Reportar error de fotograma
-
+
Intentarem corregir-ho el més aviat possible
-
+
-
+
Cal seleccionar un fotograma
-
+
Mantenir escala
-
+
Anàglif
-
+
Estèreo invertit
-
+
Analògic
-
+
Fotograma anàglif central
-
+
[SA] Fotograma anàglif central
-
+
Fotograma rectificat central (sèrie anual)
-
+
[SA] Fotograma rectificat central
-
+
Fotograma central (sèrie anual)
-
+
[SA] Fotograma central
-
+
Fotograma anàglif central %s (sèrie anual)
-
+
Mostra només el fotograma més centrat en la vista mapa, pots apropar-te per obtenir una navegació contínua. L'any actual pot no tenir una cobertura completa
-
+
-
+
Cercar fotogrames per nom
-
+
Nom de fotograma:
-
+
Ortofoto color històrica 10cm 1:1.000
-
+
Ortofoto color històrica 25cm 1:2.500
-
+
Ortofoto color històrica 1m 1:10.000
-
+
Ortofoto infraroja històrica 10cm 1:1.000
-
+
Ortofoto infraroja històrica 25cm 1:2.500
-
+
Ortofoto infraroja històrica 50cm 1:5.000
-
+
Ortofoto infraroja històrica 1m 1:10.000
-
+
Ortofoto infraroja històrica 2,5m 1:25.000
-
+
Ortofoto color històrica 15cm 1:1.500
-
+
Ortofoto color històrica 50cm 1:5.000
-
+
Ortofoto color històrica 2,5m 1:25.000
-
+
Selecciona una zona
-
+
amb informació disponible
-
+
Rectangle contenidor de polígons selecionats en una capa
-
+
Guardar mapa com a PDF
-
+
Guardar mapa de situació com a PDF
-
+
Arxiu PDF (*.pdf)
-
+
Sist. Coord.: %s
Data de generació: %s
-
+
Error guardant l'arxiu PDF
-
+
Mapa topogràfic:
-
+
Mapa:
-
+
Mapa de situació:
-
+
Tests unitaris
-
+
Aquest PDF mostra totes les dades visibles del projecte QGIS en el moment de la seva generació
-
+
Activar registre d'informació de depuració
-
+
ContextMaps
-
+
ContextMaps mapa estàndard
-
+
ContextMaps mapa gris
-
+
ContextMaps mapa gris simplificat
-
+
ContextMaps ortofoto híbrida
-
+
Andorra topogràfic 1:25.000 2020
-
+
Andorra ortofoto 1:5.000 2012
-
+
Depuració
-
+
Obrir arxiu de registre de depuració
-
+
Obrir carpeta d'instal·lació del connector
-
+
Metadades de producte
-
+
S'ha arribat al nombre màxim de resultats (%d).
La consulta podria tenir més resultats dels mostrats.
-
+
Opcions anaglif
-
+
dd/MM/yyyy HH:mm:ss
-
+
Envia'ns un email amb informació de depuració
-
+
Capitals de comarca
-
+
Quadrícula %s
+
+
+
+ Referencial topogràfic territorial BIM
+
+
+
+
+ Full
+
+
+
+
+ Selecciona un full
+
PhotoSearchSelectionDialog
diff --git a/i18n/openicgc_es.ts b/i18n/openicgc_es.ts
index 9e0eccc..c1d7022 100644
--- a/i18n/openicgc_es.ts
+++ b/i18n/openicgc_es.ts
@@ -27,42 +27,42 @@
OpenICGC
-
+
Búsqueda espacial
-
+
Buscar
-
+
Mapas de fondo
-
+
Borrar mapas de fondo
-
+
Trasparencia
-
+
Recargar Open ICGC
-
+
Error, localización sin coordenadas
-
+
-
+
Series temporales
-
+
Acerca de Open ICGC
-
+
Ayuda
-
+
Selección de carpeta de descargas
-
+
Nombre
-
+
Tipo
-
+
Municipio
-
+
Comarca
-
+
Municipios
-
+
Comarcas
-
+
Provincias
-
+
Ortofoto color
-
+
[ST] Ortofoto color
-
+
Ortofoto infrarroja
-
+
[ST] Ortofoto infrarroja
-
+
Descargas
-
+
Abrir carpeta de descargas
-
+
Estilo de pintado de las capas seleccionadas
-
+
Desaturar capa raster
-
+
Referencia %s
-
+
Descargar área de mapa
-
+
Tamaño mínimo de descarga no alcanzado (%d m por lado)
-
+
Máxima área de descarga alcanzada (%s m%s)
-
+
Cambiar estilo de geoPackage / base de datos
-
+
Error descargando el fitchero o la selección está fuera del área de referencia
-
+
Debes escribir algun texto
-
+
-
+
-
+
-
+
Buscar topónimos y direcciones
-
+
Área
-
+
Comarca
-
+
Cataluña
-
+
Datos disponibles
-
+
Herramienta de descarga
-
+
Descarga puntual
-
+
-
+
Seleccionado:
-
+
Cortes cartográficos
-
+
Selecciona un área
-
+
Selecciona un municipio
-
+
Selecciona una comarca
-
+
Desconocido, servicio no accesible
-
+
Lista de productos disponibles
-
+
-
+
Barra de herramientas de Open ICGC
-
+
Resaltado de alturas
-
+
Atención:
-
+
Alertas de la versión de QGIS
-
+
Descargar plugin
-
+
Actualización
disponible: v%s
-
+
Puedes modificar el brillo de la capa "Resaltado de alturas" para ajustar la visualización a tu capa de fondo
-
+
Corte %s
-
+
Repositorio de conectores de QGIS
-
+
Repositorio de código
-
+
Reportar una incidencia
-
+
Envíanos un email
-
+
-
+
@@ -520,546 +520,546 @@ Do you want change the project coordinate system to EPSG 25831?
¿Quieres cambiar el sistema de coordenadas del projecto a EPSG 25831?
-
+
Novedades
-
+
Web del Instituto Cartográfico y Geológico de Cataluña
-
+
Ortofoto color vigente 25cm 1:2.500
-
+
Ortofoto color vigente 50cm 1:5.000
-
+
Ortofoto color vigente 2.5m 1:25.000
-
+
Ortofoto infrarroja vigente 25cm 1:2.500
-
+
Ortofoto infrarroja vigente 50cm 1:5.000
-
+
Ortofoto infrarroja vigente 2.5m 1:25.000
-
+
Mapa topográfico 1:25.000
-
+
Mapa topográfico 1:50.000
-
+
Mapa topográfico 1:100.000
-
+
Mapa topográfico 1:250.000
-
+
Mapa topográfico 1:500.000
-
+
Mapa topográfico 1:1.000.000
-
+
Mapa topográfico 1:2.000.000
-
+
Cartografía topográfica 1:1.000
-
+
Referencial topográfico territorial
-
+
Mapa de cubiertas del suelo
-
+
Modelo de elevaciones del terreno 2m 2008-2011
-
+
Modelo de elevaciones del terreno 5m 2020
-
+
Mapa geológico 1:250.000
-
-
- %s datos vectoriales
+
+
+ datos vectoriales
-
-
- %s datos ráster
+
+
+ datos ráster
-
+
Mapa geológico para la prevención de los riesgos geológicos 1:25.000 (GT VI)
-
+
Referencial topográfico territorial 3D
-
+
NDVI color (serie temporal)
-
+
[ST] NDVI color
-
+
NDVI (serie temporal)
-
+
[ST] NDVI
-
+
El tipo de fichero %s no está soportado por QGIS
¿Quieres intentar abrir el fichero descargado en un visor externo?
-
+
Ortofoto color %s (provisional)
-
+
Ortofoto color %s (rectificación sin correcciones)
-
+
Ortofoto color %s (serie temporal)
-
+
Ortofoto color (serie anual)
-
+
Ortofoto color satélite (serie mensual)
-
+
Ortofoto infrarroja %s (provisional)
-
+
Ortofoto infrarroja %s (rectificación sin correcciones)
-
+
Ortofoto infrarroja %s (serie temporal)
-
+
Ortofoto infrarroja %s (serie anual)
-
+
Ortofoto infrarroja satélite (serie mensual)
-
+
Sombreado de capa MET
-
+
El área seleccionada se encuentra fuera de Cataluña
-
+
Se ha de seleccionar una capa MET
-
+
Se puede modificar el ángulo del sol desde la simbología de la capa
-
+
[SA] Ortofoto color
-
+
[SM] Ortofoto color satélite
-
+
[SA] Ortofoto infrarroja
-
+
[SM] Ortofoto infrarroja satélite
-
+
Mapa geológico 1:50.000
-
+
Capitales de municipio
-
+
Veguerías
-
+
Divisiones administrativas
-
+
Referencial topográfico territorial %s (Serie temporal)
-
+
[ST] Referencial topográfico territorial
-
+
Divisiones administrativas (pirámide raster)
-
+
No se ha podido abrir el archivo descargado
-
+
raster
-
+
vector
-
+
Fototeca
-
+
Fotogramas
-
+
Foto: %s
-
+
Consulta fotogramas: %s
-
+
Buscar fotogramas
-
+
Coord %s %s
-
+
Existe una búsqueda de fotogramas previa. ¿Quieres cerrarla?
-
+
Buscar fotogramas interactivamente
-
+
Buscar fotogramas por coordenada
-
+
Herramienta de búsqueda de fotogramas
-
+
Selecciona un punto
-
+
Introduce valores x y en el sistema de coordenadas del proyecto o añade el correspondiente código EPSG en el siguiente formato:
"429393.19 4580194.65" o "429393.19 4580194.65 EPSG:25831" o "EPSG:25831 429393.19 4580194.65"
-
+
Código de vuelo
-
+
Fecha de vuelo
-
+
Año de vuelo
-
+
Archivo de imagen
-
+
Anchura de imagen
-
+
Altura de imagen
-
+
Canales de imagen
-
+
Bits PPC de imagen
-
+
Tipo de color
-
+
Pasada
-
+
Cámara
-
+
Distancia focal
-
+
Tamaño de píxel
-
+
Escala
-
+
Altura de vuelo
-
+
Altura media en tierra
-
+
Tipo de vista
-
+
Norte
-
+
Este
-
+
Código EPSG
-
+
Omega
-
+
Phi
-
+
Kappa
-
+
Fotograma dentro de pasada
-
+
España
-
+
Topográfico IGN
-
+
Ortofoto PNOA
-
+
Andorra
-
+
Andorra topográfico 1:25.000 1989
-
+
Andorra topográfico 1:50.000 1987
-
+
Andorra ortofoto 1:5.000 2003
-
+
Andorra ortofoto 1:500-1.000 20cm 2008
-
+
Mundo
-
+
NASA blue marble
-
+
Tamaño mínimo de descarga no alcanzado (%d px por lado)
-
+
Máxima área de descarga alcanzada (%s px%s)
-
+
Coordenadas de área
-
+
"EPSG:25831 429393.19 4580194.65 429493.19 4580294.65"
-
+
Referencial topográfico territorial volumen
-
+
Polígonos seleccionados en una capa
-
+
Es necesario activar una capa vectorial com uno o más polígonos seleccionados
-
+
-
+
Los polígonos tienen demasiados puntos: %d máximo %d
-
+
Mapa topográfico (pirámide topográfica)
-
+
Mapa de cubiertas del suelo (serie temporal)
-
+
[ST] Mapa de cubiertas del suelo
-
+
Modelo de elevaciones del terreno %s
-
+
Formato de coordenadas incorrecto
-
+
Pirámide Instamaps
-
+
Catastro
-
+
Mapa geológico 1:25.000 (GT I)
-
+
Reportar error de fotograma
-
+
Intentaremos corregirlo lo antes posible
-
+
-
+
Se debe seleccionar un fotograma
-
+
Mantener escala
-
+
Anaglifo
-
+
Estéreo invertido
-
+
Analógico
-
+
Fotograma anaglifo central
-
+
[SA] Fotograma anaglifo central
-
+
Fotograma rectificado central (serie anual)
-
+
[SA] Fotograma rectificado central
-
+
Fotograma central (serie anual)
-
+
[SA] Fotograma central
-
+
Fotograma anaglifo central %s (serie anual)
-
+
Muestra solo el fotograma más centrado en la vista mapa, puedes acercarte para obtener una navegació contínua. El año actual puede no tener una cobertura completa
-
+
-
+
Buscar fotogramas por nombre
-
+
Nombre de fotograma:
-
+
Ortofoto color histórica 10cm 1:1.000
-
+
Ortofoto color histórica 25cm 1:2.500
-
+
Ortofoto color histórica 1m 1:10.000
-
+
Ortofoto infrarroja histórica 10cm 1:1.000
-
+
Ortofoto infrarroja histórica 25cm 1:2.500
-
+
Ortofoto infrarroja histórica 50cm 1:5.000
-
+
Ortofoto infrarroja histórica 1m 1:10.000
-
+
Ortofoto infrarroja histórica 2,5m 1:25.000
-
+
Ortofoto color histórica 15cm 1:1.500
-
+
Ortofoto color histórica 50cm 1:5.000
-
+
Ortofoto color histórica 2,5m 1:25.000
-
+
Selecciona una zona
-
+
con información disponible
-
+
Rectángulo contenedor de polígonos seleccionados en una capa
-
+
Guardar mapa como PDF
-
+
Guardar mapa de situación como PDF
-
+
Archivo PDF (*.pdf)
-
+
Sist. Coord.: %s
Fecha de generación: %s
-
+
Error guardando el archivo PDF
-
+
Mapa topográfico:
-
+
Mapa:
-
+
Mapa de situación:
-
+
Tests unitarios
-
+
Este PDF muestra todos los datos visibles del proyecto QGIS en el momento de su generación
-
+
Activar registro de informació de depuración
-
+
ContextMaps
-
+
ContextMaps mapa estándar
-
+
ContextMaps mapa gris
-
+
ContextMaps mapa gris simplificado
-
+
ContextMaps ortofoto híbrida
-
+
Andorra topográfico 1:50.000 2020
-
+
Andorra ortofoto 1:5.000 2012
-
+
Depuración
-
+
Abrir archivo de registro de depuración
-
+
Abrir capeta de instalación del conector
-
+
Metadatos de producto
-
+
Se ha alcanzado el número máximo de resultados (%d).
La consulta podría tener más resultados de los mostrados.
-
+
Opciones anaglifo
-
+
dd/MM/yyyy HH:mm:ss
-
+
Envíanos un email con informació de depuración
-
+
Capitales de comarca
-
+
Cuadrículas %s
+
+
+
+ Referencial topográfico territorial BIM
+
+
+
+
+ Hoja
+
+
+
+
+ Selecciona una hoja
+
PhotoSearchSelectionDialog
diff --git a/images/download_sheet.png b/images/download_sheet.png
new file mode 100644
index 0000000..54caf44
Binary files /dev/null and b/images/download_sheet.png differ
diff --git a/metadata.txt b/metadata.txt
index 0d872e1..be97662 100644
--- a/metadata.txt
+++ b/metadata.txt
@@ -28,8 +28,12 @@ email=qgis.openicgc@icgc.cat
qgisMinimumVersion=2.99
qgisMaximumVersion=3.99
-version=1.1.17
-changelog=v1.1.17 (2024-04-02)
+version=1.1.18
+changelog=v1.1.18 (2024-04-19)
+ - Added BIM/IFC download format for product Territorial topographic referential
+ - Fixed photolib access and download product by municipality when geoencoder service is down
+
+ v1.1.17 (2024-04-02)
- Fixed timeout issue scanning resources on plugin initialization (non-accessible resources will not be shown)
v1.1.16 (2023-09-26)
diff --git a/openicgc.py b/openicgc.py
index 25a4afd..6e16998 100644
--- a/openicgc.py
+++ b/openicgc.py
@@ -294,6 +294,7 @@ class OpenICGC(PluginBase):
"divisions-administratives": "Administrative divisions",
"topografia-territorial-gpkg": "Territorial topographic referential",
"topografia-territorial-dgn": "Territorial topographic referential",
+ "topografia-territorial-bim-ifc": "Territorial topographic referential",
"topografia-territorial-3d-dgn": "Territorial topographic referential",
"topografia-territorial-dwg": "Territorial topographic referential",
"topografia-territorial-3d-dwg": "Territorial topographic referential",
@@ -441,6 +442,7 @@ def __init__(self, iface, debug_mode=False):
"divisions-administratives": self.tr("Administrative divisions"),
"topografia-territorial-gpkg": self.tr("Territorial topographic referential"),
"topografia-territorial-dgn": self.tr("Territorial topographic referential"),
+ "topografia-territorial-bim-ifc": self.tr("Territorial topographic referential BIM"),
"topografia-territorial-3d-dgn": self.tr("Territorial topographic referential 3D"),
"topografia-territorial-dwg": self.tr("Territorial topographic referential"),
"topografia-territorial-3d-dwg": self.tr("Territorial topographic referential 3D"),
@@ -467,6 +469,7 @@ def __init__(self, iface, debug_mode=False):
("dt_coord", self.tr("Area coordinates"), ""),
("dt_layer_polygon", self.tr("Selected layer polygons"), "pol"),
("dt_layer_polygon_bb", self.tr("Selected layer polygons bounding box"), "pol"),
+ ("dt_sheet", self.tr("Sheet"), "full"),
("dt_municipalities", self.tr("Municipality"), "mu"),
("dt_counties", self.tr("County"), "co"),
("dt_cat", self.tr("Catalonia"), "cat"),
@@ -1033,11 +1036,10 @@ def get_download_menu(self, fme_services_list, raster_not_vector=None, nested_do
in fme_services_list if self.is_raster_file(filename) == raster_not_vector]
# Define text labels
- common_label = "%s"
- vector_label = self.tr("%s vectorial data")
- raster_label = self.tr("%s raster data")
- product_label_pattern = common_label if raster_not_vector is None else raster_label if raster_not_vector else vector_label
- product_file_label_pattern = product_label_pattern + " (%s)"
+ vector_label = self.tr(" vectorial data")
+ raster_label = self.tr(" raster data")
+ product_label_pattern = "%s" + ("" if raster_not_vector is None else raster_label if raster_not_vector else vector_label)
+ product_file_label_pattern = "%s%s (%s)"
# Prepare nested download submenu
if nested_download_submenu:
@@ -1074,7 +1076,9 @@ def get_download_menu(self, fme_services_list, raster_not_vector=None, nested_do
previous_time_list = list(gsd_info_dict.values())[0][6]
previous_enabled = any([info[-1] for info in gsd_info_dict.values()])
download_submenu.append((
- product_file_label_pattern % (common_name, os.path.splitext(filename)[1][1:]),
+ product_file_label_pattern % (common_name,
+ raster_label if self.is_raster_file(filename) else vector_label if self.is_vector_file(filename) else "",
+ os.path.splitext(filename)[1][1:]),
(lambda _dummy, id=previous_prefix_id, name=common_name, time_list=previous_time_list, gsd_info_dict=gsd_info_dict: \
self.enable_download_subscene(id, name, None, None, None, None, time_list, None, None, None, None, gsd_info_dict), self.pair_download_checks),
QIcon(self.FME_ICON_DICT.get(previous_prefix_id, None)),
@@ -1099,8 +1103,9 @@ def get_download_menu(self, fme_services_list, raster_not_vector=None, nested_do
# Store info in group (submenu or gsd group)
if id:
- vectorial_not_raster = not self.is_raster_file(filename)
- file_label = product_file_label_pattern % (self.FME_NAMES_DICT.get(id, id), os.path.splitext(filename)[1][1:])
+ file_label = product_file_label_pattern % (self.FME_NAMES_DICT.get(id, id), \
+ raster_label if self.is_raster_file(filename) else vector_label if self.is_vector_file(filename) else "", \
+ os.path.splitext(filename)[1][1:])
if gsd:
# Store product info in GSD dict
gsd_info_dict[gsd] = (id, file_label, min_side, max_query_area, min_px_side, max_px_area, \
@@ -1136,7 +1141,9 @@ def get_download_menu(self, fme_services_list, raster_not_vector=None, nested_do
limits, vectorial_not_raster, url_pattern, url_ref_or_wms_tuple, enabled)) # 12 params
# Create download menu
download_submenu = [
- (product_file_label_pattern % (name, os.path.splitext(filename)[1][1:]),
+ (product_file_label_pattern % (name,
+ raster_label if self.is_raster_file(filename) else vector_label if self.is_vector_file(filename) else "",
+ os.path.splitext(filename)[1][1:]),
(lambda _dummy, id=id, name=name, min_side=min_side, max_query_area=max_query_area, min_px_side=min_px_side, max_px_area=max_px_area, time_list=time_list, download_list=download_list, filename=filename, limits=limits, url_ref_or_wms_tuple=url_ref_or_wms_tuple : \
self.enable_download_subscene(id, name, min_side, max_query_area, min_px_side, max_px_area, time_list, download_list, filename, limits, url_ref_or_wms_tuple), self.pair_download_checks),
QIcon(self.FME_ICON_DICT.get(id[:2], None)),
@@ -1279,9 +1286,9 @@ def find(self, user_text):
self.set_map_point(x, y, epsg, scale)
def is_unsupported_file(self, pathname):
- return self.is_file_type(pathname, ["dgn", "dwg"])
+ return self.is_file_type(pathname, ["dgn", "dwg", "ifc"])
def is_unsupported_extension(self, ext):
- return self.is_extension(ext, ["dgn", "dwg"])
+ return self.is_extension(ext, ["dgn", "dwg", "ifc"])
def is_compressed_file(self, pathname):
return self.is_file_type(pathname, ["zip"])
@@ -1293,6 +1300,11 @@ def is_raster_file(self, pathname):
def is_raster_extension(self, ext):
return self.is_extension(ext, ["tif", "jpeg", "jpg", "png"])
+ def is_vector_file(self, pathname):
+ return self.is_file_type(pathname, ["shp", "dgn", "dwg", "gpkg", "shp-zip"])
+ def is_vector_extension(self, ext):
+ return self.is_extension(ext, ["shp", "dgn", "dwg", "gpkg", "shp-zip"])
+
def is_file_type(self, pathname, ext_list):
_filename, ext = os.path.splitext(pathname)
return self.is_extension(ext, ext_list)
@@ -1403,7 +1415,7 @@ def enable_download_tool(self, with_ref_layer=False):
""" Enable or execute current download tool """
if not self.tool_subscene.callback:
return
- if self.download_type in ["dt_area", "dt_counties", "dt_municipalities"]:
+ if self.download_type in ["dt_area", "dt_counties", "dt_municipalities", "dt_sheet"]:
# Show download type info
title = self.tr("Download tool")
message = None
@@ -1413,6 +1425,8 @@ def enable_download_tool(self, with_ref_layer=False):
message = self.tr("Select municipality")
elif self.download_type == 'dt_counties':
message = self.tr("Select county")
+ elif self.download_type == 'dt_sheet':
+ message = self.tr("Select sheet")
# Show reference layer info
if with_ref_layer:
if not message:
@@ -1432,8 +1446,10 @@ def download_map_area(self, geo, data_type, min_side, max_download_area, min_px_
# Check download file type
filename, ext = os.path.splitext(local_filename)
+ download_ext = ("" if len(ext.split("-")) <= 1 else ".") + ext.split("-")[-1]
+ ext = ext.split("-")[0]
is_unsupported_format = self.is_unsupported_extension(ext)
- is_compressed = self.is_compressed_extension(ext)
+ is_compressed = self.is_compressed_extension(download_ext)
is_raster = self.is_raster_extension(ext)
is_photo = (data_type == "photo")
is_historic_ortho = (data_type.startswith("hc") or data_type.startswith("hi"))
@@ -1468,30 +1484,30 @@ def download_map_area(self, geo, data_type, min_side, max_download_area, min_px_
# Show information about download
type_info = (self.tr("raster") if is_raster else self.tr("vector"))
if self.download_type in ["dt_area", "dt_coord"]:
- confirmation_text = self.tr("Data type:\n %s (%s)\nRectangle:\n %.2f, %.2f %.2f, %.2f (EPSG:%s)\nArea:\n %d m%s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.xMinimum(), geo.yMinimum(), geo.xMaximum(), geo.yMaximum(), download_epsg, geo.area(), self.SQUARE_CHAR, download_folder, ext[1:])
+ confirmation_text = self.tr("Data type:\n %s (%s)\nRectangle:\n %.2f, %.2f %.2f, %.2f (EPSG:%s)\nArea:\n %d m%s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.xMinimum(), geo.yMinimum(), geo.xMaximum(), geo.yMaximum(), download_epsg, geo.area(), self.SQUARE_CHAR, download_folder, download_ext[1:])
elif self.download_type in ["dt_layer_polygon", "dt_layer_polygon_bb"]:
- confirmation_text = self.tr("Data type:\n %s (%s)\nPolygon area:\n %d m%s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.area(), self.SQUARE_CHAR, download_folder, ext[1:])
- elif self.download_type in ["dt_municipalities", "dt_counties"]:
+ confirmation_text = self.tr("Data type:\n %s (%s)\nPolygon area:\n %d m%s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.area(), self.SQUARE_CHAR, download_folder, download_ext[1:])
+ elif self.download_type in ["dt_municipalities", "dt_counties", "dt_sheet"]:
# Find point on GeoFinder
center = geo.center()
found_dict_list = self.find_point_secure(center.x(), center.y(), download_epsg)
# Set download information
- if self.download_type == "dt_municipalities":
+ if self.download_type in ["dt_municipalities", "dt_sheet"]:
municipality = found_dict_list[0]['nomMunicipi'] if found_dict_list else ""
- confirmation_text = self.tr("Data type:\n %s (%s)\nPoint:\n %.2f, %.2f (EPSG:%s)\nMunicipality:\n %s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.center().x(), geo.center().y(), download_epsg, municipality, download_folder, ext[1:])
+ confirmation_text = self.tr("Data type:\n %s (%s)\nPoint:\n %.2f, %.2f (EPSG:%s)\nMunicipality:\n %s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.center().x(), geo.center().y(), download_epsg, municipality, download_folder, download_ext[1:])
elif self.download_type == "dt_counties":
county = found_dict_list[0]['nomComarca'] if found_dict_list else ""
- confirmation_text = self.tr("Data type:\n %s (%s)\nPoint:\n %.2f, %.2f (EPSG:%s)\nCounty:\n %s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.center().x(), geo.center().y(), download_epsg, county, download_folder, ext[1:])
+ confirmation_text = self.tr("Data type:\n %s (%s)\nPoint:\n %.2f, %.2f (EPSG:%s)\nCounty:\n %s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, geo.center().x(), geo.center().y(), download_epsg, county, download_folder, download_ext[1:])
else:
zone = self.tr("Catalonia") if self.download_type == "dt_cat" else self.tr("Available data")
- confirmation_text = self.tr("Data type:\n %s (%s)\nZone:\n %s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, zone, download_folder, ext[1:])
+ confirmation_text = self.tr("Data type:\n %s (%s)\nZone:\n %s\n\nDownload folder:\n %s\nFilename (%s):") % (data_type, type_info, zone, download_folder, download_ext[1:])
# User confirmation
filename, ok_pressed = QInputDialog.getText(self.iface.mainWindow(), title,
set_html_font_size(confirmation_text), QLineEdit.Normal, filename)
if not ok_pressed or not local_filename:
self.log.debug("User filename input cancelled")
return
- local_filename = "%s_%s%s" % (filename, datetime.datetime.now().strftime("%Y%m%d_%H%M%S"), ext)
+ local_filename = "%s_%s%s" % (filename, datetime.datetime.now().strftime("%Y%m%d_%H%M%S"), download_ext)
self.log.debug("Download filename: %s", local_filename)
# Get URL with FME action
@@ -1508,15 +1524,24 @@ def download_map_area(self, geo, data_type, min_side, max_download_area, min_px_
current_layer = self.layers.get_current_layer()
download_layer = None
try:
- if is_unsupported_format:
+ if is_compressed:
+ if is_unsupported_format:
+ # Download and uncopmress file
+ uncompressed_folder = self.layers.download_remote_file(url, local_filename, download_folder, unzip=True)
+ # If compressed file contains unsupported format, search first file
+ local_filename_list = [os.path.join(uncompressed_folder, f) for f in \
+ os.listdir(uncompressed_folder) \
+ if os.path.splitext(f)[1] == ext]
+ local_filename = local_filename_list[0] if local_filename_list else None
+ else:
+ # We suppose that compressed file contains a QLR file, this process uncompress downloaded file
+ download_layer = self.layers.add_remote_layer_definition_file(url, local_filename, group_name=self.download_group_name, group_pos=0)
+ if not download_layer:
+ # If can't load QLR, we suppose that compressed file contains Shapefiles
+ download_layer = self.layers.add_vector_files([os.path.join(download_folder, local_filename)], group_name=self.download_group_name, group_pos=0, only_one_visible_map_on_group=False, regex_styles_list=self.fme_regex_styles_list)
+ elif is_unsupported_format:
# With an unsupported format we only download file
self.layers.download_remote_file(url, local_filename, download_folder=None)
- elif is_compressed:
- # We suppose that compressed file contains a QLR file
- download_layer = self.layers.add_remote_layer_definition_file(url, local_filename, group_name=self.download_group_name, group_pos=0)
- if not download_layer:
- # If can't load QLR, we suppose that compressed file contains Shapefiles
- download_layer = self.layers.add_vector_files([os.path.join(download_folder, local_filename)], group_name=self.download_group_name, group_pos=0, only_one_visible_map_on_group=False, regex_styles_list=self.fme_regex_styles_list)
elif is_raster:
# Force EPSG:25831 or photo EPSG by problems with QGIS 3.10 version in auto detection EPSG
download_layer = self.layers.add_remote_raster_file(url, local_filename, group_name=self.download_group_name, group_pos=0, epsg=download_epsg, only_one_visible_map_on_group=False, color_default_expansion=data_type.lower().startswith("met"), resampling_bilinear=True)
@@ -1674,7 +1699,7 @@ def download_get_geometry(self, geo, download_epsg, min_side, max_download_area,
# If download type is area ensure that selection is area
geo = geo.buffered(min_side if min_side else default_point_buffer)
self.log.debug("Geometry (point) buffered %s", min_side if min_side else default_point_buffer)
- elif self.download_type in ["dt_municipalities", "dt_counties"]:
+ elif self.download_type in ["dt_municipalities", "dt_counties", "dt_sheet"]:
# If download type is point, make a rectangle to can intersect with Catalonia edge
geo = geo.buffered(1)
self.log.debug("Geometry (point) buffered %s", 1)
@@ -1689,7 +1714,7 @@ def download_get_geometry(self, geo, download_epsg, min_side, max_download_area,
# With selfintersection multipolygon intersects fails, we can fix it using boundingbox
if not geo.isGeosValid():
geo = geo.boundingBox()
- elif self.download_type in ["dt_municipalities", "dt_counties"]:
+ elif self.download_type in ["dt_municipalities", "dt_counties", "dt_sheet"]:
limits = "cat_limits"
geo_limits, geo_limits_epsg = self.cat_limits_dict[limits]
if not geo_limits or geo_limits.isEmpty():
@@ -1785,13 +1810,13 @@ def open_download_folder(self):
def find_point_secure(self, x, y, epsg, timeout=5):
""" Protected find_point function """
- self.geofinder.get_icgc_geoencoder_client().set_options(timeout=timeout)
try:
+ self.geofinder.get_icgc_geoencoder_client().set_options(timeout=timeout)
found_dict_list = self.geofinder.find_point_coordinate(x, y, epsg)
+ self.geofinder.get_icgc_geoencoder_client().set_options(timeout=None)
except:
error = self.tr("Unknow, service unavailable")
found_dict_list = [{'nomMunicipi': error, 'nomComarca': error}]
- self.geofinder.get_icgc_geoencoder_client().set_options(timeout=None)
return found_dict_list
def add_height_highlighting_layer(self, layer_name, dtm_url, style_file, group_name):
diff --git a/qlib3/base/pluginbase.py b/qlib3/base/pluginbase.py
index adc91e3..1edcd04 100644
--- a/qlib3/base/pluginbase.py
+++ b/qlib3/base/pluginbase.py
@@ -48,7 +48,7 @@
from PyQt5.QtCore import QVariant, QDateTime, QDate, QLocale, QUrl
from PyQt5.QtWidgets import QApplication, QAction, QToolBar, QLabel, QMessageBox, QMenu, QToolButton
from PyQt5.QtWidgets import QFileDialog, QWidgetAction, QDockWidget, QShortcut, QTableView
-from PyQt5.QtWidgets import QWidget, QPushButton, QHBoxLayout, QDialog
+from PyQt5.QtWidgets import QWidget, QPushButton, QHBoxLayout, QDialog, QSizePolicy
from PyQt5.QtGui import QPainter, QCursor, QIcon, QColor, QKeySequence, QDesktopServices, QFontDatabase
from PyQt5.QtXml import QDomDocument
@@ -3492,7 +3492,7 @@ def open_download_path(self, select_folder_text=None, filename=None):
if download_folder and os.path.exists(download_folder):
self.parent.gui.open_file_folder(download_folder)
- def download_remote_file(self, remote_file, local_filename=None, download_folder=None, select_folder_text=None):
+ def download_remote_file(self, remote_file, local_filename=None, download_folder=None, select_folder_text=None, unzip=False):
""" Descarrega un fitxer via http en la carpeta especificada
---
Download a http file in the specified folder
@@ -3511,6 +3511,18 @@ def download_remote_file(self, remote_file, local_filename=None, download_folder
# Descarreguem el fitxer
self.download_manager.download(remote_file, local_pathname)
+
+ # Descomprimim el fitxer si cal
+ unzip_folder, ext = os.path.splitext(local_pathname)
+ is_zipped_file = (ext == ".zip")
+ if is_zipped_file and unzip:
+ # Descomprimim
+ with zipfile.ZipFile(local_pathname) as zip_file:
+ zip_file.extractall(unzip_folder)
+ # Esborrem el zip
+ os.remove(local_pathname)
+ local_pathname = unzip_folder
+
return local_pathname
def add_remote_raster_file(self, remote_file, local_file=None, download_folder=None, group_name=None, group_pos=None, epsg=None, ref_layer=None, min_scale=None, max_scale=None, no_data=None, layer_name=None, color_default_expansion=False, visible=True, expanded=False, transparency=None, saturation=None, resampling_bilinear=False, resampling_cubic=False, set_current=False, style_file=None, properties_dict=None, only_one_map_on_group=False, only_one_visible_map_on_group=True, select_folder_text=None):
@@ -4339,7 +4351,7 @@ def show_attributes_dialog_by_id(self, layer_idprefix, feature, edit_mode=False,
return None
return self.show_attributes_dialog(layer, feature, edit_mode, modal_mode, width, height)
- def show_attributes_dialog(self, layer, feature, edit_mode=False, modal_mode=False, width=400, height=200):
+ def show_attributes_dialog(self, layer, feature, edit_mode=False, modal_mode=False, width=None, height=None):
""" Mostra el formulari d'edició de camps de l'element amb el valor especificat o seleccionat
---
Shows edition feature form of specificated feature value or current selected id
@@ -4349,7 +4361,12 @@ def show_attributes_dialog(self, layer, feature, edit_mode=False, modal_mode=Fal
layer.startEditing()
# Mostrem el diàleg
dlg = self.iface.getFeatureForm(layer, feature)
- dlg.resize(width, height)
+ dlg.setSizeGripEnabled(True)
+ dlg.setMinimumSize(300, 200)
+ if width and height:
+ dlg.resize(width, height)
+ else:
+ dlg.adjustSize()
if modal_mode or edit_mode:
status_ok = (dlg.exec() == QDialog.Accepted)
else:
diff --git a/resources.qrc b/resources.qrc
index 906daf4..682de01 100644
--- a/resources.qrc
+++ b/resources.qrc
@@ -8,6 +8,7 @@
images/download_layer_polygon_bb.png
images/download_municipalities.png
images/download_counties.png
+ images/download_sheet.png
images/download_cat.png
images/download_all.png
images/pdf.png
diff --git a/resources3/fme.py b/resources3/fme.py
index cfd1733..1b28016 100644
--- a/resources3/fme.py
+++ b/resources3/fme.py
@@ -23,7 +23,7 @@
log.addHandler(logging.NullHandler())
-#FME_URL = "http://qgis:qgis@sefme2020dev" # A linux no va bé el DNS, ca posar la IP (desenvolupament)
+#FME_URL = "https://qgis:qgis@sefme2022dev" # A linux no va bé el DNS, ca posar la IP (desenvolupament)
#FME_URL = "https://qgis:qgis@sefme2020prod.icgc.local" # Test
FME_URL = "https://qgis:qgis@descarregues.icgc.cat" # Servidor extern / adreça externa (producció)
@@ -89,11 +89,11 @@
("mtc1000m", "Mapa topogràfic 1:1.000.000", 10000, None, None, None, None, None, ["", "pol", "mu", "co", "cat", "tot"], "mtc1000m.tif", "cat_rect", "%s/fmedatastreaming/Descarrega_basica/geotiff2format_clip_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&DEF_NAME=mtc1000m&Format=GEOTIFF&Projecte=mtc1000m&Codi=%s&piramide=True", None),
("mtc2000m", "Mapa topogràfic 1:2.000.000", 20000, None, None, None, None, None, ["", "pol", "mu", "co", "cat", "tot"], "mtc2000m.tif", "cat_rect", "%s/fmedatastreaming/Descarrega_basica/geotiff2format_clip_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&DEF_NAME=mtc2000m&Format=GEOTIFF&Projecte=mtc2000m&Codi=%s&piramide=True", None),
- ("ct1m", "Cartografia topogràfica 1:1.000", None, 2000000, None, None, None, None, ["", "pol", "mu"], "ct1m.zip", "cat_limits", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=ct1m&Codi=%s",
+ ("ct1m", "Cartografia topogràfica 1:1.000", None, 2000000, None, None, None, None, ["", "pol", "mu"], "ct1m.shp-zip", "cat_limits", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=ct1m&Codi=%s",
("http://www.icc.cat/appdownloads/lib/json/ct1m_id.json", "ct1m_disponible.qml")),
- #("bm5m", "Base municipal 1:5.000", None, None, ["cat", "tot"], "bm5m.zip", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=bm5m&Codi=%s", None),
- ("divisions-administratives", "Divisions administratives", None, None, None, None, None, None, ["cat"], "divisions-administratives.zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=divisions-administratives&Codi=%s", None),
+ #("bm5m", "Base municipal 1:5.000", None, None, ["cat", "tot"], "bm5m.shp-zip", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=bm5m&Codi=%s", None),
+ ("divisions-administratives", "Divisions administratives", None, None, None, None, None, None, ["cat"], "divisions-administratives.shp-zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=divisions-administratives&Codi=%s", None),
("topografia-territorial-gpkg", "Referencial topogràfic territorial GeoPackage", 50, 100000000, None, None, None, None, ["", "pol", "mu"], "topografia-territorial.gpkg", "5k_limits", "%s/fmedatastreaming/topografia-territorial/ICGC_topografia-territorial_gpkg_clip.fmw?xMin=%s&yMin=%s&xMax=%s&yMax=%s&poligon=%s&Codi=%s", None),
("topografia-territorial-dgn", "Referencial topogràfic territorial DGN", 50, 25000000, None, None, None, None, ["", "pol", "mu"], "topografia-territorial.dgn", "5k_limits", "%s/fmedatastreaming/topografia-territorial/ICGC_topografia-territorial_clip_to_CAD.fmw?xMin=%s&yMin=%s&xMax=%s&yMax=%s&poligon=%s&format_cad=DGN&file_name=tt&Codi=%s", None),
@@ -101,6 +101,8 @@
("topografia-territorial-3d-dgn", "Referencial topogràfic territorial 3D DGN", 50, 25000000, None, None, None, None, ["", "pol", "mu"], "topografia-territorial-3d.dgn", "5k_limits", "%s/fmedatastreaming/topografia-territorial/ICGC_topografia-territorial_clip_to_CAD3D.fmw?xMin=%s&yMin=%s&xMax=%s&yMax=%s&poligon=%s&format_cad=DGN&file_name=tt3&Codi=%s", None),
("topografia-territorial-3d-dwg", "Referencial topogràfic territorial 3D DWG", 50, 25000000, None, None, None, None, ["", "pol", "mu"], "topografia-territorial-3d.dwg", "5k_limits", "%s/fmedatastreaming/topografia-territorial/ICGC_topografia-territorial_clip_to_CAD3D.fmw?xMin=%s&yMin=%s&xMax=%s&yMax=%s&poligon=%s&format_cad=DWG&file_name=tt3d&Codi=%s", None),
("topografia-territorial-volum-dwg", "Referencial topogràfic territorial Volum DWG", 50, 12500000, None, None, None, None, ["", "pol", "mu"], "topografia-territorial-volum.dwg", "5k_limits", "%s/fmedatastreaming/topografia-territorial/ICGC_topografia-territorial_clip_to_CAD3D.fmw?xMin=%s&yMin=%s&xMax=%s&yMax=%s&poligon=%s&format_cad=DWG&gen_volum=si&file_name=ttvolum&Codi=%s", None),
+ ("topografia-territorial-bim-ifc", "Referencial topogràfic territorial BIM", None, None, None, None, None, None, ["full"], "topografia-territorial-bim.ifc-zip", "5k_limits", "%s/fmedatastreaming/topografia-territorial/ICGC_topografia-territorial_download_IFC.fmw?xMin=%s&yMin=%s&xMax=%s&yMax=%s&poligon=%s&file_name=tt&Codi=%s",
+ ("http://www.icc.cat/appdownloads/lib/json/tall5m.json", "tall-5k.qml")),
("cobertes-sol-raster", "Mapa de cobertes del sòl", 100, 200000000, None, None, None, None, ["", "pol", "mu", "co", "cat", "tot"], "cobertes-sol.tif", "cat_limits", "%s/fmedatastreaming/Descarrega_basica/geotiff2format_clip_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&DEF_NAME=mcsc&Format=GEOTIFF&Projecte=cobertes-sol&Codi=%s&piramide=True", None),
("cobertes-sol-vector", "Mapa de cobertes del sòl", None, 400000000, None, None, None, None, ["", "pol", "mu", "co"], "cobertes-sol.gpkg", "cat_limits", "%s/fmedatastreaming/cobertes-sol/ICGC_cobertes-sol_gpkg_clip.fmw?xMin=%s&yMin=%s&xMax=%s&yMax=%s&poligon=%s&Codi=%s", None),
@@ -108,21 +110,21 @@
("met2", "MET 2m", 200, 800000000, None, None, None, None, ["", "pol", "mu", "co"], "met2.tif", "5k_limits", "%s/fmedatastreaming/Descarrega_basica/geotiff2format_clip_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&DEF_NAME=met2&Format=GEOTIFF&Projecte=met2&Codi=%s&piramide=True", None),
("met5", "MET 5m", 500, 5000000000, None, None, None, None, ["", "pol", "mu", "co"], "met5.tif", "5k_limits", "%s/fmedatastreaming/Descarrega_basica/geotiff2format_clip_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&DEF_NAME=met5m&Format=GEOTIFF&Projecte=met5&Codi=%s&piramide=True", None),
- ("mggt1", "GT I. Mapa geològic 1:25.000", None, None, None, None, None, None, ["tot"], "gt1.zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt125m&Codi=%s", None),
- ("mg50m", "Mapa Geològic 1:50.000", None, None, None, None, None, None, ["tot"], "mg50m.zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=mg50m&Codi=%s", None),
- ("mg250m", "Mapa geològic 1:250.000", None, None, None, None, None, None, ["tot"], "mg250m.zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=mg250m&Codi=%s", None),
- ("mggt6", "GT VI. Mapa per a la prevenció dels riscos geològics 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt6.zip", "25k_limits", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt6&Codi=%s",
+ ("mggt1", "GT I. Mapa geològic 1:25.000", None, None, None, None, None, None, ["tot"], "gt1.shp-zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt125m&Codi=%s", None),
+ ("mg50m", "Mapa Geològic 1:50.000", None, None, None, None, None, None, ["tot"], "mg50m.shp-zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=mg50m&Codi=%s", None),
+ ("mg250m", "Mapa geològic 1:250.000", None, None, None, None, None, None, ["tot"], "mg250m.shp-zip", None, "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=mg250m&Codi=%s", None),
+ ("mggt6", "GT VI. Mapa per a la prevenció dels riscos geològics 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt6.shp-zip", "25k_limits", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt6&Codi=%s",
("https://geoserveis.icgc.cat/icgc_geotreballs/wms/service", "geotreball_VI", "", "image/png")),
# Pending revision of symbology
- #("gt2", "GT II. ... 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt2.zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt2&Codi=%s",
+ #("gt2", "GT II. ... 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt2.shp-zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt2&Codi=%s",
# ("https://geoserveis.icgc.cat/icgc_geotreballs/wms/service", "geotreball_II", "", "image/png")),
- #("gt3", "GT III. ... 1:5.000", None, 50000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt3.zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt3&Codi=%s",
+ #("gt3", "GT III. ... 1:5.000", None, 50000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt3.shp-zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt3&Codi=%s",
# ("https://geoserveis.icgc.cat/icgc_geotreballs/wms/service", "geotreball_III", "", "image/png")),
- #("gt4", "GT IV. ... 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt4.zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt4&Codi=%s",
+ #("gt4", "GT IV. ... 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt4.shp-zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt4&Codi=%s",
# ("https://geoserveis.icgc.cat/icgc_geotreballs/wms/service", "geotreball_IV", "", "image/png")),
- #("gt5", "GT V. ... 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt5.zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt5&Codi=%s",
+ #("gt5", "GT V. ... 1:25.000", None, 1250000000, None, None, None, None, ["", "mu", "co", "cat", "tot"], "gt5.shp-zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=gt5&Codi=%s",
# ("https://geoserveis.icgc.cat/icgc_geotreballs/wms/service", "geotreball_V", "", "image/png")),
- #("mah250m", "Mapa Àrees Hidrogeològiques 1:250.000", None, 50000000, None, None, None, ["cat", "tot"], "mah250m.zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=mah250m&Codi=%s", None),
+ #("mah250m", "Mapa Àrees Hidrogeològiques 1:250.000", None, 50000000, None, None, None, ["cat", "tot"], "mah250m.shp-zip", "cat_simple", "%s/fmedatastreaming/Descarrega_basica/descarrega_shape_coor.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Projecte=mah250m&Codi=%s", None),
("photo", "Fototeca digital", None, None, 100, 100000000, None, None, ["", "pol"], "photo.tif", "cat_rect", "%s/fmedatastreaming/Fototeca/ICGC_fototeca_download.fmw?SW_X=%s&SW_Y=%s&NE_X=%s&NE_Y=%s&poligon=%s&Codi=%s&Any=%s&CodiVol=%s&NomFoto=%s&Nom=%s", None),
]
diff --git a/resources3/symbols/tall-5k.qml b/resources3/symbols/tall-5k.qml
new file mode 100644
index 0000000..d6437bd
--- /dev/null
+++ b/resources3/symbols/tall-5k.qml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 2
+