IGNF / validator-api

API permettant d'appeler IGNF/validator, qui permet de valider et de normaliser les données présentes dans une arborescence de fichiers.
GNU Affero General Public License v3.0
1 stars 0 forks source link

Présenter document-infos.json #25

Open slafayIGN opened 2 years ago

slafayIGN commented 2 years ago

Lorsque ce document est disponible, quand la normalisation est activée, le présenter à l'utilisateur peut être utile. Il contient des comptages, des statistiques, des emprises des données...

mborne commented 1 year ago

Bonjour,

Dans le cadre de PCRS, ENEDIS remonte ce type de besoin.

Je reprend ici l'allure de document-info.json produit par le validateur que nous pourrions présenter au niveau de l'API :

{
  "name" : "geovendee-20210621-3947",
  "documentModel" : {
    "name" : "CNIG_PCRS_v2.0"
  },
  "files" : [ {
    "type" : "multi_table",
    "modelName" : "DONNEES",
    "name" : "PCRS_export.gml",
    "path" : "geovendee-20210621/PCRS_export.gml",
    "boundingBox" : [ -9.2514058, -7.7684851, 33.7708311, 6.6238456 ],
    "totalFeatures" : 22489,
    "tables" : {
      "FacadePCRS" : {
        "boundingBox" : [ -9.2513812, -7.7684250, 33.7707244, 6.6236849 ],
        "totalFeatures" : 618
      },
      "AffleurantPCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 1682
      },
      "TronconVoirie" : {
        "boundingBox" : [ -9.2513675, -7.7681497, 33.7694324, 6.6235195 ],
        "totalFeatures" : 215
      },
      "HabillageLignesPCRS" : {
        "boundingBox" : [ -9.2514058, -7.7684631, 33.7708311, 6.6238456 ],
        "totalFeatures" : 657
      },
      "AffleurantEnveloppePCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 1682
      },
      "ProeminenceBatiPCRS" : {
        "boundingBox" : [ -9.2513855, -7.7679662, 33.7691833, 6.6237139 ],
        "totalFeatures" : 91
      },
      "PilierRegulierPCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 218
      },
      "MurPCRS" : {
        "boundingBox" : [ -9.2513858, -7.7684631, 33.7707851, 6.6237199 ],
        "totalFeatures" : 2163
      },
      "NomVoiriePCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 77
      },
      "LimiteVoiriePCRS" : {
        "boundingBox" : [ -9.2513815, -7.7684851, 33.7707818, 6.6236727 ],
        "totalFeatures" : 1149
      },
      "MarcheEscalierPCRS" : {
        "boundingBox" : [ -9.2513608, -7.7679222, 33.7691253, 6.6235175 ],
        "totalFeatures" : 209
      },
      "NumeroVoiriePCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 241
      },
      "SeuilPCRS" : {
        "boundingBox" : [ -9.2513956, -7.7684293, 30.5842367, 6.6237400 ],
        "totalFeatures" : 1018
      },
      "PointLevePCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 10690
      },
      "ArbrePCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 88
      },
      "PointCanevasPCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 9
      },
      "AffleurantGeometriquePCRS" : {
        "boundingBox" : null,
        "totalFeatures" : 1682
      }
    }
  } ],
  "documentExtent" : [ -9.2514058, -7.7684851, 33.7708311, 6.6238456 ],
  "tags" : { },
  "metadata" : null
}