@volant-autonomy/via-sdk 1.5254.1 → 1.5260.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/direct.d.ts +1 -2
- package/dist/index.cjs.js +2 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/volant-schema.d.ts +33 -21
- package/package.json +1 -1
package/dist/volant-schema.d.ts
CHANGED
|
@@ -1516,9 +1516,33 @@ export interface components {
|
|
|
1516
1516
|
*/
|
|
1517
1517
|
name: string;
|
|
1518
1518
|
/**
|
|
1519
|
-
*
|
|
1520
|
-
* @description
|
|
1521
|
-
*
|
|
1519
|
+
* Cost Dataset NetCDF
|
|
1520
|
+
* @description NetCDF file for a Cost Dataset
|
|
1521
|
+
*
|
|
1522
|
+
* The file must:
|
|
1523
|
+
* * Use a dtype of `float32`
|
|
1524
|
+
* * Not use any negative values
|
|
1525
|
+
* * NaN values may be used to represent a cell that may not be entered but must be consistent across all time slices and
|
|
1526
|
+
* directions
|
|
1527
|
+
*
|
|
1528
|
+
* It is recommended to use `0` where there is no cost (or no known cost) associated but entry is allowed.
|
|
1529
|
+
*
|
|
1530
|
+
* Format:
|
|
1531
|
+
*
|
|
1532
|
+
* Variables:
|
|
1533
|
+
* - cost: Array relative to dimensions stored as (time, y, x, direction) where the direction dimension is optional
|
|
1534
|
+
*
|
|
1535
|
+
* Dimensions:
|
|
1536
|
+
* - time: temporal slices (supplied as length 1 in the case of a static dataset)
|
|
1537
|
+
* - y: grid height
|
|
1538
|
+
* - x: grid width
|
|
1539
|
+
* - direction (optional): data for each 8 principal directions given in the order N, NE, E, SE, S, SW, W, NW
|
|
1540
|
+
*
|
|
1541
|
+
* Attributes:
|
|
1542
|
+
* - crs: EPSG authority string (e.g. EPSG:32630) (Must match associated chart)
|
|
1543
|
+
* - transform: GDAL-like Affine Transform representation, [c, a, b, f, d, e] (Must match associated chart)
|
|
1544
|
+
* - time_bounds: Series of time ranges that must match the length of the time dimension. Each **must not** overlap and
|
|
1545
|
+
* may be described as:
|
|
1522
1546
|
*
|
|
1523
1547
|
*
|
|
1524
1548
|
* Time range in which a raster of data is valid.
|
|
@@ -1531,7 +1555,6 @@ export interface components {
|
|
|
1531
1555
|
*
|
|
1532
1556
|
* Must be of the form of a **JSON string** with a list of objects that each abide by the following schema:
|
|
1533
1557
|
*
|
|
1534
|
-
*
|
|
1535
1558
|
* ```json
|
|
1536
1559
|
* {
|
|
1537
1560
|
* "description": "Time range in which a raster of data is valid.\n\nBounds are defined as [start, end) such that the the raster is valid from the `start` time up until (but not\nincluding) the `end` time.\n\nWhen `None` is provided, it is considered an infinite bound.",
|
|
@@ -1579,24 +1602,8 @@ export interface components {
|
|
|
1579
1602
|
* "type": "object"
|
|
1580
1603
|
* }
|
|
1581
1604
|
* ```
|
|
1582
|
-
* @example [{"start": "2023-10-30T11:00:00Z", "end": "2023-10-30T12:00:00Z"}]
|
|
1583
1605
|
*/
|
|
1584
|
-
|
|
1585
|
-
/**
|
|
1586
|
-
* Cost Dataset GeoTiff
|
|
1587
|
-
* @description GeoTiff file for a Cost Dataset.
|
|
1588
|
-
*
|
|
1589
|
-
* The file must:
|
|
1590
|
-
* * Match georeference information for the specified `chart_id` that can be retrieved using the `/charts` endpoints,
|
|
1591
|
-
* exactly matching all fields.
|
|
1592
|
-
* * Contain bands equal to that of the number of `valid_time_ranges` specified.
|
|
1593
|
-
* * Use a dtype of `float32`
|
|
1594
|
-
* * Not use any negative values
|
|
1595
|
-
* * NaN values may be used to represent a cell that may not be entered but must be consistent across all time slices
|
|
1596
|
-
*
|
|
1597
|
-
* It is recommended to use `0` where there is no cost (or no known cost) associated but entry is allowed.
|
|
1598
|
-
*/
|
|
1599
|
-
geotiff: string;
|
|
1606
|
+
file: string;
|
|
1600
1607
|
};
|
|
1601
1608
|
/** ChartAttributes */
|
|
1602
1609
|
ChartAttributes: {
|
|
@@ -1742,6 +1749,11 @@ export interface components {
|
|
|
1742
1749
|
georeference: components["schemas"]["Georeference"];
|
|
1743
1750
|
/** Bands */
|
|
1744
1751
|
bands: components["schemas"]["CostDatasetRasterBand"][];
|
|
1752
|
+
/**
|
|
1753
|
+
* Is Directional
|
|
1754
|
+
* @description Whether the Cost Dataset contained direction dependent data
|
|
1755
|
+
*/
|
|
1756
|
+
is_directional: boolean;
|
|
1745
1757
|
};
|
|
1746
1758
|
/** CostDatasetRasterBand */
|
|
1747
1759
|
CostDatasetRasterBand: {
|