From c4a483f03e11b7a17704ce08ac78697e7779e22f Mon Sep 17 00:00:00 2001 From: "a.adell" Date: Wed, 27 Sep 2023 12:45:34 +0200 Subject: [PATCH] Added UTM (MGRS) grids 1x1 km and 10x10 km --- data/product_metadata.json | 55 +- i18n/openicgc_ca.ts | 514 +++++++-------- i18n/openicgc_es.ts | 514 +++++++-------- metadata.txt | 7 +- openicgc.py | 15 +- qlib3/base/pluginbase.py | 29 +- .../photosearchselectiondialog.py | 8 +- resources3/http.py | 14 + symbols/caps_municipi.qml | 122 ++-- symbols/comarques.qml | 108 ++-- symbols/municipis.qml | 108 ++-- symbols/provincies.qml | 108 ++-- "symbols/ressaltat_al\303\247ades.qml" | 62 +- symbols/talls.qml | 602 +++++++++--------- 14 files changed, 1167 insertions(+), 1099 deletions(-) diff --git a/data/product_metadata.json b/data/product_metadata.json index f1513ff..37e0cb6 100644 --- a/data/product_metadata.json +++ b/data/product_metadata.json @@ -4,31 +4,31 @@ "Cobertura": "Vigent", "Carpeta": "Topographic cartography 1:1,000", "Formats de fitxer": "shz/zip", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&any=topografia%201000&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya%20(ICGC)&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title&sortOrder=reverse" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&any=topografia%201000&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya%20(ICGC)&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title&sortOrder=reverse" }, { "Producte": "Divisions administratives", "Cobertura": "Vigent", "Carpeta": "Administrative divisions", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=divisions%20administratives&sortBy=title" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=divisions%20administratives&sortBy=title" }, { "Producte": "Mapa de Cobertes del Sòl de Catalunya (MCSC)", "Cobertura": "Sèrie temporal", "Carpeta": "Land cover map (temporal serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=cobertes%20sol&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=cobertes%20sol&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" }, { "Producte": "Mapa de Cobertes del Sòl de Catalunya (MCSC)", "Cobertura": "Vigent", "Carpeta": "Land cover map", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=cobertes%20sol&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya%26category%2FrccState&sortBy=title" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=cobertes%20sol&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya%26category%2FrccState&sortBy=title" }, { - "Producte": "Mapa geològic 1:25.000 (GT1)", + "Producte": "Mapa geològic 1:25.000", "Cobertura": "Vigent", "Carpeta": "Geological map 1:25,000 (GT I)", "Formats de fitxer": "", @@ -109,105 +109,105 @@ "Cobertura": "Vigent", "Carpeta": "Digital Terrain Model 2m 2008-2011", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/model-digital-terreny-2x2-201605" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/model-digital-terreny-2x2-201605" }, { "Producte": "Model d'elevacions del terreny 5x5m (MET5)", "Cobertura": "Vigent", "Carpeta": "Digital Terrain Model 5m 2020", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/model-digital-terreny-5x5-v1r0" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/model-digital-terreny-5x5-v1r0" }, { "Producte": "NDVI", "Cobertura": "Sèrie temporal", "Carpeta": "NDVI (temporal serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ndvi&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ndvi&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" }, { "Producte": "Ortofoto 25 cm", "Cobertura": "Vigent", "Carpeta": "Ortofoto color 25cm 1:2.500", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-25cm-v4r0-color" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-25cm-v4r0-color" }, { "Producte": "Ortofoto 250 cm", "Cobertura": "Vigent", "Carpeta": "Ortofoto color 2.5m 1:25.000", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-250cm-v7r0-color" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-250cm-v7r0-color" }, { "Producte": "Ortofoto 50 cm", "Cobertura": "Vigent", "Carpeta": "Ortofoto color 50cm 1:5.000", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-50cm-v7r0-color" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-50cm-v7r0-color" }, { "Producte": "Ortofoto infraroja 25 cm", "Cobertura": "Vigent", "Carpeta": "Ortofoto infraroja 25cm 1:2.500", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-25cm-v4r0-infraroja" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-25cm-v4r0-infraroja" }, { "Producte": "Ortofoto infraroja 250 cm", "Cobertura": "Vigent", "Carpeta": "Ortofoto infraroja 2.5m 1:25.000", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-250cm-v7r0-infraroja" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-250cm-v7r0-infraroja" }, { "Producte": "Ortofoto infraroja 50 cm", "Cobertura": "Vigent", "Carpeta": "Ortofoto infraroja 50cm 1:5.000", "Formats de fitxer": "gtiff", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-50cm-v7r0-infraroja" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/ortofoto-50cm-v7r0-infraroja" }, { "Producte": "Ortofoto territorial", "Cobertura": "Sèrie temporal color", "Carpeta": "Color orthophoto (temporal serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ortofoto%20color&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ortofoto%20color&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" }, { "Producte": "Ortofoto territorial", "Cobertura": "Sèrie temporal infraroja", "Carpeta": "Infrared orthophoto (temporal serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ortofoto%20infraroja&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ortofoto%20infraroja&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" }, { "Producte": "Ortofoto territorial", "Cobertura": "Vigent color", "Carpeta": "Current color orthophoto", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ortofoto%20color%20vigent&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=ortofoto%20color%20vigent&facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&sortBy=title" }, { "Producte": "Ortofoto territorial", "Cobertura": "Vigent infraroja", "Carpeta": "Current infrared orthophoto", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&resultType=details&sortBy=title&type=dataset&title=ortofoto%20infraroja%20vigent&from=1&to=20" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?facet.q=orgName%2FInstitut%20Cartogr%C3%A0fic%20i%20Geol%C3%B2gic%20de%20Catalunya&resultType=details&sortBy=title&type=dataset&title=ortofoto%20infraroja%20vigent&from=1&to=20" }, { "Producte": "Ortoimatge de satèl·lit Sentinel-2 mensual 10 m", "Cobertura": "Sèrie mensual IRC", "Carpeta": "Satellite infrared orthophoto (monthly serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=sentinel-2-mensual&sortBy=changeDate" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=sentinel-2-mensual&sortBy=changeDate" }, { "Producte": "Ortoimatge de satèl·lit Sentinel-2 mensual 10 m", "Cobertura": "Sèrie mensual RGB", "Carpeta": "Satellite color orthophoto (monthly serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=sentinel-2-mensual&sortBy=changeDate" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=sentinel-2-mensual&sortBy=changeDate" }, { "Producte": "Piràmide del mapa topogràfic", @@ -221,28 +221,35 @@ "Cobertura": "2018", "Carpeta": "Territorial topographic referential 2018 (temporal serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2018" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2018" }, { "Producte": "Referencial topogràfic territorial", "Cobertura": "2019", "Carpeta": "Territorial topographic referential 2019 (temporal serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2019" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2019" }, { "Producte": "Referencial topogràfic territorial", "Cobertura": "2020", "Carpeta": "Territorial topographic referential 2020 (temporal serie)", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2020" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2020" + }, + { + "Producte": "Referencial topogràfic territorial", + "Cobertura": "2021", + "Carpeta": "Territorial topographic referential 2021 (temporal serie)", + "Formats de fitxer": "", + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/metadata/topografia-territorial-v1r0-2021" }, { "Producte": "Referencial topogràfic territorial", "Cobertura": "Vigent", "Carpeta": "Territorial topographic referential", "Formats de fitxer": "", - "Metadades": "https://ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=referencial%20topografic%20territorial&facet.q=category%2FrccState" + "Metadades": "https://catalegs.ide.cat/geonetwork/srv/cat/catalog.search#/search?type=dataset&title=referencial%20topografic%20territorial&facet.q=category%2FrccState" }, { "Producte": "Talls ETRS89", diff --git a/i18n/openicgc_ca.ts b/i18n/openicgc_ca.ts index fccd747..16769a2 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 - + %s raster data %s 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,219 +1258,229 @@ 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 + PhotoSearchSelectionDialog @@ -1591,22 +1601,22 @@ brillantor Ajustar brillantor - + Unavailable or lost No disponible o perdut - + No publishable No publicable - + Scan required Escaneig requerit - + Available Disponible @@ -1642,7 +1652,7 @@ tecla intro per visualitzar la foto Tipus de vista - + Parallax: %+d%% Paral·laxi: %+d%% diff --git a/i18n/openicgc_es.ts b/i18n/openicgc_es.ts index 48a28bd..9e0eccc 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 - + %s raster data %s 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,219 +1258,229 @@ 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 + PhotoSearchSelectionDialog @@ -1591,22 +1601,22 @@ brillo Ajustar brillo - + Unavailable or lost No disponible o perdido - + No publishable No publicable - + Scan required Escaneo requerido - + Available Disponible @@ -1642,7 +1652,7 @@ la tecla intro para visualizar la foto Tipo de vista - + Parallax: %+d%% diff --git a/metadata.txt b/metadata.txt index 4669243..f23ba4a 100644 --- a/metadata.txt +++ b/metadata.txt @@ -28,8 +28,11 @@ email=qgis.openicgc@icgc.cat qgisMinimumVersion=2.99 qgisMaximumVersion=3.99 -version=1.1.15 -changelog=v1.1.15 (2023-05-30) +version=1.1.16 +changelog=v1.1.16 () + - Added UTM (MGRS) grids 1x1 km and 10x10 km + + v1.1.15 (2023-05-30) - Fixed problem unloading / uninstalling plugin due to loading extra fonts - Fixed problem sorting and accessing search results - Updated delimitation files http address diff --git a/openicgc.py b/openicgc.py index 162510b..d54129f 100644 --- a/openicgc.py +++ b/openicgc.py @@ -64,7 +64,7 @@ #from .resources3.wfs import get_delimitations as get_wfs_delimitations from .resources3.fme import get_clip_data_url, get_services, get_historic_ortho_code, get_historic_ortho_ref from .resources3.fme import get_regex_styles as get_fme_regex_styles, FME_DOWNLOAD_EPSG, FME_MAX_POLYGON_POINTS - from .resources3.http import get_dtms, get_sheets, get_delimitations, get_ndvis, get_topographic_5k + from .resources3.http import get_dtms, get_sheets, get_grids, get_delimitations, get_ndvis, get_topographic_5k from .resources3 import http as http_resources, wms as wms_resources, fme as fme_resources else: # Import basic plugin functionalities @@ -102,7 +102,7 @@ from resources3.fme import get_regex_styles as get_fme_regex_styles, FME_DOWNLOAD_EPSG, FME_MAX_POLYGON_POINTS import resources3.http reload(resources3.http) - from resources3.http import get_dtms, get_sheets, get_delimitations, get_ndvis, get_topographic_5k + from resources3.http import get_dtms, get_sheets, get_grids, get_delimitations, get_ndvis, get_topographic_5k from resources3 import http as http_resources, wms as wms_resources, fme as fme_resources # Global function to set HTML tags to apply fontsize to QInputDialog text @@ -605,8 +605,9 @@ def initGui(self, check_qgis_updates=True, check_icgc_updates=False): delimitations_list = get_delimitations() #wfs_delimitations_url, wfs_delimitations_list = get_wfs_delimitations() - # Gets available Sheets + # Gets available Sheets and Grids sheets_list = get_sheets() + grids_list = get_grids() # Gets available DTMs dtm_list = [(name, "/vsicurl/%s" % url) for name, url in get_dtms()] @@ -740,6 +741,14 @@ def initGui(self, check_qgis_updates=True, check_icgc_updates=False): QIcon(":/lib/qlib3/base/images/sheets.png"), enable_http_files, self.manage_metadata_button("Cartographic series"), True ) for sheet_name, sheet_url in sheets_list + ] + [ + "---" + ] + [ + (self.tr("%s grid") % grid_name, + lambda _checked, grid_name=grid_name, grid_url=grid_url:self.layers.add_vector_layer(self.tr("%s grid") % grid_name, grid_url, group_name=self.backgroup_map_group_name, only_one_map_on_group=False, set_current=True, style_file="talls.qml"), + QIcon(":/lib/qlib3/base/images/sheets.png"), enable_http_files, + self.manage_metadata_button("UTM (MGRS) grids"), True + ) for grid_name, grid_url in grids_list ]), "---", (self.tr("Geological map 1:250,000"), diff --git a/qlib3/base/pluginbase.py b/qlib3/base/pluginbase.py index 15f2ad4..72f9881 100644 --- a/qlib3/base/pluginbase.py +++ b/qlib3/base/pluginbase.py @@ -579,7 +579,9 @@ def __parse_entry(self, entry): if type(entry[7]) == list: subentries_list = entry[7] subentries_as_buttons = entry[8] if len(entry) > 8 else False - + # Si la icona no és de tipus QIcon, suposem que és un identificador d'icona i intentem carregar-la + if icon and type(icon) is not QIcon: + icon = self.get_icon(icon) # Si la entrada no té callback (i no és un control) la desactivem if self.disable_unmapped_gui and not separator and not label and not action and not control and not callback \ and not toggle_callback and not subentries_list: @@ -1640,9 +1642,11 @@ def get_attributes_by_area(self, layer, fields_name_list, area, area_epsg=None): # Recuperem els camps demanats if len(fields_name_list) == 1: - layer_selection = [self.get_feature_attribute(layer, feature, fields_name_list[0]) for feature in features_list] + layer_selection = [self.get_feature_attribute(layer, feature, fields_name_list[0]) \ + for feature in features_list if feature.geometry().intersects(area)] else: - layer_selection = [tuple([self.get_feature_attribute(layer, feature, field_name) for field_name in fields_name_list]) for feature in features_list] + layer_selection = [tuple([self.get_feature_attribute(layer, feature, field_name) for field_name in fields_name_list]) \ + for feature in features_list if feature.geometry().intersects(area)] return layer_selection def refresh_by_id(self, layer_idprefix, unselect=False, pos=0): @@ -1775,7 +1779,7 @@ def get_epsg(self, layer, asPrefixedText=False): text = layer.crs().authid() return self.parent.crs.format_epsg(text, asPrefixedText) - def load_style_by_id(self, layer_baseid, style_file, replace_dict=None, exclude_rules_labels_list=None, exclude_rules_filter_list=None, pos=0, refresh=True): + def load_style_by_id(self, layer_baseid, style_file, replace_dict=None, exclude_rules_labels_list=None, exclude_rules_filter_list=None, pos=0, refresh=True, visible=True, expanded=True): """ Carrega un fitxer d'estil a una capa per id --- Load a style file to a layer by id @@ -1783,9 +1787,9 @@ def load_style_by_id(self, layer_baseid, style_file, replace_dict=None, exclude_ layer = self.get_by_id(layer_baseid, pos) if not layer: return None - return self.load_style(layer, style_file, replace_dict, exclude_rules_labels_list, exclude_rules_filter_list, refresh) + return self.load_style(layer, style_file, replace_dict, exclude_rules_labels_list, exclude_rules_filter_list, refresh, visible, expanded) - def load_style(self, layer, style_file, replace_dict=None, exclude_rules_labels_list=None, exclude_rules_filter_list=None, refresh=True): + def load_style(self, layer, style_file, replace_dict=None, exclude_rules_labels_list=None, exclude_rules_filter_list=None, refresh=True, visible=True, expanded=True): """ Carrega un fitxer d'estil a una capa --- Load a style file to a layer @@ -1849,7 +1853,7 @@ def load_style(self, layer, style_file, replace_dict=None, exclude_rules_labels_ root_rule.removeChildAt(i) # Refresquem la llegenda if refresh: - self.refresh_legend(layer, True, True) + self.refresh_legend(layer, visible, expanded) return text @@ -4100,7 +4104,8 @@ def add_wms_ortoxpres_layer(self, year, gsd, layer_prefix="ortoXpres", url="http def add_vector_db_layer(self, host, port, dbname, schema, table, user, password, geometry_column=None, filter=None, key_column=None, provider='postgres', epsg=25831, wkbtype=QgsWkbTypes.Polygon, layer_name=None, group_name="", group_pos=None, only_one_map_on_group=False, - only_one_visible_map_on_group=True, collapsed=True, visible=True, transparency=None, set_current=False, style_file=None): + only_one_visible_map_on_group=True, collapsed=True, visible=True, transparency=None, set_current=False, style_file=None, + if_empty_retry_without_geo=False): """ Afegeix una capa tipus BBDD. Retorna la capa Paràmetres de la connexió: host, port, dbname, schema, table, user, password, geometry_column, filter, key_column Veure add_wms_layer per opcions de capa @@ -4118,6 +4123,14 @@ def add_vector_db_layer(self, host, port, dbname, schema, table, user, password, uri.setDataSource(schema, table, geometry_column, filter, key_column) # afegim la capa layer = self.add_vector_uri_layer(layer_name, uri.uri(), provider, group_name, group_pos, only_one_map_on_group, only_one_visible_map_on_group, collapsed, visible, transparency, set_current, style_file) + # CAS ESPECIAL! A VEGADES NO CARREGA BÉ VISTES POSTGRES SI CAP ELEMENT TÉ GEOMETRIA... + # EN AQUEST CAS PODEM FORÇAR CARREGAR LA CAPA SENSE GEOMETRIA + if if_empty_retry_without_geo and layer and layer.featureCount() < 1: + self.remove_layer(layer) + uri = QgsDataSourceUri() + uri.setConnection(host, str(port), dbname, user, password) + uri.setDataSource(schema, table, None, filter, key_column) + layer = self.add_vector_uri_layer(layer_name, uri.uri(), provider, group_name, group_pos, only_one_map_on_group, only_one_visible_map_on_group, collapsed, visible, transparency, set_current, style_file) return layer def add_wfs_layer(self, layer_name, url, layers_list, epsg=None, filter=None, extra_tags="", version="2.0.0", group_name="", group_pos=None, only_one_map_on_group=False, only_one_visible_map_on_group=True, collapsed=True, visible=True, transparency=None, set_current=False, style_file=None): diff --git a/qlib3/photosearchselectiondialog/photosearchselectiondialog.py b/qlib3/photosearchselectiondialog/photosearchselectiondialog.py index 4313c0a..2f04cf7 100644 --- a/qlib3/photosearchselectiondialog/photosearchselectiondialog.py +++ b/qlib3/photosearchselectiondialog/photosearchselectiondialog.py @@ -243,7 +243,9 @@ def set_info(self, photo_layer, time_series_list, current_time, self.pushButton_request_scan.setVisible(self.request_scan_callback is not None) def get_photo_info(self, feature): - """ Returns tuplue with photo info from layer feature """ + """ Returns tuplue with photo info from layer feature : + id, name, year, flight_datetime_text, gsd, image_available, publishable, available, analog + """ datetime = feature[self.date_field_name] if datetime: if type(datetime) is QDateTime: @@ -255,8 +257,8 @@ def get_photo_info(self, feature): return feature.id(), feature[self.name_field_name], year, datetime_text, feature[self.gsd_field_name], \ True if feature[self.image_field_name] else False, \ feature[self.publishable_field_name] if self.publishable_field_name else True, \ - feature[self.available_field_name] if self.available_field_name else True, \ - feature[self.analog_field_name] + (feature[self.available_field_name] is not False) if self.available_field_name else True, \ + feature[self.analog_field_name] if self.analog_field_name else True def reset(self, hide=True): """ Reset all information, disable controls and hide dialog""" diff --git a/resources3/http.py b/resources3/http.py index 10c5c13..e63a1cc 100644 --- a/resources3/http.py +++ b/resources3/http.py @@ -146,6 +146,20 @@ def get_sheets(sheets_urlbase="https://datacloud.icgc.cat/datacloud/talls_ETRS89 return sheets_list +def get_grids(grid_urlbase="https://datacloud.icgc.cat/datacloud/quadricules-utm/shp/", + grid_http_file_pattern=r'quadricules-utm-v1r0-2021.zip'): + """ Obté les URLs dels arxius de quadricules disponibles de l'ICGC. + Retorna: [(sheet_name, sheet_url)] + --- + Gets ICGC's available grid urls +        Returns: [(grid_name, grid_url)] + """ + # De moment les 2 quadrícules estan en el mateix zip... així que fixo el nom de les 2... + return [ + ("UTM (MGRS) 1x1 km", "/vsicurl/%s%s|layername=%s" % (grid_urlbase, grid_http_file_pattern, 'quadricules-utm-1km-v1r0-2021.shp')), + ("UTM (MGRS) 10x10 km", "/vsicurl/%s%s|layername=%s" % (grid_urlbase, grid_http_file_pattern, 'quadricules-utm-10km-v1r0-2021.shp')), + ] + def get_delimitations_old(delimitations_urlbase="https://datacloud.icgc.cat/datacloud/bm5m_ETRS89/json_unzip", delimitation_http_file_pattern=r'(bm5mv\d+js\dt[cp][cmp][\d_]+\.json)', delimitation_type_patterns_list=[("Caps de Municipi", r"bm5mv\d+js\dtcm[\d_]+\.json"), ("Municipis", r"bm5mv\d+js\dtpm[\d_]+\.json"), diff --git a/symbols/caps_municipi.qml b/symbols/caps_municipi.qml index 9175a12..2fe712e 100644 --- a/symbols/caps_municipi.qml +++ b/symbols/caps_municipi.qml @@ -1,61 +1,61 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 0 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + diff --git a/symbols/comarques.qml b/symbols/comarques.qml index fb07257..415008e 100644 --- a/symbols/comarques.qml +++ b/symbols/comarques.qml @@ -1,54 +1,54 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 2 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 2 + diff --git a/symbols/municipis.qml b/symbols/municipis.qml index 458eafc..8884147 100644 --- a/symbols/municipis.qml +++ b/symbols/municipis.qml @@ -1,54 +1,54 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 2 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 2 + diff --git a/symbols/provincies.qml b/symbols/provincies.qml index fdfb57c..0aeed54 100644 --- a/symbols/provincies.qml +++ b/symbols/provincies.qml @@ -1,54 +1,54 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 2 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 2 + diff --git "a/symbols/ressaltat_al\303\247ades.qml" "b/symbols/ressaltat_al\303\247ades.qml" index cc3766c..514f062 100644 --- "a/symbols/ressaltat_al\303\247ades.qml" +++ "b/symbols/ressaltat_al\303\247ades.qml" @@ -1,31 +1,31 @@ - - - - 1 - 1 - 1 - - - - - - - - - - - - None - WholeRaster - Estimated - 0.02 - 0.98 - 2 - - - - - - - 8 - + + + + 1 + 1 + 1 + + + + + + + + + + + + None + WholeRaster + Estimated + 0.02 + 0.98 + 2 + + + + + + + 8 + diff --git a/symbols/talls.qml b/symbols/talls.qml index e70614c..9b36fb5 100644 --- a/symbols/talls.qml +++ b/symbols/talls.qml @@ -1,301 +1,301 @@ - - - - 1 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - 0 - generatedlayout - - - - - - - - - - - - - - - - - - - - - - - - IDABS - - 2 - + + + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 0 + generatedlayout + + + + + + + + + + + + + + + + + + + + + + + + IDABS + + 2 +