# (c) Didier  LECLERC 2024 CHARGE D'ETUDES GEOMATIQUES MTE-MCTRCT/SG/DNUM/MSP/DS/GSG/PMIRG Site de Rouen
# créé sept 2024 
# ===================
# = for Plugin qgidistribution_VERSION                            
# - DL
# ===================
import os
# - For version 
QGIREFERENTIELS_VERSION = 'v1.3.6'

# - For Géoplateforme
# apikey, APIKEY et X-Geopf-Api-Key       
URL_API_GPF          = "https://data.geopf.fr/telechargement"
URL_API_GPF_PRIVATE  = "https://data.geopf.fr/private/telechargement"
HTTP_PROXY_GPF  = "https:/pfrie-std.proxy.e2.rie.gouv.fr:8080"
HTTPS_PROXY_GPF = HTTP_PROXY_GPF      

# - For GI Distribution
URL_CATALOGUE_DISTRIBUTION         = "https://geoide-distribution.e2.rie.gouv.fr/00-CATALOGUE/DOCUMENTS/catalogue_assemblages.xml"
URL_STATISTIQUES_DISTRIBUTION_FILE = "qgireferentiels_log.csv"
HTTP_PROXY_GI_DISTRIBUTION         = ""
HTTPS_PROXY_GI_DISTRIBUTION        = HTTP_PROXY_GI_DISTRIBUTION      

#- For Log PostgreSQL 
PP_HOST     = "foad-postgresql.e2.rie.gouv.fr"
PP_PORT     = "5432"
PP_BASE     = "pmirg_outils"
PP_USER     = "pmirg_qgidistribution_log"
PP_PASSWORD = "Cpt2log@distrib"
PP_SCHEMA   = "qgireferentiels"
PP_TABLE    = "qgireferentiels_log"

# - For Doc 
VALUEDEFAUTFILEHELP     = "html"
VALUEDEFAUTFILEHELPPDF  = "https://snum.scenari-community.org/qgeoentrepot/PDF/GuideQgeoentrepot"
VALUEDEFAUTFILEHELPHTML = "http://piece-jointe-carto.developpement-durable.gouv.fr/NAT002/QGIS/plugins/doc/qgireferentiels/index.html"


