Skip to content

Commit 53010d9

Browse files
Merge pull request #18 from IGNF/mec
Mec
2 parents e3206c2 + 276a418 commit 53010d9

165 files changed

Lines changed: 13917 additions & 18 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config-backup/validator_attribute_type.csv

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,6 +2279,13 @@ d62e690d3d54d7ac0bc1e7d0a1813bf4,8a1cdad7c2f1328fdda6db56ee972b8b,NOMASS,NOMASS,
22792279
4f02c2fc4d6092c6cc1645c9c4f8dd1b,8a33bfa8144a1807cae64235ae95916c,NOMASS,NOMASS,,String,t,f,,<CATEGORIE>_<RADICAL>(_gen<ENTIER>)?_ass,,100,
22802280
9e5df26525c0ed9f95a033e6548fe3d4,8a33bfa8144a1807cae64235ae95916c,WKT,Géométrie,"Géométrie associée",MultiPolygon,t,t,,,,,
22812281
a2425636a49bec29c7d1936c86937dbb,8a33bfa8144a1807cae64235ae95916c,TYPEASS,TYPEASS,,String,t,f,"[""Zone de rétention d'eau""]",,,40,
2282+
9b5977865395eb190c0bf82d9eaac265,8a5b8dd35e3d5037a635aa0b9e8fbf87,LIBELLE,LIBELLE,"Libellé du secteur tel que le définit la carte communale",String,t,f,,,,254,
2283+
a06fd45e92ad1a66f446273f073e7e03,8a5b8dd35e3d5037a635aa0b9e8fbf87,IDURBA,IDURBA,"Identifiant du document d'urbanisme",String,t,f,,,,30,
2284+
a0d320cb3d2173606cc9df8a5790c5f6,8a5b8dd35e3d5037a635aa0b9e8fbf87,WKT,Géométrie,"Géométrie associée",MultiPolygon,t,t,,,,,
2285+
b4d7249f598514ff355215858e2dc524,8a5b8dd35e3d5037a635aa0b9e8fbf87,NOMRAPP,NOMRAPP,"Nom du fichier relatif au rapport de présentation de la MEC",String,f,f,,,,80,
2286+
dcfeb75dcc2f683fe53aeee0ffd1aa8f,8a5b8dd35e3d5037a635aa0b9e8fbf87,DATVALID,DATVALID,"Date de validation ou de signature de l’arrêté",String,t,f,,<YYYYMMDD>,,,
2287+
f4678873a0f1c44105c3953e67ead1be,8a5b8dd35e3d5037a635aa0b9e8fbf87,NOMFIC,NOMFIC,"Nom du fichier relatif à l’arrêté de la MEC",Filename,t,f,,,,80,
2288+
ffb5d583d2d2aa66e4c0d72673c8d467,8a5b8dd35e3d5037a635aa0b9e8fbf87,NOMARR,NOMARR,"Nom du fichier relatif à l’arrêté de la MEC",String,f,f,,,,80,
22822289
22fa4436d411979d8cd446588cc616ff,8a94a4c30fa01685cdef99d73bb3c4f8,TAILLE,TAILLE,"Taille des caractères",Integer,f,f,,,,,
22832290
39fa8b6549bf0f4a7a20edbb2c99f2c8,8a94a4c30fa01685cdef99d73bb3c4f8,IDURBA,IDURBA,"Identifiant du document d'urbanisme",String,t,f,,,,30,
22842291
755993fe752b978e701038cc21253ef4,8a94a4c30fa01685cdef99d73bb3c4f8,WKT,Géométrie,"Géométrie associée",MultiPoint,t,t,,,,,
@@ -3807,6 +3814,8 @@ b267ca9cced187263d475a2c12f6c0f2,f260a4dc48799a86895a7d7e3dd71a1c,NATECR,NATECR,
38073814
b3ba2906774a30a77bbac3c713f02f12,f260a4dc48799a86895a7d7e3dd71a1c,WKT,Géométrie,"Géométrie associée",MultiPoint,t,t,,,,,
38083815
c07158ac048e0e460d50524ab7ee506e,f260a4dc48799a86895a7d7e3dd71a1c,TAILLE,TAILLE,"Taille des caractères en point",Integer,f,f,,,,,
38093816
f79a724cdea46790d209de326f8f6cc4,f260a4dc48799a86895a7d7e3dd71a1c,ANGLE,ANGLE,"Angle de l'écriture exprimé en degré, par rapport à l'horizontale, dans le sens trigonométrique",Integer,f,f,,,,,
3817+
de2d77e8fe453a5b01ecbec4b0764344,f26178a77941d3970f3b7bc0432dac1b,FICHIER,FICHIER,,Filename,t,f,,,,255,
3818+
f3069a81b6a508f5f2c114fbfab991ee,f26178a77941d3970f3b7bc0432dac1b,TITRE,TITRE,,String,t,f,,,,80,
38103819
83fcdc76c1b1118955f4b3bbd6cc1bff,f307a475f784a0bb08b69b9c6efceea5,TYPEASS,TYPEASS,,String,t,f,"[""Zone de protection""]",,,40,
38113820
af8976dd3d3080e72a053c7f24ba086f,f307a475f784a0bb08b69b9c6efceea5,WKT,Géométrie,"Géométrie associée",MultiPolygon,t,t,,,,,
38123821
b80346cc59f808f28883ee8e0e061fe3,f307a475f784a0bb08b69b9c6efceea5,NOMASS,NOMASS,,String,t,f,,<CATEGORIE>_<RADICAL>(_gen<ENTIER>)?_ass,,100,

