[general]
name=CalePlan
qgisMinimumVersion=3.28
qgisMaximumVersion=4.99
supportsQt6=True
description=FR: Cale un PDF multipage (page au choix) ou une image sur la carte : un clic sur le plan, un clic sur la carte, et le GeoTIFF cale est ajoute au projet, avec couleur transparente optionnelle.
    EN: Georeference a multi-page PDF (any page) or an image: click a landmark on the plan, click it on the map, and the georeferenced GeoTIFF is added to the project, with an optional transparent colour.
    ES: Georreferencia un PDF de varias paginas (pagina a elegir) o una imagen: un clic en el plano, un clic en el mapa, y el GeoTIFF georreferenciado se anade al proyecto, con color transparente opcional.
    PT: Georreferencia um PDF com varias paginas (pagina a escolher) ou uma imagem: um clique na planta, um clique no mapa, e o GeoTIFF georreferenciado e adicionado ao projeto, com cor transparente opcional.
    DE: Georeferenziert ein mehrseitiges PDF (beliebige Seite) oder ein Bild: Punkt im Plan anklicken, denselben Punkt in der Karte anklicken, und das georeferenzierte GeoTIFF wird dem Projekt hinzugefuegt, optional mit transparenter Farbe.
about=FR: CalePlan ouvre un PDF multipage ou une image (JPG, PNG, TIFF, BMP, GIF) et la cale sur la carte QGIS a partir de reperes que l'on pointe deux fois : une fois sur le plan, une fois sur la carte. Pour un PDF, les pages s'affichent en vignettes avec leur format papier (A0 a A5) : on clique la page a caler, rendue en 100, 150, 200 ou 300 dpi. Deux points suffisent (similitude : translation, rotation et echelle uniforme, sans deformation) ; avec trois points un ecart par point controle le calage, et a partir de quatre points une transformation affine corrige la deformation du scan, avec ecart quadratique moyen, taille du pixel et rotation. Des alertes signalent des points alignes, identiques ou trop rapproches, un effet miroir ou un SCR de projet geographique. Une couleur du plan (par exemple le fond blanc d'un scan) peut etre rendue transparente a la pipette, avec une tolerance reglable et un apercu sur damier avant l'ecriture. Le resultat est un GeoTIFF (compression DEFLATE, pyramides, bande alpha si besoin) dans le SCR du projet, ajoute au projet ; en recalant, la couche existante est remplacee a la meme place, avec le meme nom et la meme opacite, sans doublon. La fenetre ne bloque pas QGIS et peut se masquer le temps du clic sur la carte ; le zoom a la molette se centre sur le curseur ; l'interface est traduite en 5 langues (FR, EN, ES, PT, DE). Les PDF sont lus par PyMuPDF s'il est installe, sinon par le pilote PDF de GDAL fourni avec QGIS ; les images n'ont besoin de rien. Compatible QGIS 3.28 a QGIS 4 (Qt 5 et Qt 6, QGIS 4 non encore teste). Auteur : Yoan Laloux - https://www.linkedin.com/in/ylaloux/
    EN: CalePlan opens a multi-page PDF or an image (JPG, PNG, TIFF, BMP, GIF) and georeferences it on the QGIS map from landmarks you click twice: once on the plan, once on the map. For a PDF, the pages are shown as thumbnails with their paper size (A0 to A5): click the page to georeference, rendered at 100, 150, 200 or 300 dpi. Two points are enough (similarity: translation, rotation and uniform scale, no distortion); with three points an error per point checks the fit, and from four points an affine transformation corrects the scan distortion, with root mean square error, pixel size and rotation. Warnings flag collinear, identical or very close points, a mirrored result or a geographic project CRS. A colour of the plan (for example the white background of a scan) can be made transparent with an eyedropper, with an adjustable tolerance and a checkerboard preview before writing. The result is a GeoTIFF (DEFLATE compression, overviews, alpha band when needed) in the project CRS, added to the project; when you georeference again, the existing layer is replaced at the same position, with the same name and opacity, with no duplicate. The window does not block QGIS and can hide itself during the click on the map; the mouse-wheel zoom is centred on the cursor; the interface is translated into 5 languages (FR, EN, ES, PT, DE). PDFs are read with PyMuPDF if installed, otherwise with the GDAL PDF driver shipped with QGIS; images need nothing extra. Works with QGIS 3.28 to QGIS 4 (Qt 5 and Qt 6, QGIS 4 not tested yet). Author: Yoan Laloux - https://www.linkedin.com/in/ylaloux/
    ES: CalePlan abre un PDF de varias paginas (miniaturas, elegir la pagina) o una imagen y la georreferencia en el mapa de QGIS con dos clics por punto: uno en el plano y otro en el mapa. Dos puntos bastan (semejanza, sin deformacion); con tres puntos se controla el error y desde cuatro una transformacion afin corrige la deformacion del escaneado. Un color del plano puede hacerse transparente con cuentagotas. El resultado es un GeoTIFF en el SRC del proyecto, anadido al proyecto; al volver a georreferenciar, la capa se sustituye sin duplicados. Interfaz en 5 idiomas. Autor: Yoan Laloux - https://www.linkedin.com/in/ylaloux/
    PT: CalePlan abre um PDF com varias paginas (miniaturas, escolha da pagina) ou uma imagem e georreferencia-a no mapa do QGIS com dois cliques por ponto: um na planta e outro no mapa. Dois pontos bastam (semelhanca, sem deformacao); com tres pontos o erro e controlado e a partir de quatro uma transformacao afim corrige a deformacao da digitalizacao. Uma cor da planta pode ser tornada transparente com conta-gotas. O resultado e um GeoTIFF no SRC do projeto, adicionado ao projeto; ao georreferenciar de novo, a camada e substituida sem duplicados. Interface em 5 idiomas. Autor: Yoan Laloux - https://www.linkedin.com/in/ylaloux/
    DE: CalePlan oeffnet ein mehrseitiges PDF (Vorschaubilder, Seitenwahl) oder ein Bild und georeferenziert es in der QGIS-Karte mit zwei Klicks pro Punkt: einer im Plan, einer in der Karte. Zwei Punkte genuegen (Aehnlichkeit, ohne Verzerrung); mit drei Punkten wird der Fehler kontrolliert, ab vier Punkten korrigiert eine affine Transformation die Verzerrung des Scans. Eine Farbe des Plans kann mit der Pipette transparent gemacht werden. Ergebnis ist ein GeoTIFF im Projekt-KBS, das dem Projekt hinzugefuegt wird; bei erneuter Georeferenzierung wird die Ebene ersetzt, ohne Duplikat. Oberflaeche in 5 Sprachen. Autor: Yoan Laloux - https://www.linkedin.com/in/ylaloux/
version=1.0.1
author=Yoan Laloux
email=y.laloux@vichy-communaute.fr
homepage=https://github.com/Cartoyoyo/CalePlan
tracker=https://github.com/Cartoyoyo/CalePlan/issues
repository=https://github.com/Cartoyoyo/CalePlan
license=GNU GPL v3
icon=icon.png
experimental=False
deprecated=False
hasProcessingProvider=no
tags=georeferencing,georeferencer,georeferencement,calage,raster,pdf,image,scan,plan,geotiff,transparence,transparent,pipette,gdal,pymupdf,qgis4,qt6
category=Raster
changelog=1.0.1 - Publication automatique par tag (workflow GitHub qui construit le ZIP, controle Bandit et detect-secrets, envoie sur plugins.qgis.org et cree la release) ; README avec le logo en tete. Aucun changement de fonctionnement du plugin.
    1.0.0 - Premiere version : PDF multipage (vignettes, choix de la page) ou image ; clic sur le plan puis sur la carte ; similitude des 2 points, controle de l'ecart a 3 points, affine des 4 points ; GeoTIFF dans le SCR du projet, ajoute au projet ; couleur transparente (pipette, tolerance, apercu sur damier) ; recalage qui remplace la couche existante ; bouton dans la barre des extensions et menu Extensions ; interface en 5 langues (FR, EN, ES, PT, DE) ; QGIS 3.28 a 4 (Qt 5 et Qt 6, QGIS 4 non teste).
