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 - + Spatial search Cerca espacial - + Find Cercar - + Background maps Mapes de fons - + Delete background maps Esborrar mapes de fons - + Transparence Transparència - + Reload Open ICGC Recarregar Open ICGC - + Error, location without coordinates Error, localització sense coordenades - + Find: Address: municipality, street number or vice versa Barcelona, Aribau 86 @@ -133,137 +133,137 @@ 13077A018000390000FP - + Time series Sèries temporals - + About Open ICGC Sobre Open ICGC - + Help Ajuda - + Select download folder Seleccionar carpeta de descàrregues - + Name Nom - + Type Tipus - + Municipality Municipi - + Region Comarca - + Municipalities Municipis - + Counties Comarques - + Provinces Províncies - + Color orthophoto Ortofoto color - + [TS] Color orthophoto [ST] Ortofoto color - + Infrared orthophoto Ortofoto infraroja - + [TS] Infrared orthophoto [ST] Ortofoto infraroja - + Download Descàrregues - + Open download folder Obrir carpeta de descàrregues - + Paint styles for selected layers Estil de pintat de les capes seleccionades - + Desaturate raster layer Desaturació de capa ràster - + Reference %s Referència %s - + Download map area Descarregar àrea de mapa - + Minimum download rect side not reached (%d m) Mida mínima de descàrrega no aconseguida (%d m costat) - + Maximum download area reached (%s m%s) Àrea màxima de descàrrega sobrepassada (%s m%s) - + Change DB/geoPackage style Canviar estil de geoPackage / base de dades - + Error downloading file or selection is out of reference area Error descarregant el fitxer o la selecció està fora de l'àrea de referència - + You must write any text Cal escriure algun text - + Data type: %s (%s) Rectangle: @@ -286,7 +286,7 @@ Carpeta de descàrregues: Nom d'arxiu (%s): - + Data type: %s (%s) Point: @@ -309,7 +309,7 @@ Carpeta de descàrregues: Nom d'arxiu (%s): - + Data type: %s (%s) Point: @@ -332,42 +332,42 @@ Carpeta de descàrregues: Nom d'arxiu (%s): - + Find place names and adresses Cercar topònims i adreces - + Area Àrea - + County Comarca - + Catalonia Catalunya - + Available data Dades disponibles - + Download tool Eina de descàrrega - + Download point Descarregar punt - + Data type: %s (%s) Zone: @@ -386,42 +386,42 @@ Carpeta de descàrregues: Arxiu (%s): - + Selected: Seleccionat: - + Cartographic series Talls cartogràfics - + Select an area Selecciona una àrea - + Select municipality Selecciona un municipi - + Select county Selecciona una comarca - + Unknow, service unavailable Desconegut, servei no accessible - + Available products list Llista de productes disponibles - + Linkable products: - %s @@ -434,69 +434,69 @@ Productes descarregables: - %s - + Open ICGC Toolbar Barra d'eines d'Open ICGC - + Height highlighting Ressaltat d'alçades - + Warning: Atenció: - + QGIS version warnings Alertes de la versió de QGIS - + Download plugin Descarregar plugin - + Update available: v%s Actualització disponible: %s - + You can modify the brightness of the "Height hightlghting" layer to adjust the display to your background layer Pots modificar la brillantor de la capa "Ressaltat d'alçades" per ajustar la visualització a la teva capa de fons - + %s serie Tall %s - + QGIS plugin repository Repositori de connectors de QGIS - + Software Repository Repositori de codi - + Report an issue Reportar una incidència - + Send us an email Envia'ns un email - + Your QGIS version is %s. In versions of QGIS lower than 3.10.4 http files may not load correctly. Affected products will be disabled. @@ -511,7 +511,7 @@ En versions de QGIS inferiors a 3.4.0, els arxiu geopackage poden no carregar co Actualitza la versió de QGIS si és possible. - + ICGC products are generated in EPSG 25831, loading them into a project with EPSG %s could cause display problems, download problems, or increased load time. Do you want change the project coordinate system to EPSG 25831? @@ -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? - + What's new Novetats - + Cartographic and Geological Institute of Catalonia web Web de l'Institut Cartogràfic i Geològic de Catalunya - + Current color orthophoto 25cm 1:2,500 Ortofoto color vigent 25cm 1:2.500 - + Current color orthophoto 50cm 1:5,000 Ortofoto color vigent 50cm 1:5.000 - + Current color orthophoto 2.5m 1:25,000 Ortofoto color vigent 2.5m 1:25.000 - + Current infrared orthophoto 25cm 1:2,500 Ortofoto infraroja vigent 25cm 1:2.500 - + Current infrared orthophoto 50cm 1:5,000 Ortofoto infraroja vigent 50cm 1:5.000 - + Current infrared orthophoto 2.5m 1:25,000 Ortofoto infraroja vigent 2.5m 1:25.000 - + Topographic map 1:25,000 Mapa topogràfic 1:25.000 - + Topographic map 1:50,000 Mapa topogràfic 1:50.000 - + Topographic map 1:100,000 Mapa topogràfic 1:100.000 - + Topographic map 1:250,000 Mapa topogràfic 1:250.000 - + Topographic map 1:500,000 Mapa topogràfic 1:500.000 - + Topographic map 1:1,000,000 Mapa topogràfic 1:1.000.000 - + Topographic map 1:2,000,000 Mapa topogràfic 1:2.000.000 - + Topographic cartography 1:1,000 Cartografia topogràfica 1:1.000 - + Territorial topographic referential Referencial topogràfic territorial - + Land cover map Mapa de cobertes del sòl - + Digital terrain model 2m 2008-2011 Model d'elevacions del terreny 2m 2008-2011 - + Digital terrain model 5m 2020 Model d'elevacions del terreny 5m 2020 - + Geological map 1:250,000 Mapa geològic 1:250.000 - - %s vectorial data - %s dades vectorials + + vectorial data + dades vectorials - - %s raster data - %s dades ràster + + raster data + dades ràster - + Territorial topographic referential 3D Referencial topogràfic territorial 3D - + NDVI color (temporal serie) NDVI color (sèrie temporal) - + [TS] NDVI color [ST] NDVI color - + NDVI (temporal serie) NDVI (sèrie temporal) - + [TS] NDVI [ST] NDVI - + File type %s is unsupported by QGIS Do you want try open downloaded file in a external viewer? El tipus de fitxer %s no està suportat per QGIS Vols intentar obrir el fitxer descarregat amb un visor extern? - + Color orthophoto %s (provisional) Ortofoto color %s (provisional) - + Color orthophoto %s (rectification without corrections) Ortofoto color %s (rectificació sense correccions) - + Color orthophoto %s (temporal serie) Ortofoto color %s (sèrie temporal) - + Color orthophoto (annual serie) Ortofoto color (sèrie anual) - + Satellite color orthophoto (monthly serie) Ortofoto color satèl·lit (sèrie mensual) - + Infrared orthophoto %s (provisional) Ortofoto infraroja %s (provisional) - + Infrared orthophoto %s (rectification without corrections) Ortofoto infraroja %s (rectificació sense correccions) - + Infrared orthophoto %s (temporal serie) Ortofoto infraroja %s (sèrie temporal) - + Infrared orthophoto (annual serie) Ortofoto infraroja (sèrie anual) - + Satellite infrared orthophoto (monthly serie) Ortofoto infraroja satèl·lit (sèrie mensual) - + Shading DTM layer Ombrejat de capa MET - + The selected area is outside Catalonia L'àrea seleccionada és fora de Catalunya - + You must select a DTM layer S'ha de seleccionar una capa de MET - + You can modify the angle of the sun in the layer simbology Es pot modificar l'angle del sol en la simbologia de la capa - + [AS] Color orthophoto [SA] Ortofoto color - + [MS] Satellite color orthophoto [SM] Ortofoto color satèl·lit - + [AS] Infrared orthophoto [SA] Ortofoto infraroja - + [MS] Satellite infared orthophoto [SM] Ortofoto infraroja satèl·lit - + Geological map 1:50,000 Mapa geològic 1:50.000 - + Municipal capitals Caps de municipi - + Vegueries Vegueries - + Administrative divisions Divisions administratives - + Territorial topographic referential %s (temporal serie) Referencial topogràfic territorial %s (sèrie temporal) - + [TS] Territorial topographic referential [ST] Referencial topogràfic territorial - + Administrative divisions (raster pyramid) Divisions administratives (Piràmide ràster) - + The download file could not be opened No s'ha pogut obrir l'arxiu descarregat - + raster ràster - + vector vector - + Photo library Fototeca - + Photograms Fotogrames - + Photo: %s Foto: %s - + Photo query: %s Consulta fotos: %s - + Search photograms Cercar fotogrames - + Coord %s %s Coord %s %s - + It exists a previous photo search. Do you want close it? Existeix un cerca de fotogrames prèvia. Vols tancar-la? - + Search photograms interactively Cercar fotogrames interactivament - + Search photograms by coordinates Cercar fotogrames per coordenada - + Photograms search tool Eina de cerca de fotogrames - + Select a point Selecciona un punt - + Enter an x y value in the project coordinate system or add the corresponding EPSG code in the following format: "429393.19 4580194.65" or "429393.19 4580194.65 EPSG:25831" or "EPSG:25831 429393.19 4580194.65" 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" - + Flight code Codi de vol - + Flight date Data de vol - + Flight year Any de vol - + Image filename Arxiu d'imatge - + Image width Amplada d'imatge - + Image height Alçada d'imatge - + Image channels Canals d'imatge - + Image bits PPC Bits PPC d'imatge - + Color type Tipus de color - + Strip Passada - + Camera Càmera - + Focal Length Distància focal - + Ground sampling distance Mida de píxel - + Scale Escala - + Flying height Alçada de vol - + Mean ground height Alçada mitja del terra - + View type Tipus de vista - + Northing Nord - + Easting Est - + EPSG code Codi EPSG - + Omega Omega - + Phi Phi - + Kappa Kappa - + Photo in strip Fotograma dins la passada - + Spain Espanya - + IGN topographic Topogràfic IGN - + PNOA orthophoto Ortofoto PNOA - + Andorra Andorra - + Andorra topographic 1:25,000 1989 Andorra topogràfic 1:25.000 1989 - + Andorra topographic 1:50,000 1987 Andorra topogràfic 1:50.000 1987 - + Andorra orthophoto 1:5,000 2003 Andorra ortofoto 1:5.000 2003 - + Andorra orthophoto 1:500-1,000 20cm 2008 Andorra ortofoto 1:500-1.000 20cm 2008 - + World Mon - + NASA blue marble Nasa blue marble - + Minimum download rect side not reached (%d px) Mida mínima de descàrrega no aconseguida (%d px costat) - + Maximum download area reached (%s px%s) Àrea màxima de descàrrega sobrepassada (%s px%s) - + Area coordinates Coordenades de l'àrea - + Enter west, north, east, south values in the project coordinates system or add the corresponding EPSG code in the following format: "429393.19 4580194.65 429493.19 4580294.65" or "429393.19 4580194.65 429493.19 4580294.65 EPSG:25831" or @@ -1065,22 +1065,22 @@ Vols intentar obrir el fitxer descarregat amb un visor extern? "EPSG:25831 429393.19 4580194.65 429493.19 4580294.65" - + Territorial topographic referential volume Referencial topogràfic territorial volum - + Selected layer polygons Polígons selecionats en una capa - + You must activate a vector layer with one or more selected polygons Cal activar una capa vectorial amb un o més polígons seleccionats - + Data type: %s (%s) Polygon area: @@ -1099,62 +1099,62 @@ Carpeta de descàrregues: Nom d'arxiu (%s): - + Your polygons have too many points: %d maximum %d El polígons tenen massa punts: %d màxim %d - + Topographic map (topographical pyramid) Mapa topogràfic (piràmide topogràfica) - + Land cover map (temporal serie) Mapa de cobertes del sòl (sèrie temporal) - + [TS] Land cover map [ST] Mapa de cobertes del sòl - + Digital Terrain Model %s Model d'elevacions del terreny %s - + Incorrect coordinates format Format de coordenades incorrecte - + Instamaps pyramid Piràmide Instamaps - + Cadastral registry Cadastre - + Geological map 1:25,000 (GT I) Mapa geològic 1:25.000 (GT I) - + Geological map for the prevention of geological hazards 1:25,000 (GT VI) Mapa geològic per a la prevenció dels riscos geològics 1:25.000 (GT VI) - + Report photo bug Reportar error de fotograma - + Thanks for reporting an error in photogram: %s @@ -1165,7 +1165,7 @@ We try to fix it as soon as possible Intentarem corregir-ho el més aviat possible - + Before reporting an error, bear in mind that the position of photograms is an approximation i will never completely fit the underlying cartography, since no terrain model has been used to project the imatge against. Furthermore, changes in instrumenation over time (wheter GPS is used or not, scanning and photogrammetric workflow) account for a very limited precision in positioning. Only large displacements in position (for example, an element that should appear near the center does not appear) or if there is an error in rotation (eg. the sea appears in the northern part of a photo). @@ -1178,72 +1178,72 @@ Només cal considerar error d’ubicació si el fotograma està molt desplaçat Vols continuar? - + You must select one photogram Cal seleccionar un fotograma - + Keep scale Mantenir escala - + Anaglyph Anàglif - + Inverted stereo Estèreo invertit - + Analog Analògic - + Centered anaglyph photogram Fotograma anàglif central - + [AS] Centered anaglyph phootogram [SA] Fotograma anàglif central - + Centered rectified photogram (annual serie) Fotograma rectificat central (sèrie anual) - + [AS] Centered rectified photogram [SA] Fotograma rectificat central - + Centered photogram (annual serie) Fotograma central (sèrie anual) - + [AS] Centered photogram [SA] Fotograma central - + Centered anaglyph photogram %s (annual serie) Fotograma anàglif central %s (sèrie anual) - + This layer renders only the most centered photogram in the map view, you can zoom in for continuous navigation. Please note that current year may not have full photogram coverage 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 - + Photo: %s Flight code: %s Date: %s @@ -1258,229 +1258,244 @@ Resolució: %.2fm Descripció del problema: - + Search photograms by name Cercar fotogrames per nom - + Photogram name: Nom de fotograma: - + Historic color orthophoto 10cm 1:1,000 Ortofoto color històrica 10cm 1:1.000 - + Historic color orthophoto 25cm 1:2,500 Ortofoto color històrica 25cm 1:2.500 - + Historic color orthophoto 1m 1:10,000 Ortofoto color històrica 1m 1:10.000 - + Historic infrared orthophoto 10cm 1:1,000 Ortofoto infraroja històrica 10cm 1:1.000 - + Historic infrared orthophoto 25cm 1:2,500 Ortofoto infraroja històrica 25cm 1:2.500 - + Historic infrared orthophoto 50cm 1:5,000 Ortofoto infraroja històrica 50cm 1:5.000 - + Historic infrared orthophoto 1m 1:10,000 Ortofoto infraroja històrica 1m 1:10.000 - + Historic infrared orthophoto 2.5m 1:25,000 Ortofoto infraroja històrica 2,5m 1:25.000 - + Historic color orthophoto 15cm 1:1,500 Ortofoto color històrica 15cm 1:1.500 - + Historic color orthophoto 50cm 1:5,000 Ortofoto color històrica 50cm 1:5.000 - + Historic color orthophoto 2.5m 1:25,000 Ortofoto color històrica 2,5m 1:25.000 - + Select a zone Selecciona una zona - + with available information amb informació disponible - + Selected layer polygons bounding box Rectangle contenidor de polígons selecionats en una capa - + Save map as PDF Guardar mapa com a PDF - + Save location map as PDF Guardar mapa de situació com a PDF - + PDF file (*.pdf) Arxiu PDF (*.pdf) - + Coord. Sys.: %s Generation date: %s Sist. Coord.: %s Data de generació: %s - + Error saving PDF file Error guardant l'arxiu PDF - + Topographic map: Mapa topogràfic: - + Map: Mapa: - + Location map: Mapa de situació: - + Unit tests Tests unitaris - + This PDF shows all the data visible in the QGIS project at the time of its generation Aquest PDF mostra totes les dades visibles del projecte QGIS en el moment de la seva generació - + Enable debug log info Activar registre d'informació de depuració - + ContextMaps ContextMaps - + ContextMaps standard map ContextMaps mapa estàndard - + ContextMaps gray map ContextMaps mapa gris - + ContextMaps simplified gray map ContextMaps mapa gris simplificat - + ContextMaps hybrid orthophoto ContextMaps ortofoto híbrida - + Andorra topographic 1:50,000 2020 Andorra topogràfic 1:25.000 2020 - + Andorra orthophoto 1:5,000 2012 Andorra ortofoto 1:5.000 2012 - + Debug Depuració - + Open debug log file Obrir arxiu de registre de depuració - + Open plugin installation folder Obrir carpeta d'instal·lació del connector - + Product metadatas Metadades de producte - + The maximum number of results (%d) has been reached. The query may have more results than are displayed. S'ha arribat al nombre màxim de resultats (%d). La consulta podria tenir més resultats dels mostrats. - + Anaglyph options Opcions anaglif - + yyyy/MM/dd HH:mm:ss dd/MM/yyyy HH:mm:ss - + Send us an email with debug information Envia'ns un email amb informació de depuració - + County capitals Capitals de comarca - + %s grid Quadrícula %s + + + Territorial topographic referential BIM + Referencial topogràfic territorial BIM + + + + Sheet + Full + + + + Select sheet + 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 - + Spatial search Búsqueda espacial - + Find Buscar - + Background maps Mapas de fondo - + Delete background maps Borrar mapas de fondo - + Transparence Trasparencia - + Reload Open ICGC Recargar Open ICGC - + Error, location without coordinates Error, localización sin coordenadas - + Find: Address: municipality, street number or vice versa Barcelona, Aribau 86 @@ -133,137 +133,137 @@ 13077A018000390000FP - + Time series Series temporales - + About Open ICGC Acerca de Open ICGC - + Help Ayuda - + Select download folder Selección de carpeta de descargas - + Name Nombre - + Type Tipo - + Municipality Municipio - + Region Comarca - + Municipalities Municipios - + Counties Comarcas - + Provinces Provincias - + Color orthophoto Ortofoto color - + [TS] Color orthophoto [ST] Ortofoto color - + Infrared orthophoto Ortofoto infrarroja - + [TS] Infrared orthophoto [ST] Ortofoto infrarroja - + Download Descargas - + Open download folder Abrir carpeta de descargas - + Paint styles for selected layers Estilo de pintado de las capas seleccionadas - + Desaturate raster layer Desaturar capa raster - + Reference %s Referencia %s - + Download map area Descargar área de mapa - + Minimum download rect side not reached (%d m) Tamaño mínimo de descarga no alcanzado (%d m por lado) - + Maximum download area reached (%s m%s) Máxima área de descarga alcanzada (%s m%s) - + Change DB/geoPackage style Cambiar estilo de geoPackage / base de datos - + Error downloading file or selection is out of reference area Error descargando el fitchero o la selección está fuera del área de referencia - + You must write any text Debes escribir algun texto - + Data type: %s (%s) Rectangle: @@ -286,7 +286,7 @@ Carpeta de descargas: Nombre de archivo (%s): - + Data type: %s (%s) Point: @@ -309,7 +309,7 @@ Carpeta de descargas: Nombre de archivo (%s): - + Data type: %s (%s) Point: @@ -332,42 +332,42 @@ Carpeta de descargas: Nombre de archivo (%s): - + Find place names and adresses Buscar topónimos y direcciones - + Area Área - + County Comarca - + Catalonia Cataluña - + Available data Datos disponibles - + Download tool Herramienta de descarga - + Download point Descarga puntual - + Data type: %s (%s) Zone: @@ -386,42 +386,42 @@ Carpeta de descargas: Archivo (%s): - + Selected: Seleccionado: - + Cartographic series Cortes cartográficos - + Select an area Selecciona un área - + Select municipality Selecciona un municipio - + Select county Selecciona una comarca - + Unknow, service unavailable Desconocido, servicio no accesible - + Available products list Lista de productos disponibles - + Linkable products: - %s @@ -434,69 +434,69 @@ Productos descargables: - %s - + Open ICGC Toolbar Barra de herramientas de Open ICGC - + Height highlighting Resaltado de alturas - + Warning: Atención: - + QGIS version warnings Alertas de la versión de QGIS - + Download plugin Descargar plugin - + Update available: v%s Actualización disponible: v%s - + You can modify the brightness of the "Height hightlghting" layer to adjust the display to your background layer Puedes modificar el brillo de la capa "Resaltado de alturas" para ajustar la visualización a tu capa de fondo - + %s serie Corte %s - + QGIS plugin repository Repositorio de conectores de QGIS - + Software Repository Repositorio de código - + Report an issue Reportar una incidencia - + Send us an email Envíanos un email - + Your QGIS version is %s. In versions of QGIS lower than 3.10.4 http files may not load correctly. Affected products will be disabled. @@ -511,7 +511,7 @@ En versiones de QGIS inferiores a 3.4.0 los archivos geopackage pueden no cargar Actualiza tu versión de QGIS si es posible. - + ICGC products are generated in EPSG 25831, loading them into a project with EPSG %s could cause display problems, download problems, or increased load time. Do you want change the project coordinate system to EPSG 25831? @@ -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? - + What's new Novedades - + Cartographic and Geological Institute of Catalonia web Web del Instituto Cartográfico y Geológico de Cataluña - + Current color orthophoto 25cm 1:2,500 Ortofoto color vigente 25cm 1:2.500 - + Current color orthophoto 50cm 1:5,000 Ortofoto color vigente 50cm 1:5.000 - + Current color orthophoto 2.5m 1:25,000 Ortofoto color vigente 2.5m 1:25.000 - + Current infrared orthophoto 25cm 1:2,500 Ortofoto infrarroja vigente 25cm 1:2.500 - + Current infrared orthophoto 50cm 1:5,000 Ortofoto infrarroja vigente 50cm 1:5.000 - + Current infrared orthophoto 2.5m 1:25,000 Ortofoto infrarroja vigente 2.5m 1:25.000 - + Topographic map 1:25,000 Mapa topográfico 1:25.000 - + Topographic map 1:50,000 Mapa topográfico 1:50.000 - + Topographic map 1:100,000 Mapa topográfico 1:100.000 - + Topographic map 1:250,000 Mapa topográfico 1:250.000 - + Topographic map 1:500,000 Mapa topográfico 1:500.000 - + Topographic map 1:1,000,000 Mapa topográfico 1:1.000.000 - + Topographic map 1:2,000,000 Mapa topográfico 1:2.000.000 - + Topographic cartography 1:1,000 Cartografía topográfica 1:1.000 - + Territorial topographic referential Referencial topográfico territorial - + Land cover map Mapa de cubiertas del suelo - + Digital terrain model 2m 2008-2011 Modelo de elevaciones del terreno 2m 2008-2011 - + Digital terrain model 5m 2020 Modelo de elevaciones del terreno 5m 2020 - + Geological map 1:250,000 Mapa geológico 1:250.000 - - %s vectorial data - %s datos vectoriales + + vectorial data + datos vectoriales - - %s raster data - %s datos ráster + + raster data + datos ráster - + Geological map for the prevention of geological hazards 1:25,000 (GT VI) Mapa geológico para la prevención de los riesgos geológicos 1:25.000 (GT VI) - + Territorial topographic referential 3D Referencial topográfico territorial 3D - + NDVI color (temporal serie) NDVI color (serie temporal) - + [TS] NDVI color [ST] NDVI color - + NDVI (temporal serie) NDVI (serie temporal) - + [TS] NDVI [ST] NDVI - + File type %s is unsupported by QGIS Do you want try open downloaded file in a external viewer? El tipo de fichero %s no está soportado por QGIS ¿Quieres intentar abrir el fichero descargado en un visor externo? - + Color orthophoto %s (provisional) Ortofoto color %s (provisional) - + Color orthophoto %s (rectification without corrections) Ortofoto color %s (rectificación sin correcciones) - + Color orthophoto %s (temporal serie) Ortofoto color %s (serie temporal) - + Color orthophoto (annual serie) Ortofoto color (serie anual) - + Satellite color orthophoto (monthly serie) Ortofoto color satélite (serie mensual) - + Infrared orthophoto %s (provisional) Ortofoto infrarroja %s (provisional) - + Infrared orthophoto %s (rectification without corrections) Ortofoto infrarroja %s (rectificación sin correcciones) - + Infrared orthophoto %s (temporal serie) Ortofoto infrarroja %s (serie temporal) - + Infrared orthophoto (annual serie) Ortofoto infrarroja %s (serie anual) - + Satellite infrared orthophoto (monthly serie) Ortofoto infrarroja satélite (serie mensual) - + Shading DTM layer Sombreado de capa MET - + The selected area is outside Catalonia El área seleccionada se encuentra fuera de Cataluña - + You must select a DTM layer Se ha de seleccionar una capa MET - + You can modify the angle of the sun in the layer simbology Se puede modificar el ángulo del sol desde la simbología de la capa - + [AS] Color orthophoto [SA] Ortofoto color - + [MS] Satellite color orthophoto [SM] Ortofoto color satélite - + [AS] Infrared orthophoto [SA] Ortofoto infrarroja - + [MS] Satellite infared orthophoto [SM] Ortofoto infrarroja satélite - + Geological map 1:50,000 Mapa geológico 1:50.000 - + Municipal capitals Capitales de municipio - + Vegueries Veguerías - + Administrative divisions Divisiones administrativas - + Territorial topographic referential %s (temporal serie) Referencial topográfico territorial %s (Serie temporal) - + [TS] Territorial topographic referential [ST] Referencial topográfico territorial - + Administrative divisions (raster pyramid) Divisiones administrativas (pirámide raster) - + The download file could not be opened No se ha podido abrir el archivo descargado - + raster raster - + vector vector - + Photo library Fototeca - + Photograms Fotogramas - + Photo: %s Foto: %s - + Photo query: %s Consulta fotogramas: %s - + Search photograms Buscar fotogramas - + Coord %s %s Coord %s %s - + It exists a previous photo search. Do you want close it? Existe una búsqueda de fotogramas previa. ¿Quieres cerrarla? - + Search photograms interactively Buscar fotogramas interactivamente - + Search photograms by coordinates Buscar fotogramas por coordenada - + Photograms search tool Herramienta de búsqueda de fotogramas - + Select a point Selecciona un punto - + Enter an x y value in the project coordinate system or add the corresponding EPSG code in the following format: "429393.19 4580194.65" or "429393.19 4580194.65 EPSG:25831" or "EPSG:25831 429393.19 4580194.65" 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" - + Flight code Código de vuelo - + Flight date Fecha de vuelo - + Flight year Año de vuelo - + Image filename Archivo de imagen - + Image width Anchura de imagen - + Image height Altura de imagen - + Image channels Canales de imagen - + Image bits PPC Bits PPC de imagen - + Color type Tipo de color - + Strip Pasada - + Camera Cámara - + Focal Length Distancia focal - + Ground sampling distance Tamaño de píxel - + Scale Escala - + Flying height Altura de vuelo - + Mean ground height Altura media en tierra - + View type Tipo de vista - + Northing Norte - + Easting Este - + EPSG code Código EPSG - + Omega Omega - + Phi Phi - + Kappa Kappa - + Photo in strip Fotograma dentro de pasada - + Spain España - + IGN topographic Topográfico IGN - + PNOA orthophoto Ortofoto PNOA - + Andorra Andorra - + Andorra topographic 1:25,000 1989 Andorra topográfico 1:25.000 1989 - + Andorra topographic 1:50,000 1987 Andorra topográfico 1:50.000 1987 - + Andorra orthophoto 1:5,000 2003 Andorra ortofoto 1:5.000 2003 - + Andorra orthophoto 1:500-1,000 20cm 2008 Andorra ortofoto 1:500-1.000 20cm 2008 - + World Mundo - + NASA blue marble NASA blue marble - + Minimum download rect side not reached (%d px) Tamaño mínimo de descarga no alcanzado (%d px por lado) - + Maximum download area reached (%s px%s) Máxima área de descarga alcanzada (%s px%s) - + Area coordinates Coordenadas de área - + Enter west, north, east, south values in the project coordinates system or add the corresponding EPSG code in the following format: "429393.19 4580194.65 429493.19 4580294.65" or "429393.19 4580194.65 429493.19 4580294.65 EPSG:25831" or @@ -1070,22 +1070,22 @@ Do you want try open downloaded file in a external viewer? "EPSG:25831 429393.19 4580194.65 429493.19 4580294.65" - + Territorial topographic referential volume Referencial topográfico territorial volumen - + Selected layer polygons Polígonos seleccionados en una capa - + You must activate a vector layer with one or more selected polygons Es necesario activar una capa vectorial com uno o más polígonos seleccionados - + Data type: %s (%s) Polygon area: @@ -1104,57 +1104,57 @@ Carpeta de descargas: Nombre de archivo (%s): - + Your polygons have too many points: %d maximum %d Los polígonos tienen demasiados puntos: %d máximo %d - + Topographic map (topographical pyramid) Mapa topográfico (pirámide topográfica) - + Land cover map (temporal serie) Mapa de cubiertas del suelo (serie temporal) - + [TS] Land cover map [ST] Mapa de cubiertas del suelo - + Digital Terrain Model %s Modelo de elevaciones del terreno %s - + Incorrect coordinates format Formato de coordenadas incorrecto - + Instamaps pyramid Pirámide Instamaps - + Cadastral registry Catastro - + Geological map 1:25,000 (GT I) Mapa geológico 1:25.000 (GT I) - + Report photo bug Reportar error de fotograma - + Thanks for reporting an error in photogram: %s @@ -1165,7 +1165,7 @@ We try to fix it as soon as possible Intentaremos corregirlo lo antes posible - + Before reporting an error, bear in mind that the position of photograms is an approximation i will never completely fit the underlying cartography, since no terrain model has been used to project the imatge against. Furthermore, changes in instrumenation over time (wheter GPS is used or not, scanning and photogrammetric workflow) account for a very limited precision in positioning. Only large displacements in position (for example, an element that should appear near the center does not appear) or if there is an error in rotation (eg. the sea appears in the northern part of a photo). @@ -1178,72 +1178,72 @@ Solamente deben considerarse errores de ubicación si el fotograma está muy des ¿Quieres continuar? - + You must select one photogram Se debe seleccionar un fotograma - + Keep scale Mantener escala - + Anaglyph Anaglifo - + Inverted stereo Estéreo invertido - + Analog Analógico - + Centered anaglyph photogram Fotograma anaglifo central - + [AS] Centered anaglyph phootogram [SA] Fotograma anaglifo central - + Centered rectified photogram (annual serie) Fotograma rectificado central (serie anual) - + [AS] Centered rectified photogram [SA] Fotograma rectificado central - + Centered photogram (annual serie) Fotograma central (serie anual) - + [AS] Centered photogram [SA] Fotograma central - + Centered anaglyph photogram %s (annual serie) Fotograma anaglifo central %s (serie anual) - + This layer renders only the most centered photogram in the map view, you can zoom in for continuous navigation. Please note that current year may not have full photogram coverage 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 - + Photo: %s Flight code: %s Date: %s @@ -1258,229 +1258,244 @@ Resolución: %.2fm Descripción del problema: - + Search photograms by name Buscar fotogramas por nombre - + Photogram name: Nombre de fotograma: - + Historic color orthophoto 10cm 1:1,000 Ortofoto color histórica 10cm 1:1.000 - + Historic color orthophoto 25cm 1:2,500 Ortofoto color histórica 25cm 1:2.500 - + Historic color orthophoto 1m 1:10,000 Ortofoto color histórica 1m 1:10.000 - + Historic infrared orthophoto 10cm 1:1,000 Ortofoto infrarroja histórica 10cm 1:1.000 - + Historic infrared orthophoto 25cm 1:2,500 Ortofoto infrarroja histórica 25cm 1:2.500 - + Historic infrared orthophoto 50cm 1:5,000 Ortofoto infrarroja histórica 50cm 1:5.000 - + Historic infrared orthophoto 1m 1:10,000 Ortofoto infrarroja histórica 1m 1:10.000 - + Historic infrared orthophoto 2.5m 1:25,000 Ortofoto infrarroja histórica 2,5m 1:25.000 - + Historic color orthophoto 15cm 1:1,500 Ortofoto color histórica 15cm 1:1.500 - + Historic color orthophoto 50cm 1:5,000 Ortofoto color histórica 50cm 1:5.000 - + Historic color orthophoto 2.5m 1:25,000 Ortofoto color histórica 2,5m 1:25.000 - + Select a zone Selecciona una zona - + with available information con información disponible - + Selected layer polygons bounding box Rectángulo contenedor de polígonos seleccionados en una capa - + Save map as PDF Guardar mapa como PDF - + Save location map as PDF Guardar mapa de situación como PDF - + PDF file (*.pdf) Archivo PDF (*.pdf) - + Coord. Sys.: %s Generation date: %s Sist. Coord.: %s Fecha de generación: %s - + Error saving PDF file Error guardando el archivo PDF - + Topographic map: Mapa topográfico: - + Map: Mapa: - + Location map: Mapa de situación: - + Unit tests Tests unitarios - + This PDF shows all the data visible in the QGIS project at the time of its generation Este PDF muestra todos los datos visibles del proyecto QGIS en el momento de su generación - + Enable debug log info Activar registro de informació de depuración - + ContextMaps ContextMaps - + ContextMaps standard map ContextMaps mapa estándar - + ContextMaps gray map ContextMaps mapa gris - + ContextMaps simplified gray map ContextMaps mapa gris simplificado - + ContextMaps hybrid orthophoto ContextMaps ortofoto híbrida - + Andorra topographic 1:50,000 2020 Andorra topográfico 1:50.000 2020 - + Andorra orthophoto 1:5,000 2012 Andorra ortofoto 1:5.000 2012 - + Debug Depuración - + Open debug log file Abrir archivo de registro de depuración - + Open plugin installation folder Abrir capeta de instalación del conector - + Product metadatas Metadatos de producto - + The maximum number of results (%d) has been reached. The query may have more results than are displayed. Se ha alcanzado el número máximo de resultados (%d). La consulta podría tener más resultados de los mostrados. - + Anaglyph options Opciones anaglifo - + yyyy/MM/dd HH:mm:ss dd/MM/yyyy HH:mm:ss - + Send us an email with debug information Envíanos un email con informació de depuración - + County capitals Capitales de comarca - + %s grid Cuadrículas %s + + + Territorial topographic referential BIM + Referencial topográfico territorial BIM + + + + Sheet + Hoja + + + + Select sheet + 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 +