config-backup/validator_document_model.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ edc59ebe4704453162a64771cda4596b,ffcddc2f34028e3a966a0f6583963625,f,cnig_SUP_A2_
152152
a92b92f73d59917d050de93dbb4e74c7,,f,cnig_PLU_2014,cnig_PLU_2014,maillage_PLU_datappro(_part),t,<MAILLAGE>_PLU_<YYYYMMDD>(_<DOCUMENT_PART>)?,"CNIG PLU v2014"
153153
a95f87edbaf1e2e69a6620f2d071b81b,,f,cnig_POS_2025,cnig_POS_2025,cnig_POS_2025,t,<MAILLAGE>_POS_<YYYYMMDD>(_<DOCUMENT_PART>)?,"CNIG POS v2025"
154154
ad47c386d286586b0906739578a028ed,,f,cnig_POS_2022,cnig_PLU_2017,cnig_POS_2022,t,<MAILLAGE>_PLU_<YYYYMMDD>(_<DOCUMENT_PART>)?,"CNIG PLU v2017"
155+
ae1b7c300cc2bd02910b8c279cfb4af0,,f,GPU_MEC_2025,GPU_MEC_2025,GPU_MEC_2025,t,<MAILLAGE>_(PLU|POS|CC|PLUi|SCoT)_MEC_<YYYYMMDD>,"GPU MEC v2025"
155156
b4f09a52c081104203f01ec99856d766,,f,cnig_POS_2017,cnig_POS_2017,maillage_POS_datappro(_part),t,<MAILLAGE>_POS_<YYYYMMDD>(_<DOCUMENT_PART>)?,"CNIG POS v2017"
156157
b5797dc899ea354cf5323667cffec332,,f,cnig_POS_2014,cnig_POS_2014,maillage_POS_datappro(_part),t,<MAILLAGE>_POS_<YYYYMMDD>(_<DOCUMENT_PART>)?,"CNIG POS v2014"
157158
c34c44a06f5aee7bdd7dad9a50e9f01e,,f,cnig_CC_2014,cnig_CC_2014,maillage_CC_datappro(_part),t,<MAILLAGE>_CC_<YYYYMMDD>(_<DOCUMENT_PART>)?,"CNIG CC v2014"

