File tree Expand file tree Collapse file tree 7 files changed +55
-23
lines changed
Expand file tree Collapse file tree 7 files changed +55
-23
lines changed Original file line number Diff line number Diff line change 11ci-cd :
2- - .github/**/*
2+ - changed-files :
3+ - any-glob-to-any-file :
4+ - .github/**
35
46dependencies :
5- - cmake/**/*
7+ - changed-files :
8+ - any-glob-to-any-file :
9+ - cmake/**
610
711documentation :
8- - docs/**/*
12+ - changed-files :
13+ - any-glob-to-any-file :
14+ - docs/**
915
1016enhancement :
11- - src/**/*
12- - include/**/*
17+ - changed-files :
18+ - any-glob-to-any-file :
19+ - src/**
20+ - include/**
1321
1422quality :
15- - tests/**/*
23+ - changed-files :
24+ - any-glob-to-any-file :
25+ - tests/**
1626
1727tooling :
18- - CMakeLists.txt
19- - config.h.in
20- - ' **/CMakeLists.txt'
28+ - changed-files :
29+ - any-glob-to-any-file :
30+ - CMakeLists.txt
31+ - config.h.in
32+ - ' **/CMakeLists.txt'
Original file line number Diff line number Diff line change 11name : " 🏷 PR Labeler"
22on :
3- - pull_request_target
4-
5- permissions :
6- contents : read
7- pull-requests : write
3+ - pull_request
84
95jobs :
10- triage :
6+ labeler :
7+ permissions :
8+ contents : read
9+ pull-requests : write
1110 runs-on : ubuntu-latest
1211 steps :
13- - uses : actions/labeler@v5
14- with :
15- repo-token : " ${{ secrets.GITHUB_TOKEN }}"
12+ - uses : actions/labeler@v5
Original file line number Diff line number Diff line change 1+ ## 2.0.1
2+
3+ ### [ Added]
4+
5+ * ` Keyword ` : ajout d'un exporteur JSON (API Tiles)
6+ * ` TileMatrixLimits ` : ajout d'un exporteur JSON (API Tiles)
7+
18## 2.0.0
29
310### [ Added]
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class Style;
9797 * "slope_max": 254
9898 * },
9999 * "palette": {
100- * "max_value ": 255 ,
100+ * "no_alpha ": false ,
101101 * "rgb_continuous": true,
102102 * "alpha_continuous": true,
103103 * "colours": [
Original file line number Diff line number Diff line change @@ -202,6 +202,10 @@ class Keyword {
202202 }
203203 }
204204
205+ json11::Json to_json () const {
206+ return content;
207+ }
208+
205209 /* *
206210 * \~french
207211 * \brief Destructeur par défaut
Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ friend class TileMatrixSet;
9797 double res;
9898 /* *
9999 * \~french \brief Abcisse du point en haut à gauche dans le système de coordonnées associé.
100- * \~english \brief X-coordinate of the top right corner in the linked coordinate system.
100+ * \~english \brief X-coordinate of the top left corner in the linked coordinate system.
101101 */
102102 double x0;
103103 /* *
104104 * \~french \brief Ordonnée du point en haut à gauche dans le système de coordonnées associé.
105- * \~english \brief Y-coordinate of the top right corner in the linked coordinate system.
105+ * \~english \brief Y-coordinate of the top left corner in the linked coordinate system.
106106 */
107107 double y0;
108108 /* *
@@ -186,7 +186,7 @@ friend class TileMatrixSet;
186186 * \brief Retourne l'abscisse du point en haut à gauche dans le système de coordonnées associé.
187187 * \return abscisse
188188 * \~english
189- * \brief Return the x-coordinate of the top right corner in the linked coordinate system.
189+ * \brief Return the x-coordinate of the top left corner in the linked coordinate system.
190190 * \return x-coordinate
191191 */
192192 double get_x0 ();
@@ -195,7 +195,7 @@ friend class TileMatrixSet;
195195 * \brief Retourne l'ordonnée du point en haut à gauche dans le système de coordonnées associé.
196196 * \return ordonnée
197197 * \~english
198- * \brief Return the y-coordinate of the top right corner in the linked coordinate system.
198+ * \brief Return the y-coordinate of the top left corner in the linked coordinate system.
199199 * \return y-coordinate
200200 */
201201 double get_y0 ();
Original file line number Diff line number Diff line change @@ -171,6 +171,18 @@ class TileMatrixLimits
171171 node.add (" MaxTileCol" , std::to_string (max_tile_col));
172172 }
173173
174+ json11::Json to_json () const {
175+ json11::Json::object res = json11::Json::object {
176+ { " tileMatrix" , tm_id },
177+ { " minTileRow" , int (min_tile_row) },
178+ { " maxTileRow" , int (max_tile_row) },
179+ { " minTileCol" , int (min_tile_col) },
180+ { " maxTileCol" , int (max_tile_col) }
181+ };
182+
183+ return res;
184+ }
185+
174186};
175187
176188
You can’t perform that action at this time.
0 commit comments