Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
19cf42d
vector.py : skelton du fichier 'vector' suite revue du 23092025 avec …
fbacquelot Sep 25, 2025
75eaf2a
fichiers ARRONDISSEMENT* & vector* : suppression des données vectorie…
fbacquelot Sep 25, 2025
ac8241e
vectorset.json : ajout du fichier descriptor
fbacquelot Sep 25, 2025
e96ddd8
filelist.txt : ajout du fichier contenant la liste des chemins d'exem…
fbacquelot Sep 25, 2025
7882024
martinique.gpkg, states.geojson & TM_WORLD_BORDERS-0.3.* : exemples d…
fbacquelot Sep 25, 2025
6ee5dd0
données d'entrées supprimées pour être déplacées dans le dossier "data"
fbacquelot Sep 26, 2025
43fbee5
vector.py : mise à jour du code suite revue de Théo des autres points…
fbacquelot Sep 26, 2025
3dcdecb
test_vector.py : couverture des tests à 84% mais certains tests reste…
fbacquelot Sep 26, 2025
36069a4
test_vector.py : correction des erreurs mais tests à revoir dans leur…
fbacquelot Sep 26, 2025
be281a6
vector.py : suppression des try except car on lève déjà les exception…
fbacquelot Sep 26, 2025
cd237c6
vector.py : commentaires + docstring en anglais + remise au propre de…
fbacquelot Oct 9, 2025
cb76128
test_vector.py : couverture des tests unitaires et d'intégration à 87…
fbacquelot Oct 9, 2025
be4f23c
test_vector.py : passage des commentaires, l'en-tête et la docstring …
fbacquelot Oct 9, 2025
9166e9f
test_vector.py : ajout de deux méthodes de test 'test_write_descripto…
fbacquelot Oct 9, 2025
8c7e78f
test_vector.py : ajout de la méthode de test 'test_from_descriptor_ra…
fbacquelot Oct 9, 2025
8214cb2
vector.py : initialisation de l'objet du descriptor de 'VectorSet()'
fbacquelot Oct 9, 2025
1f365a0
test_vector.py : ajout de commentaires en anglais dans la docstring d…
fbacquelot Oct 9, 2025
b3f2075
test_vector.py : ajout de commentaires manquants
fbacquelot Oct 9, 2025
1eca29b
test_vector.py : si le fichier "output.json" est créé alors on le sup…
fbacquelot Oct 10, 2025
3a8a654
vector.py : ajout commentaire en anglais + affichage à l'écran + supp…
fbacquelot Oct 10, 2025
d169c8f
test_vector.py : revue des tests unitaires et d'intégration => tous l…
fbacquelot Oct 10, 2025
3de902d
[pre-commit.ci] Corrections automatiques appliquées par les git hooks.
pre-commit-ci[bot] Oct 10, 2025
43401f2
vector.py : revue de la sérialisation des tables dans la classe Vector()
fbacquelot Oct 11, 2025
8d306f0
test_vector.py : revue des tests pour vérifier que la classe Vector()…
fbacquelot Oct 11, 2025
9653d7c
test_vector.py : revue des tests de la sérialization de la classe 'Ve…
fbacquelot Oct 11, 2025
20221c4
[pre-commit.ci] Corrections automatiques appliquées par les git hooks.
pre-commit-ci[bot] Oct 11, 2025
0313770
vector.py : oubli d'un commentaire qui n'était pas traduit en anglais
fbacquelot Oct 11, 2025
8d42810
Merge branch 'feature/vectorset' of github.com:rok4/core-python into …
fbacquelot Oct 11, 2025
d73c102
vector.py : ajout de commentaires dans les headers + esthétique fin d…
fbacquelot Oct 12, 2025
513048b
test_vector.py : ajout de typage d'arguments de sortie + buts de fonc…
fbacquelot Oct 12, 2025
f80928d
[pre-commit.ci] Corrections automatiques appliquées par les git hooks.
pre-commit-ci[bot] Oct 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added data/TM_WORLD_BORDERS-0.3.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions data/TM_WORLD_BORDERS-0.3.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Binary file added data/TM_WORLD_BORDERS-0.3.shp
Binary file not shown.
Binary file added data/TM_WORLD_BORDERS-0.3.shx
Binary file not shown.
3 changes: 3 additions & 0 deletions data/filelist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
file://./data/martinique.gpkg
file://./data/states.geojson
file://./data/TM_WORLD_BORDERS-0.3.shp
Binary file added data/martinique.gpkg
Binary file not shown.
60 changes: 60 additions & 0 deletions data/states.geojson

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions data/vectorset.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
[
{
"path": "file://./data/martinique.gpkg",
"tables": [
{
"name": "arrondissement",
"count": 4,
"srs": "EPSG:4559",
"bbox": [690574.399999426, 1592426.09999943, 736126.499998242, 1645659.8],
"geometry_columns": ["geom"],
"attributes": {
"fid": "Integer",
"id": "Integer",
"id_geofla": "String",
"code_arr": "String",
"code_chf": "String",
"nom_chf": "String",
"x_chf_lieu": "Integer",
"y_chf_lieu": "Integer",
"x_centroid": "Integer",
"y_centroid": "Integer",
"code_dept": "String",
"nom_dept": "String",
"code_reg": "String",
"nom_reg": "String"
}
},
{
"name": "departement",
"count": 1,
"srs": "EPSG:4559",
"bbox": [690574.399999426, 1592426.09999943, 736126.499998242, 1645659.8],
"geometry_columns": ["geom"],
"attributes": {
"fid": "Integer",
"id": "Integer",
"id_geofla": "String",
"code_dept": "String",
"nom_dept": "String",
"code_chf": "String",
"nom_chf": "String",
"x_chf_lieu": "Integer",
"y_chf_lieu": "Integer",
"x_centroid": "Integer",
"y_centroid": "Integer",
"code_reg": "String",
"nom_reg": "String"
}
}
]
},
{
"path": "file://./data/states.geojson",
"tables": [
{
"name": "states",
"count": 52,
"srs": "EPSG:3857",
"bbox": [-19951818.272319775, 2017836.357428821, -7254560.414595957, 11553642.98126969],
"geometry_columns": ["geom"],
"attributes": {
"id": "String",
"STATE_ABBR": "String",
"STATE_NAME": "String",
"AREA_LAND": "Real",
"AREA_WATER": "Real",
"PERSONS": "Integer",
"MALE": "Integer",
"FEMALE": "Integer"
}
}
]
},
{
"path": "file://./data/TM_WORLD_BORDERS-0.3.shp",
"tables": [
{
"name": "TM_WORLD_BORDERS-0.3",
"count": 246,
"srs": "EPSG:4326",
"bbox": [-179.99999999999997, 180.0, -90.0, 83.62359600000008],
"geometry_columns": ["geom"],
"attributes": {
"FIPS": "String",
"ISO2": "String",
"ISO3": "String",
"UN": "Integer",
"NAME": "String",
"AREA": "Integer",
"POP2005": "Integer64",
"REGION": "Integer",
"SUBREGION": "Integer",
"LON": "Real",
"LAT": "Real"
}
}
]
}
]
Loading