config-backup/validator_feature_type.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,8 @@ bdddfb64acfd77cd55b1025fd9834a1f,ad47c386d286586b0906739578a028ed,,f,HABILLAGE_T
522522
c10f1a638be2f90861650804baf1a262,ad47c386d286586b0906739578a028ed,,f,HABILLAGE_SURF,HABILLAGE_SURF,"Table des tracés surfaciques indicatifs figurant sur le plan du document d'urbanisme à des fins d'ha",,
523523
d38eba7688454a81b1a3ae4a6b37a875,ad47c386d286586b0906739578a028ed,,f,PRESCRIPTION_LIN,PRESCRIPTION_LIN,"Table contenant les prescriptions linéaires se superposant au document d'urbanisme et le lien avec le texte qui la décrit","[""TYPEPSC NOT LIKE '97' OR STYPEPSC NOT LIKE '00' OR NOMFIC IS NOT NULL""]","[""(TYPEPSC, STYPEPSC) REFERENCES PrescriptionUrbaType(TYPEPSC, STYPEPSC)""]"
524524
fc3e178d5e85e0a30cc0ed4c8e0b0056,ad47c386d286586b0906739578a028ed,,f,PRESCRIPTION_PCT,PRESCRIPTION_PCT,"Table contenant les prescriptions ponctuelles se superposant au document d'urbanisme et le lien avec le texte qui la décrit","[""TYPEPSC NOT LIKE '97' OR STYPEPSC NOT LIKE '00' OR NOMFIC IS NOT NULL""]","[""(TYPEPSC, STYPEPSC) REFERENCES PrescriptionUrbaType(TYPEPSC, STYPEPSC)""]"
525+
8a5b8dd35e3d5037a635aa0b9e8fbf87,ae1b7c300cc2bd02910b8c279cfb4af0,,f,MEC,MEC,,null,null
526+
f26178a77941d3970f3b7bc0432dac1b,ae1b7c300cc2bd02910b8c279cfb4af0,,f,TITRES_PIECES_ECRITES,TITRES_PIECES_ECRITES,,null,null
525527
4fe1ad55b3571cb5ac5b539ba4df028f,b051728d2aae83997f127a9ed540f211,5146126394baf20af78d61bf8c20abf9,f,INT1_GENERATEUR_SUP_S,INT1_GENERATEUR_SUP_S,"Table contenant les générateurs ponctuels / linéaires / surfaciques liés aux servitudes de la catégorie CAT",,
526528
6d87ee730b803c42fabc8818c62a4577,b051728d2aae83997f127a9ed540f211,4edb459e86909278aba4c2af6c942b42,f,INT1_ASSIETTE_SUP_S,INT1_ASSIETTE_SUP_S,"Table contenant les assiettes ponctuels / linéaires / surfaciques liés aux servitudes de la catégorie CAT",,
527529
82f35ea660b059e947eac6fbdb5fba92,b1766cedddcd650be0e4ab7a474f3e74,d8f20d2f47dd4e124458684ba917dc65,f,PM5_GENERATEUR_SUP_S,PM5_GENERATEUR_SUP_S,"Table contenant les générateurs ponctuels / linéaires / surfaciques liés aux servitudes de la catégorie CAT",,

