@@ -296,51 +296,51 @@ Works for cells, edges and vertexes.
296
296
<TabItem value = " c" >
297
297
298
298
``` c
299
- H3Error getIndexDigit (H3Index h, int digit , H3Index * out);
299
+ H3Error getIndexDigit (H3Index h, int res , H3Index * out);
300
300
```
301
301
302
302
</TabItem>
303
303
<TabItem value="java">
304
304
305
305
```java
306
- int getIndexDigit(long h3, int digit );
307
- int getIndexDigit(String h3Address, int digit );
306
+ int getIndexDigit(long h3, int res );
307
+ int getIndexDigit(String h3Address, int res );
308
308
```
309
309
310
310
</TabItem >
311
311
<TabItem value = " javascript" >
312
312
313
313
``` js
314
- h3 .getIndexDigit (h, digit )
314
+ h3 .getIndexDigit (h, res )
315
315
```
316
316
317
317
``` js live
318
318
function example () {
319
319
const h = ' 85283473fffffff' ;
320
- const digit = 2 ;
321
- return h3 .getIndexDigit (h, digit );
320
+ const res = 2 ;
321
+ return h3 .getIndexDigit (h, res );
322
322
}
323
323
```
324
324
325
325
</TabItem >
326
326
<TabItem value = " python" >
327
327
328
328
``` py
329
- h3.get_index_digit(h, digit )
329
+ h3.get_index_digit(h, res )
330
330
```
331
331
332
332
</TabItem >
333
333
<TabItem value = " go" >
334
334
335
335
``` go
336
- cell.IndexDigit (digit )
336
+ cell.IndexDigit (res )
337
337
```
338
338
339
339
</TabItem >
340
340
<TabItem value = " duckdb" >
341
341
342
342
``` sql
343
- h3_get_index_digit(h, digit )
343
+ h3_get_index_digit(h, res )
344
344
```
345
345
346
346
</TabItem >
@@ -354,11 +354,11 @@ H3 4.3.0
354
354
getIndexDigit Extracts the indexing digit (0 - 7) from the H3 cell
355
355
-h, --help Show this help message.
356
356
-c, --cell < index> Required. H3 Cell
357
- -d , --digit < digit > Required. Indexing digit (1 - 15)
357
+ -r , --res < res > Required. Indexing resolution (1 - 15)
358
358
```
359
359
360
360
``` bash
361
- $ h3 getIndexDigit -c 85283473fffffff -d 2
361
+ $ h3 getIndexDigit -c 85283473fffffff -r 2
362
362
7
363
363
```
364
364
0 commit comments