Skip to content

Commit

Permalink
improve doc with command line examples and templates for importing data
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhnild committed Sep 3, 2024
1 parent a442a37 commit c51fa5c
Show file tree
Hide file tree
Showing 9 changed files with 807 additions and 273 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ CHANGELOG
- Fix swapped plural and singular translations for Annotation Categories (#4032)
- Filter out deleted services in API responses (#4284)

**Documentation**

- Add command line examples and templates for importing data


2.109.1 (2024-08-22)
----------------------------

Expand Down
9 changes: 9 additions & 0 deletions docs/files/import/cities.geojson

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/files/import/districts.geojson

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/files/import/infrastructure.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "FeatureCollection",
"name": "infrastructure",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": "1", "name": "Passerelle", "type": "Passerelle fixe", "etat": "Bon état", "descriptio": "Passerelle avec grille en fer et garde corpsCode (identifiant) : 81219_PR5_Pa1Date de la visite : 26/06/2023", "annee": "2023", "structure": "DEMO", "categorie": "E" }, "geometry": { "type": "Point", "coordinates": [ 2.003289163058072, 43.599854757986186 ] } },
{ "type": "Feature", "properties": { "id": "2", "name": "Attache vélo", "type": "Arceau", "etat": "Bon état", "descriptio": "ID : CCTA_AT_033; Adresse : Piscine O Pastel; Attache_Nombre : 12; Attache_Place : 24; Attache_Modèle : ; Attache_Longueur : 6m; Attache_Largeur : 1m; Attache_Fixation : Beton; Gestionnaire : Intercommunal; Remarques : 2 x 6 arceaux;", "annee": "2024", "structure": "DEMO", "categorie": "E" }, "geometry": { "type": "Point", "coordinates": [ 1.820261534303427, 43.687596197751915 ] } },
{ "type": "Feature", "properties": { "id": "3", "name": "Parking", "type": "Aire de stationnement", "etat": "Bon état", "descriptio": "Parking de départCode (identifiant) : 81219_PR5_Par1Date de la visite : 26/06/2023", "annee": "2024", "structure": "DEMO", "categorie": "A" }, "geometry": { "type": "Point", "coordinates": [ 2.014001905863552, 43.572322924187603 ] } },
{ "type": "Feature", "properties": { "id": "4", "name": "Autre", "type": "Chicane", "etat": "Bon état", "descriptio": "Chicane bois autoclaveCode: 81165_PR2_Aut1Remarques: Chicane 4 poteaux 12*200+6 planches 3*10*150+plaquette vissée", "annee": "2024", "structure": "DEMO", "categorie": "E" }, "geometry": { "type": "Point", "coordinates": [ 1.850683316588401, 44.104811827662644 ] } }
]
}
9 changes: 9 additions & 0 deletions docs/files/import/paths.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "FeatureCollection",
"name": "paths",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::2154" } },
"features": [
{ "type": "Feature", "properties": { "id": "2", "structure": "DEMO", "commentaire": "BD Topo - IGN 2024" }, "geometry": { "type": "LineString", "coordinates": [ [ 622917.0, 6285861.200000000186265 ], [ 622917.899999998509884, 6285882.299999999813735 ], [ 622920.200000002980232, 6285894.399999998509884 ], [ 622925.5, 6285906.0 ], [ 622987.227817399078049, 6285995.60909256990999 ], [ 623002.299999997019768, 6286025.899999998509884 ], [ 623009.299999997019768, 6286045.899999998509884 ], [ 623024.299999997019768, 6286076.700000000186265 ], [ 623053.367948473198339, 6286110.395769325084984 ], [ 623062.299999997019768, 6286134.399999998509884 ], [ 623065.399999998509884, 6286174.799999999813735 ], [ 623070.399999998509884, 6286198.399999998509884 ], [ 623086.600000001490116, 6286221.399999998509884 ], [ 623102.299999997019768, 6286265.100000001490116 ], [ 623111.399999998509884, 6286282.799999999813735 ], [ 623156.899999998509884, 6286342.5 ], [ 623184.399999998509884, 6286370.700000000186265 ], [ 623226.5, 6286394.700000000186265 ], [ 623250.5, 6286413.100000001490116 ] ] } },
{ "type": "Feature", "properties": { "id": "36", "structure": "DEMO", "commentaire": "BD Topo - IGN 2024" }, "geometry": { "type": "LineString", "coordinates": [ [ 622917.0, 6285861.200000000186265 ], [ 622949.200000002980232, 6285839.700000000186265 ], [ 622983.600000001490116, 6285822.100000001490116 ], [ 622994.399999998509884, 6285820.200000000186265 ], [ 623007.0, 6285822.100000001490116 ], [ 623061.200000002980232, 6285863.100000001490116 ], [ 623108.200000002980232, 6285886.600000001490116 ], [ 623176.899999998509884, 6285954.899999998509884 ], [ 623214.799999997019768, 6285999.899999998509884 ] ] } }
]
}
10 changes: 10 additions & 0 deletions docs/files/import/poi.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "FeatureCollection",
"name": "poi",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": "1", "name": "Conservatoire de la Figue", "type": "Savoir-faire", "description": "En 2000, la municipalité de Vézénobres accueille sur un terrain de 2 hectares, le dédoublement d’une partie de la collection de figuiers du Conservatoire Botanique National de Porquerolles. Une collection de près d’un millier d’arbres présent" }, "geometry": { "type": "Point", "coordinates": [ 4.136484906011901, 44.051878782926984 ] } },
{ "type": "Feature", "properties": { "id": "2", "name": "Sous bois de châtaignier", "type": "Faune", "description": "Résistant aux insectes, aux intempéries, à l'air marin, le Châtaignier est l'une des essences qui vieillit le mieux en extérieur, sans aucun traitement de préservation. Sa richesse en tanin en fait un bois particulièrement résistant." }, "geometry": { "type": "Point", "coordinates": [ 3.950572013854981, 44.339227618677505 ] } },
{ "type": "Feature", "properties": { "id": "3", "name": "Chemin du héron", "type": "Point de vue", "description": "Chemin escarpé menant à une table d'orientation." }, "geometry": { "type": "Point", "coordinates": [ 3.958884779930243, 43.913097281625866 ] } }
]
}
9 changes: 9 additions & 0 deletions docs/files/import/restrictedareas.geojson

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions docs/files/import/signage.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"type": "FeatureCollection",
"name": "signage",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": "1", "structure": "DEMO", "name": "Poteau", "code": "81150_PR1_P3", "type": "Directionnelle", "etat": "Bon état", "description": "Poteau bois avec une lameDate de la visite : 01/06/2023", "annee": "2024", "scellement": null, "gestionnaire": "EPCI" }, "geometry": { "type": "Point", "coordinates": [ 1.720032021457883, 43.732925738192286 ] } },
{ "type": "Feature", "properties": { "id": "2", "structure": "DEMO", "name": "Poteau (à créer)", "code": "81286_PR1_AC2", "type": "Directionnelle", "etat": null, "description": "Balisage à créerRemarque :  Après avoir remonté la rue de départ, au croisement avec le chemin « Le Fédal », il faut ajouter un balisage pour indiquer de tourner à droite. Un balisage présent sur le chemin à gauche porte à confusion. Il faut", "annee": "2024", "scellement": null, "gestionnaire": "EPCI" }, "geometry": { "type": "Point", "coordinates": [ 2.047808468287259, 43.658429913795025 ] } },
{ "type": "Feature", "properties": { "id": "3", "structure": "DEMO", "name": "Poteau", "code": "81165_PR2_P1", "type": "Information", "etat": "Bon état", "description": "Poteau boisSection: 80/80longueur: 200 cm\r\nRemarques: À nettoyer situé face à la mairieDate de visite: 12/1/2022", "annee": "2024", "scellement": "Béton", "gestionnaire": null }, "geometry": { "type": "Point", "coordinates": [ 1.87905639410019, 44.127609439435453 ] } },
{ "type": "Feature", "properties": { "id": "4", "structure": "DEMO", "name": "CC du Cordais et du Causse", "code": "81045_PR2_Ac1", "type": "Directionnelle", "etat": "Bon état", "description": null, "annee": "2024", "scellement": null, "gestionnaire": null }, "geometry": { "type": "Point", "coordinates": [ 1.941101253032684, 44.067535678558016 ] } },
{ "type": "Feature", "properties": { "id": "7", "structure": "DEMO", "name": "Poteau", "code": "81139_PR2_P1", "type": "Directionnelle", "etat": "Bon état", "description": "Poteau en fer avec 3 lames Remarque : Lame 1 : LD Gauche, bon état, \"Les Crêtes\"Lame 2 : LD Gauche, bon état, \"Le Tumulus\"Lame 3  : à moitié arrachée, a remplacerCode (identifiants) : 81139_PR2_P1, Date de passage : 22/05/2023", "annee": "2024", "scellement": "Fourreau", "gestionnaire": "EPCI" }, "geometry": { "type": "Point", "coordinates": [ 2.137700021212368, 43.708365182633187 ] } },
{ "type": "Feature", "properties": { "id": "22", "structure": "DEMO", "name": "Poteau", "code": "81139_PR2_P3", "type": "Directionnelle", "etat": "Bon état", "description": "Poteau fer avec 2 lames Remarques : Lame 1 : LD Gauche, bon état, \"Sentier de l'ail\"Lame 2 : LD Droite, bon état, \"Le Tumulus\"Code (identifiants) : 81139_PR2_P3Date de passage : 22/05/2023", "annee": "2024", "scellement": "Planté", "gestionnaire": "EPCI" }, "geometry": { "type": "Point", "coordinates": [ 2.139679491465358, 43.712023734557796 ] } }
]
}
Loading

0 comments on commit c51fa5c

Please sign in to comment.