config-backup/validator_file_model.csv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,13 @@ fb64d9e8befc7af2a93195ac95d5aca0,ad47c386d286586b0906739578a028ed,2_PADD,2_PADD,
11281128
fef9e64ec36b7a02e10fd6806cc13d8c,ad47c386d286586b0906739578a028ed,JUGEMENT,JUGEMENT,,pdf,Pieces_ecrites/0_Procedure/<INSEE_COMMUNE>_jugement_<YYYYMMDD>(_<DOCUMENT_PART>)?,OPTIONAL
11291129
ff1871bd92c02798d71547409f2021e4,ad47c386d286586b0906739578a028ed,HABILLAGE_SURF,HABILLAGE_SURF,,table,Donnees_geographiques/<INSEE_COMMUNE>_HABILLAGE_SURF_<YYYYMMDD>,OPTIONAL
11301130
ff890092d53e49cade66ca72853ae9a9,ad47c386d286586b0906739578a028ed,PRESCRIPTION_PCT,PRESCRIPTION_PCT,,table,Donnees_geographiques/<INSEE_COMMUNE>_PRESCRIPTION_PCT_<YYYYMMDD>,OPTIONAL
1131+
00f032b6a05ccc8b7395425d62ff19f5,ae1b7c300cc2bd02910b8c279cfb4af0,ARRETE_MEC,ARRETE_MEC,ARRETE_MEC,pdf,Pieces_ecrites/<MAILLAGE>_<YYYYMMDD>_arrete_MEC_<YYYYMMDD>,ERROR
1132+
77abe0633719b26e5f0e93d11cbeb07c,ae1b7c300cc2bd02910b8c279cfb4af0,Donnees_geographiques,Donnees_geographiques,,directory,Donnees_geographiques,ERROR
1133+
a7ab4f66fc82f0ed5d0764f252a692bf,ae1b7c300cc2bd02910b8c279cfb4af0,TITRES_PIECES_ECRITES,TITRES_PIECES_ECRITES,,table,Pieces_ecrites/<MAILLAGE>_titres_pieces_ecrites_<YYYYMMDD>,WARN
1134+
b612859c9f3f98f044655f918ba760cf,ae1b7c300cc2bd02910b8c279cfb4af0,MEC,MEC,,table,Donnees_geographiques/<MAILLAGE>_MEC_<YYYYMMDD>,ERROR
1135+
bb89ec066a7a14c37ae9c1ba34b974b2,ae1b7c300cc2bd02910b8c279cfb4af0,"RAPPORT DE PRESENTATION","RAPPORT DE PRESENTATION","Rapport de présentation de la MEC qui détaille le contexte et l’ensemble des pièces du DU modifiées par la MEC",pdf,Pieces_ecrites/<MAILLAGE>_<YYYYMMDD>_rapport_de_presentation_MEC_<YYYYMMDD>,ERROR
1136+
e42ea120ac70823c17af94bfc2fe103d,ae1b7c300cc2bd02910b8c279cfb4af0,METADONNEES,METADONNEES,,metadata,<FILENAME>,ERROR
1137+
ef4859dacad0c8d047041651a2851ebe,ae1b7c300cc2bd02910b8c279cfb4af0,Pieces_ecrites,Pieces_ecrites,Pieces_ecrites,directory,Pieces_ecrites,WARN
11311138
4f023238fd99beb83a091d2777252ce1,b051728d2aae83997f127a9ed540f211,INT1_ASSIETTE_SUP_S,INT1_ASSIETTE_SUP_S,,table,Donnees_geographiques/INT1_ASSIETTE_SUP_S(_<MAILLAGE>)?,OPTIONAL
11321139
98df6901ee40de10adf64f8d3d78f4a1,b051728d2aae83997f127a9ed540f211,INT1_GENERATEUR_SUP_S,INT1_GENERATEUR_SUP_S,,table,Donnees_geographiques/INT1_GENERATEUR_SUP_S(_<MAILLAGE>)?,OPTIONAL
11331140
759a27215766517d35a2e84c0919f6a2,b1766cedddcd650be0e4ab7a474f3e74,PM5_GENERATEUR_SUP_S,PM5_GENERATEUR_SUP_S,,table,Donnees_geographiques/PM5_GENERATEUR_SUP_S,OPTIONAL

