Mise en relation de propriétaires forestiers en vue d’échanges de parcelles
Placer dans un dossier vierge (par exemple ‘./ma_bourse’) le shapefile des parcelles cadastrales nommé BDPARCELLE: - soit 4 fichiers: BDPARCELLE.shp, BDPARCELLE.shx, BDPARCELLE.dbf, BDPARCELLE.prj - dont la table attributaire contient a minima les champs: - nom_com: nom de la commune, au format texte - section: code de la section, au format texte - numero: numéro de la parcelle, au format texte. - ce shapefile peut par exemple être télécharger sous le logiciel QGIS, après inscription sur le site de l’IGN au géo-service WFS.
Définir le dossier des données: > boursefonciereforestiere::set_path(“./ma_bourse”)
Renseigner les paramètres du projet: > boursefonciereforestiere::admin(commune = “CommunePrincipale”, parcelle_ini = “CommunePrincipale_OA_0001”, mail = “administrateur@xxx.com”, host = “smtp.xxx.com”, username_smtp = “administrateur@xxx.com”, password_smtp = “motDePasse”, port_smtp = “993”, adresse = “http://ma_bourse.fr:8080”, administrateur = “Monsieur X”, titre_administrateur = “propriétaire forestier”, psw_admin = “er34hy1Az))
où:
La démarche explicitée ici utilise DOCKER (https://docs.docker.com/get-docker/) et SHINYPROXY (https://www.shinyproxy.io/).
Dans un dossier de votre serveur (par ex. /home/img), placez les fichiers:
Dans la console, exécutez:
kill -9 \$(sudo lsof -t -i:8080) cd /home/img docker -build -t bourse .
Dans un dossier (par exemple /home/shinyproxy), copiez:
cd /home/shinyproxy java -jar shinyproxy-2.3.1.jar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.