Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 7 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
## Summary

Lecture par système de fichier virtuel avec GDAL
Lecture facilitée de la liste d'une pyramide.

## Changelog

### [Added]

* Storage
* Fonction `get_osgeo_path` permettant de configurer le bon sytème de fichier virtuel en fonction du chemin fourni, et retourne celui à utiliser dans le Open de gdal ou ogr

### [Changed]

* Storage
* la récupération d'un client S3 (`__get_s3_client`) permet de récupérer le client, l'hôte, les clés d'accès et secrète, ainsi que le nom du bucket sans l'éventuel hôte du cluster

* Pyramid
* Fonctions de gestion de la liste : chargement et lecture (via un generator)
* Taille du header d'une dalle stockée dans la variable `ROK4_IMAGE_HEADER_SIZE`
* La proriété `tile_extension` : retourne l'extension d'une tuile de la pyramide en fonction du format
* Des exemples d'utilisation des fonctions principales
### [Fixed]

* Storage
* Lecture binaire S3 : mauvaise configuration du nom du bucket et de l'objet et mauvaise lecture partielle

### [Removed]

* Exceptions
* `NotImplementedError` est une exceptions native
* Lecture de la taille d'un objet S3 : pas besoin d'enlever des quotes dans le header `Content-Length`
<!--
### [Added]

Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ L'environnement d'exécution doit avoir accès aux librairies système. Dans le

```python
from rok4.TileMatrixSet import TileMatrixSet
from rok4.Vector import Vector

try:
tms = TileMatrixSet("file:///path/to/tms.json")
vector = Vector("file:///path/to/vector.shp")
vector_csv1 = Vector("file:///path/to/vector.csv", delimiter, column_x, column_y)
vector_csv1 = Vector("file:///path/to/vector.csv", delimiter, column_WKT)
except Exception as exc:
print(exc)
```

Plus d'exemple dans la documentation développeur.

## Compiler la librairie

```sh
Expand Down
8 changes: 3 additions & 5 deletions README.pypi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ The `rok4` package is available on :

```python
from rok4.TileMatrixSet import TileMatrixSet
from rok4.Vector import Vector

try:
tms = TileMatrixSet("file:///path/to/tms.json")
vector = Vector("file:///path/to/vector.shp")
vector_csv1 = Vector("file:///path/to/vector.csv", delimiter, column_x, column_y)
vector_csv1 = Vector("file:///path/to/vector.csv", delimiter, column_WKT)
except Exception as exc:
print(exc)
```
```

More examples in the developer documentation
Loading