config/GPU_MEC_2025/files.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"abstract": false,
3+
"id": "ae1b7c300cc2bd02910b8c279cfb4af0",
4+
"name": "GPU_MEC_2025",
5+
"title": "GPU_MEC_2025",
6+
"description": "GPU_MEC_2025",
7+
"files": [
8+
{
9+
"type": "directory",
10+
"mandatory": "ERROR",
11+
"id": "77abe0633719b26e5f0e93d11cbeb07c",
12+
"name": "Donnees_geographiques",
13+
"title": "Donnees_geographiques",
14+
"path": "Donnees_geographiques"
15+
},
16+
{
17+
"type": "table",
18+
"mandatory": "ERROR",
19+
"tableModel": "./types/MEC.json",
20+
"id": "b612859c9f3f98f044655f918ba760cf",
21+
"name": "MEC",
22+
"title": "MEC",
23+
"path": "Donnees_geographiques/[a-zA-Z0-9]+_MEC_[0-9]{8}"
24+
},
25+
{
26+
"type": "metadata",
27+
"mandatory": "ERROR",
28+
"id": "e42ea120ac70823c17af94bfc2fe103d",
29+
"name": "METADONNEES",
30+
"title": "METADONNEES",
31+
"path": "[^\\/]*"
32+
},
33+
{
34+
"type": "directory",
35+
"mandatory": "WARN",
36+
"id": "ef4859dacad0c8d047041651a2851ebe",
37+
"name": "Pieces_ecrites",
38+
"title": "Pieces_ecrites",
39+
"description": "Pieces_ecrites",
40+
"path": "Pieces_ecrites"
41+
},
42+
{
43+
"type": "table",
44+
"mandatory": "WARN",
45+
"tableModel": "./types/TITRES_PIECES_ECRITES.json",
46+
"id": "a7ab4f66fc82f0ed5d0764f252a692bf",
47+
"name": "TITRES_PIECES_ECRITES",
48+
"title": "TITRES_PIECES_ECRITES",
49+
"path": "Pieces_ecrites/[a-zA-Z0-9]+_titres_pieces_ecrites_[0-9]{8}"
50+
},
51+
{
52+
"type": "pdf",
53+
"mandatory": "ERROR",
54+
"id": "00f032b6a05ccc8b7395425d62ff19f5",
55+
"name": "ARRETE_MEC",
56+
"title": "ARRETE_MEC",
57+
"description": "ARRETE_MEC",
58+
"path": "Pieces_ecrites/[a-zA-Z0-9]+_[0-9]{8}_arrete_MEC_[0-9]{8}"
59+
},
60+
{
61+
"type": "pdf",
62+
"mandatory": "ERROR",
63+
"id": "bb89ec066a7a14c37ae9c1ba34b974b2",
64+
"name": "RAPPORT DE PRESENTATION",
65+
"title": "RAPPORT DE PRESENTATION",
66+
"description": "Rapport de présentation de la MEC qui détaille le contexte et l’ensemble des pièces du DU modifiées par la MEC",
67+
"path": "Pieces_ecrites/[a-zA-Z0-9]+_[0-9]{8}_rapport_de_presentation_MEC_[0-9]{8}"
68+
}
69+
],
70+
"codes": [],
71+
"constraints": {
72+
"folderName": "[a-zA-Z0-9]+_(PLU|POS|CC|PLUi|SCoT)_MEC_[0-9]{8}",
73+
"metadataSpecification": "GPU MEC v2025"
74+
}
75+
}

config/GPU_MEC_2025/types/MEC.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"id": "8a5b8dd35e3d5037a635aa0b9e8fbf87",
3+
"name": "MEC",
4+
"title": "MEC",
5+
"columns": [
6+
{
7+
"type": "String",
8+
"id": "9b5977865395eb190c0bf82d9eaac265",
9+
"name": "LIBELLE",
10+
"title": "LIBELLE",
11+
"description": "Libellé du secteur tel que le définit la carte communale",
12+
"constraints": {
13+
"required": true,
14+
"unique": false,
15+
"maxLength": 254
16+
}
17+
},
18+
{
19+
"type": "String",
20+
"id": "a06fd45e92ad1a66f446273f073e7e03",
21+
"name": "IDURBA",
22+
"title": "IDURBA",
23+
"description": "Identifiant du document d'urbanisme",
24+
"constraints": {
25+
"required": true,
26+
"unique": false,
27+
"maxLength": 30
28+
}
29+
},
30+
{
31+
"type": "MultiPolygon",
32+
"id": "a0d320cb3d2173606cc9df8a5790c5f6",
33+
"name": "WKT",
34+
"title": "Géométrie",
35+
"description": "Géométrie associée",
36+
"constraints": {
37+
"required": true,
38+
"unique": true
39+
}
40+
},
41+
{
42+
"type": "String",
43+
"id": "b4d7249f598514ff355215858e2dc524",
44+
"name": "NOMRAPP",
45+
"title": "NOMRAPP",
46+
"description": "Nom du fichier relatif au rapport de présentation de la MEC",
47+
"constraints": {
48+
"required": false,
49+
"unique": false,
50+
"maxLength": 80
51+
}
52+
},
53+
{
54+
"type": "String",
55+
"id": "dcfeb75dcc2f683fe53aeee0ffd1aa8f",
56+
"name": "DATVALID",
57+
"title": "DATVALID",
58+
"description": "Date de validation ou de signature de l’arrêté",
59+
"constraints": {
60+
"required": true,
61+
"unique": false,
62+
"pattern": "[0-9]{8}"
63+
}
64+
},
65+
{
66+
"type": "Filename",
67+
"id": "f4678873a0f1c44105c3953e67ead1be",
68+
"name": "NOMFIC",
69+
"title": "NOMFIC",
70+
"description": "Nom du fichier relatif à l’arrêté de la MEC",
71+
"constraints": {
72+
"required": true,
73+
"unique": false,
74+
"maxLength": 80
75+
}
76+
},
77+
{
78+
"type": "String",
79+
"id": "ffb5d583d2d2aa66e4c0d72673c8d467",
80+
"name": "NOMARR",
81+
"title": "NOMARR",
82+
"description": "Nom du fichier relatif à l’arrêté de la MEC",
83+
"constraints": {
84+
"required": false,
85+
"unique": false,
86+
"maxLength": 80
87+
}
88+
}
89+
]
90+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "f26178a77941d3970f3b7bc0432dac1b",
3+
"name": "TITRES_PIECES_ECRITES",
4+
"title": "TITRES_PIECES_ECRITES",
5+
"columns": [
6+
{
7+
"type": "Filename",
8+
"id": "de2d77e8fe453a5b01ecbec4b0764344",
9+
"name": "FICHIER",
10+
"title": "FICHIER",
11+
"constraints": {
12+
"required": true,
13+
"unique": false,
14+
"maxLength": 255
15+
}
16+
},
17+
{
18+
"type": "String",
19+
"id": "f3069a81b6a508f5f2c114fbfab991ee",
20+
"name": "TITRE",
21+
"title": "TITRE",
22+
"constraints": {
23+
"required": true,
24+
"unique": false,
25+
"maxLength": 80
26+
}
27+
}
28+
]
29+
}

config/cnig_CC_2013/files.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"abstract": false,
23
"id": "39c84789b97ac1944ff285abf3c1354c",
34
"name": "cnig_CC_2013",
45
"title": "cnig_CC_2013",

config/cnig_CC_2014/files.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"abstract": false,
23
"id": "c34c44a06f5aee7bdd7dad9a50e9f01e",
34
"name": "cnig_CC_2014",
45
"title": "cnig_CC_2014",

config/cnig_CC_2017/files.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"abstract": false,
23
"id": "549d80d774bc11bbea9ad213210b9a3d",
34
"name": "cnig_CC_2017",
45
"title": "cnig_CC_2017",

0 commit comments

Comments
 (0)