@carto/api-client 0.5.6-alpha.bundle.4 → 0.5.7-alpha-optional-spatial-filter.0
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/CHANGELOG.md +7 -0
- package/build/api-client.cjs +488 -361
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.d.cts +35 -6
- package/build/api-client.d.ts +35 -6
- package/build/api-client.js +451 -325
- package/build/api-client.js.map +1 -1
- package/build/worker-compat.js +4227 -2968
- package/build/worker-compat.js.map +1 -1
- package/build/worker.js +408 -340
- package/build/worker.js.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +12 -0
- package/src/fetch-map/layer-map.ts +2 -1
- package/src/filters/tileFeatures.ts +1 -1
- package/src/filters/tileFeaturesGeometries.ts +28 -55
- package/src/filters/tileFeaturesRaster.ts +16 -12
- package/src/filters/tileFeaturesSpatialIndex.ts +37 -52
- package/src/filters/tileIntersection.ts +158 -0
- package/src/index.ts +1 -0
- package/src/types.ts +1 -1
- package/src/utils/CellSet.ts +90 -0
- package/src/widget-sources/widget-remote-source.ts +5 -5
- package/src/widget-sources/widget-tileset-source-impl.ts +15 -10
package/build/api-client.d.cts
CHANGED
|
@@ -72,6 +72,17 @@ declare const SpatialIndexColumn: Readonly<{
|
|
|
72
72
|
h3: string[];
|
|
73
73
|
quadbin: string[];
|
|
74
74
|
}>;
|
|
75
|
+
/**
|
|
76
|
+
* Enum like container for all types of aggregations available for widgets.
|
|
77
|
+
*/
|
|
78
|
+
declare const AggregationTypes: {
|
|
79
|
+
readonly Count: "count";
|
|
80
|
+
readonly Avg: "avg";
|
|
81
|
+
readonly Min: "min";
|
|
82
|
+
readonly Max: "max";
|
|
83
|
+
readonly Sum: "sum";
|
|
84
|
+
readonly Custom: "custom";
|
|
85
|
+
};
|
|
75
86
|
|
|
76
87
|
/******************************************************************************
|
|
77
88
|
* MAP INSTANTIATION
|
|
@@ -160,7 +171,7 @@ type Raster = {
|
|
|
160
171
|
* AGGREGATION
|
|
161
172
|
*/
|
|
162
173
|
/**
|
|
163
|
-
* Enum for the different types of aggregations available for widgets.
|
|
174
|
+
* Enum type for the different types of aggregations available for widgets.
|
|
164
175
|
*
|
|
165
176
|
* @privateRemarks Source: @carto/constants
|
|
166
177
|
* @privateRemarks Converted from enum to type union, for improved declarative API.
|
|
@@ -1522,7 +1533,7 @@ type TileFeatures = {
|
|
|
1522
1533
|
tileFormat: TileFormat;
|
|
1523
1534
|
spatialDataType: SpatialDataType;
|
|
1524
1535
|
spatialDataColumn?: string;
|
|
1525
|
-
spatialFilter
|
|
1536
|
+
spatialFilter?: SpatialFilter;
|
|
1526
1537
|
uniqueIdProperty?: string;
|
|
1527
1538
|
rasterMetadata?: RasterMetadata;
|
|
1528
1539
|
storeGeometry?: boolean;
|
|
@@ -1544,14 +1555,14 @@ type GeometryExtractOptions = {
|
|
|
1544
1555
|
declare function tileFeaturesGeometries({ tiles, tileFormat, spatialFilter, uniqueIdProperty, options, }: {
|
|
1545
1556
|
tiles: Tile[];
|
|
1546
1557
|
tileFormat?: TileFormat;
|
|
1547
|
-
spatialFilter
|
|
1558
|
+
spatialFilter?: SpatialFilter;
|
|
1548
1559
|
uniqueIdProperty?: string;
|
|
1549
1560
|
options?: GeometryExtractOptions;
|
|
1550
1561
|
}): FeatureData[];
|
|
1551
1562
|
|
|
1552
1563
|
type TileFeaturesSpatialIndexOptions = {
|
|
1553
1564
|
tiles: SpatialIndexTile[];
|
|
1554
|
-
spatialFilter
|
|
1565
|
+
spatialFilter?: SpatialFilter;
|
|
1555
1566
|
spatialDataColumn: string;
|
|
1556
1567
|
spatialDataType: SpatialDataType;
|
|
1557
1568
|
};
|
|
@@ -1589,7 +1600,7 @@ declare class WidgetTilesetSourceImpl extends WidgetSource<WidgetTilesetSourcePr
|
|
|
1589
1600
|
loadTiles(tiles: unknown[]): void;
|
|
1590
1601
|
/** Configures options used to extract features from tiles. */
|
|
1591
1602
|
setTileFeatureExtractOptions(options: TileFeatureExtractOptions): void;
|
|
1592
|
-
protected _extractTileFeatures(spatialFilter
|
|
1603
|
+
protected _extractTileFeatures(spatialFilter?: SpatialFilter): void;
|
|
1593
1604
|
/**
|
|
1594
1605
|
* Loads features as GeoJSON (used for testing).
|
|
1595
1606
|
* @experimental
|
|
@@ -1860,6 +1871,24 @@ declare function makeIntervalComplete(intervals: FilterInterval[]): FilterInterv
|
|
|
1860
1871
|
*/
|
|
1861
1872
|
declare function transformToTileCoords<T extends Geometry>(geometry: T, bbox: BBox): T;
|
|
1862
1873
|
|
|
1874
|
+
/**
|
|
1875
|
+
* Custom Set-like interface optimized for BigUint64 cell IDs. Unlike Set,
|
|
1876
|
+
* limited in most JavaScript runtimes to ~16M entries, this implementation
|
|
1877
|
+
* can support up to `n = 2^32 - 1` (4 billion) entries, with lookups in
|
|
1878
|
+
* amortized O(1) time.
|
|
1879
|
+
*/
|
|
1880
|
+
declare class CellSet {
|
|
1881
|
+
/** List of cells stored by the set. Stored by reference, without copying. */
|
|
1882
|
+
private cells;
|
|
1883
|
+
/** DataView representing a single cell ID. Pre-allocated to reduce memory during queries. */
|
|
1884
|
+
private cellView;
|
|
1885
|
+
/** Hash table, mapping a hash index (computed) to an index in the 'cells' array. */
|
|
1886
|
+
private hashTable;
|
|
1887
|
+
constructor(cells: bigint[]);
|
|
1888
|
+
has(cell: bigint): boolean;
|
|
1889
|
+
private hashLookup;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1863
1892
|
type FetchDatasetOptions = {
|
|
1864
1893
|
accessToken: string;
|
|
1865
1894
|
apiBaseUrl: string;
|
|
@@ -1892,4 +1921,4 @@ declare function getColumnNameFromGeoColumn(geoColumn: string | null | undefined
|
|
|
1892
1921
|
*/
|
|
1893
1922
|
declare function getSpatialIndexFromGeoColumn(geoColumn: string): SpatialIndex | null;
|
|
1894
1923
|
|
|
1895
|
-
export { type APIErrorContext, type APIRequestType, type AddFilterOptions, type AggregationFunction, type AggregationType, ApiVersion, type Attribute, _default as BASEMAP, type BaseRequestOptions, type Basemap, type BoundaryQuerySourceOptions, type BoundaryQuerySourceResponse, type BoundaryTableSourceOptions, type BoundaryTableSourceResponse, CartoAPIError, type CategoryRequestOptions, type CategoryResponse, type ColumnsOption, type D3Scale, DEFAULT_API_BASE_URL, FEATURE_GEOM_PROPERTY, type FeaturesRequestOptions, type FeaturesResponse, type FetchMapOptions, type FetchMapResult, type Filter, type FilterFunction, type FilterInterval, type FilterIntervalComplete, type FilterIntervalExtremum, type FilterLogicalOperator, type FilterOptions, FilterType, type Filters, type Format, type FormulaRequestOptions, type FormulaResponse, type GetFilterOptions, type GoogleBasemap, type GroupByFeature, type GroupDateType, type H3QuerySourceOptions, type H3QuerySourceResponse, type H3TableSourceOptions, type H3TableSourceResponse, type H3TilesetSourceOptions, type H3TilesetSourceResponse, type HasFilterOptions, type HistogramRequestOptions, type HistogramResponse, type KeplerMapConfig, type Layer, type LayerDescriptor, type LayerType, type MapLibreBasemap, type MapType, type NamedQueryParameter, OPACITY_MAP, type ParseMapResult, type PositionalQueryParameter, Provider, type ProviderType, type QuadbinQuerySourceOptions, type QuadbinQuerySourceResponse, type QuadbinTableSourceOptions, type QuadbinTableSourceResponse, type QuadbinTilesetSourceOptions, type QuadbinTilesetSourceResponse, type QueryOptions, type QueryParameterValue, type QueryParameters, type QueryResult, type QuerySourceOptions, type RangeRequestOptions, type RangeResponse, type Raster, RasterBandColorinterp, type RasterBandType, type RasterMetadata, type RasterMetadataBand, type RasterMetadataBandStats, type RasterSourceOptions, type RasterTile, type RemoveFilterOptions, SOURCE_DEFAULTS, type Scale, type ScaleKey, type ScaleType, type ScatterPlotFeature, type ScatterRequestOptions, type ScatterResponse, type SchemaField, SchemaFieldType, type SortColumnType, type SortDirection, type SourceOptionalOptions, type SourceOptions, type SourceRequiredOptions, type SpatialDataType, type SpatialFilter, type SpatialFilterPolyfillMode, SpatialIndex, SpatialIndexColumn, type SpatialIndexTile, type StringSearchOptions, TEXT_LABEL_INDEX, TEXT_NUMBER_FORMATTER, TEXT_OUTLINE_OPACITY, type TableRequestOptions, type TableResponse, type TableSourceOptions, type Tile, type TileFeatureExtractOptions, type TileFeatures, type TileFeaturesSpatialIndexOptions, TileFormat, type TileResolution, type Tilejson, type TilejsonResult, type TilesetSourceOptions, type Tilestats, type TimeSeriesRequestOptions, type TimeSeriesResponse, type VectorLayer, type VectorQuerySourceOptions, type VectorQuerySourceResponse, type VectorTableSourceOptions, type VectorTableSourceResponse, type VectorTilesetSourceOptions, type VectorTilesetSourceResponse, type ViewState, type Viewport, WidgetQuerySource, type WidgetQuerySourceResult, WidgetRasterSource, type WidgetRasterSourceProps, type WidgetRasterSourceResult, WidgetRemoteSource, type WidgetRemoteSourceProps, WidgetSource, type WidgetSourceProps, WidgetTableSource, type WidgetTableSourceResult, WidgetTilesetSource, type WidgetTilesetSourceProps, type WidgetTilesetSourceResult, type _DataFilterExtensionProps, _buildFeatureFilter, domainFromValues as _domainFromValues, _getHexagonResolution, addFilter, aggregate, aggregationFunctions, applyFilters, applySorting, boundaryQuerySource, boundaryTableSource, buildBinaryFeatureFilter, buildPublicMapUrl, buildStatsUrl, calculateClusterRadius, calculateClusterTextFontSize, clearDefaultRequestCache, clearFilters, configureSource, createPolygonSpatialFilter, createViewportSpatialFilter, fetchBasemapProps, fetchMap, filterFunctions, geojsonFeatures, getApplicableFilters, getClient, getColorAccessor, getColumnNameFromGeoColumn, getDataFilterExtensionProps, getDefaultAggregationExpColumnAliasForLayerType, getFilter, getIconUrlAccessor, getLayerProps, getMaxMarkerSize, getSizeAccessor, getSpatialIndexFromGeoColumn, getTextAccessor, groupValuesByColumn, groupValuesByDateColumn, h3QuerySource, h3TableSource, h3TilesetSource, hasFilter, histogram, makeIntervalComplete, negateAccessor, opacityToAlpha, parseMap, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, query, rasterSource, removeFilter, requestWithParameters, scaleAggregationResLevel, scatterPlot, setClient, tileFeatures, tileFeaturesGeometries, tileFeaturesSpatialIndex, transformToTileCoords, vectorQuerySource, vectorTableSource, vectorTilesetSource };
|
|
1924
|
+
export { type APIErrorContext, type APIRequestType, type AddFilterOptions, type AggregationFunction, type AggregationType, AggregationTypes, ApiVersion, type Attribute, _default as BASEMAP, type BaseRequestOptions, type Basemap, type BoundaryQuerySourceOptions, type BoundaryQuerySourceResponse, type BoundaryTableSourceOptions, type BoundaryTableSourceResponse, CartoAPIError, type CategoryRequestOptions, type CategoryResponse, CellSet, type ColumnsOption, type D3Scale, DEFAULT_API_BASE_URL, FEATURE_GEOM_PROPERTY, type FeaturesRequestOptions, type FeaturesResponse, type FetchMapOptions, type FetchMapResult, type Filter, type FilterFunction, type FilterInterval, type FilterIntervalComplete, type FilterIntervalExtremum, type FilterLogicalOperator, type FilterOptions, FilterType, type Filters, type Format, type FormulaRequestOptions, type FormulaResponse, type GetFilterOptions, type GoogleBasemap, type GroupByFeature, type GroupDateType, type H3QuerySourceOptions, type H3QuerySourceResponse, type H3TableSourceOptions, type H3TableSourceResponse, type H3TilesetSourceOptions, type H3TilesetSourceResponse, type HasFilterOptions, type HistogramRequestOptions, type HistogramResponse, type KeplerMapConfig, type Layer, type LayerDescriptor, type LayerType, type MapLibreBasemap, type MapType, type NamedQueryParameter, OPACITY_MAP, type ParseMapResult, type PositionalQueryParameter, Provider, type ProviderType, type QuadbinQuerySourceOptions, type QuadbinQuerySourceResponse, type QuadbinTableSourceOptions, type QuadbinTableSourceResponse, type QuadbinTilesetSourceOptions, type QuadbinTilesetSourceResponse, type QueryOptions, type QueryParameterValue, type QueryParameters, type QueryResult, type QuerySourceOptions, type RangeRequestOptions, type RangeResponse, type Raster, RasterBandColorinterp, type RasterBandType, type RasterMetadata, type RasterMetadataBand, type RasterMetadataBandStats, type RasterSourceOptions, type RasterTile, type RemoveFilterOptions, SOURCE_DEFAULTS, type Scale, type ScaleKey, type ScaleType, type ScatterPlotFeature, type ScatterRequestOptions, type ScatterResponse, type SchemaField, SchemaFieldType, type SortColumnType, type SortDirection, type SourceOptionalOptions, type SourceOptions, type SourceRequiredOptions, type SpatialDataType, type SpatialFilter, type SpatialFilterPolyfillMode, SpatialIndex, SpatialIndexColumn, type SpatialIndexTile, type StringSearchOptions, TEXT_LABEL_INDEX, TEXT_NUMBER_FORMATTER, TEXT_OUTLINE_OPACITY, type TableRequestOptions, type TableResponse, type TableSourceOptions, type Tile, type TileFeatureExtractOptions, type TileFeatures, type TileFeaturesSpatialIndexOptions, TileFormat, type TileResolution, type Tilejson, type TilejsonResult, type TilesetSourceOptions, type Tilestats, type TimeSeriesRequestOptions, type TimeSeriesResponse, type VectorLayer, type VectorQuerySourceOptions, type VectorQuerySourceResponse, type VectorTableSourceOptions, type VectorTableSourceResponse, type VectorTilesetSourceOptions, type VectorTilesetSourceResponse, type ViewState, type Viewport, WidgetQuerySource, type WidgetQuerySourceResult, WidgetRasterSource, type WidgetRasterSourceProps, type WidgetRasterSourceResult, WidgetRemoteSource, type WidgetRemoteSourceProps, WidgetSource, type WidgetSourceProps, WidgetTableSource, type WidgetTableSourceResult, WidgetTilesetSource, type WidgetTilesetSourceProps, type WidgetTilesetSourceResult, type _DataFilterExtensionProps, _buildFeatureFilter, domainFromValues as _domainFromValues, _getHexagonResolution, addFilter, aggregate, aggregationFunctions, applyFilters, applySorting, boundaryQuerySource, boundaryTableSource, buildBinaryFeatureFilter, buildPublicMapUrl, buildStatsUrl, calculateClusterRadius, calculateClusterTextFontSize, clearDefaultRequestCache, clearFilters, configureSource, createPolygonSpatialFilter, createViewportSpatialFilter, fetchBasemapProps, fetchMap, filterFunctions, geojsonFeatures, getApplicableFilters, getClient, getColorAccessor, getColumnNameFromGeoColumn, getDataFilterExtensionProps, getDefaultAggregationExpColumnAliasForLayerType, getFilter, getIconUrlAccessor, getLayerProps, getMaxMarkerSize, getSizeAccessor, getSpatialIndexFromGeoColumn, getTextAccessor, groupValuesByColumn, groupValuesByDateColumn, h3QuerySource, h3TableSource, h3TilesetSource, hasFilter, histogram, makeIntervalComplete, negateAccessor, opacityToAlpha, parseMap, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, query, rasterSource, removeFilter, requestWithParameters, scaleAggregationResLevel, scatterPlot, setClient, tileFeatures, tileFeaturesGeometries, tileFeaturesSpatialIndex, transformToTileCoords, vectorQuerySource, vectorTableSource, vectorTilesetSource };
|
package/build/api-client.d.ts
CHANGED
|
@@ -72,6 +72,17 @@ declare const SpatialIndexColumn: Readonly<{
|
|
|
72
72
|
h3: string[];
|
|
73
73
|
quadbin: string[];
|
|
74
74
|
}>;
|
|
75
|
+
/**
|
|
76
|
+
* Enum like container for all types of aggregations available for widgets.
|
|
77
|
+
*/
|
|
78
|
+
declare const AggregationTypes: {
|
|
79
|
+
readonly Count: "count";
|
|
80
|
+
readonly Avg: "avg";
|
|
81
|
+
readonly Min: "min";
|
|
82
|
+
readonly Max: "max";
|
|
83
|
+
readonly Sum: "sum";
|
|
84
|
+
readonly Custom: "custom";
|
|
85
|
+
};
|
|
75
86
|
|
|
76
87
|
/******************************************************************************
|
|
77
88
|
* MAP INSTANTIATION
|
|
@@ -160,7 +171,7 @@ type Raster = {
|
|
|
160
171
|
* AGGREGATION
|
|
161
172
|
*/
|
|
162
173
|
/**
|
|
163
|
-
* Enum for the different types of aggregations available for widgets.
|
|
174
|
+
* Enum type for the different types of aggregations available for widgets.
|
|
164
175
|
*
|
|
165
176
|
* @privateRemarks Source: @carto/constants
|
|
166
177
|
* @privateRemarks Converted from enum to type union, for improved declarative API.
|
|
@@ -1522,7 +1533,7 @@ type TileFeatures = {
|
|
|
1522
1533
|
tileFormat: TileFormat;
|
|
1523
1534
|
spatialDataType: SpatialDataType;
|
|
1524
1535
|
spatialDataColumn?: string;
|
|
1525
|
-
spatialFilter
|
|
1536
|
+
spatialFilter?: SpatialFilter;
|
|
1526
1537
|
uniqueIdProperty?: string;
|
|
1527
1538
|
rasterMetadata?: RasterMetadata;
|
|
1528
1539
|
storeGeometry?: boolean;
|
|
@@ -1544,14 +1555,14 @@ type GeometryExtractOptions = {
|
|
|
1544
1555
|
declare function tileFeaturesGeometries({ tiles, tileFormat, spatialFilter, uniqueIdProperty, options, }: {
|
|
1545
1556
|
tiles: Tile[];
|
|
1546
1557
|
tileFormat?: TileFormat;
|
|
1547
|
-
spatialFilter
|
|
1558
|
+
spatialFilter?: SpatialFilter;
|
|
1548
1559
|
uniqueIdProperty?: string;
|
|
1549
1560
|
options?: GeometryExtractOptions;
|
|
1550
1561
|
}): FeatureData[];
|
|
1551
1562
|
|
|
1552
1563
|
type TileFeaturesSpatialIndexOptions = {
|
|
1553
1564
|
tiles: SpatialIndexTile[];
|
|
1554
|
-
spatialFilter
|
|
1565
|
+
spatialFilter?: SpatialFilter;
|
|
1555
1566
|
spatialDataColumn: string;
|
|
1556
1567
|
spatialDataType: SpatialDataType;
|
|
1557
1568
|
};
|
|
@@ -1589,7 +1600,7 @@ declare class WidgetTilesetSourceImpl extends WidgetSource<WidgetTilesetSourcePr
|
|
|
1589
1600
|
loadTiles(tiles: unknown[]): void;
|
|
1590
1601
|
/** Configures options used to extract features from tiles. */
|
|
1591
1602
|
setTileFeatureExtractOptions(options: TileFeatureExtractOptions): void;
|
|
1592
|
-
protected _extractTileFeatures(spatialFilter
|
|
1603
|
+
protected _extractTileFeatures(spatialFilter?: SpatialFilter): void;
|
|
1593
1604
|
/**
|
|
1594
1605
|
* Loads features as GeoJSON (used for testing).
|
|
1595
1606
|
* @experimental
|
|
@@ -1860,6 +1871,24 @@ declare function makeIntervalComplete(intervals: FilterInterval[]): FilterInterv
|
|
|
1860
1871
|
*/
|
|
1861
1872
|
declare function transformToTileCoords<T extends Geometry>(geometry: T, bbox: BBox): T;
|
|
1862
1873
|
|
|
1874
|
+
/**
|
|
1875
|
+
* Custom Set-like interface optimized for BigUint64 cell IDs. Unlike Set,
|
|
1876
|
+
* limited in most JavaScript runtimes to ~16M entries, this implementation
|
|
1877
|
+
* can support up to `n = 2^32 - 1` (4 billion) entries, with lookups in
|
|
1878
|
+
* amortized O(1) time.
|
|
1879
|
+
*/
|
|
1880
|
+
declare class CellSet {
|
|
1881
|
+
/** List of cells stored by the set. Stored by reference, without copying. */
|
|
1882
|
+
private cells;
|
|
1883
|
+
/** DataView representing a single cell ID. Pre-allocated to reduce memory during queries. */
|
|
1884
|
+
private cellView;
|
|
1885
|
+
/** Hash table, mapping a hash index (computed) to an index in the 'cells' array. */
|
|
1886
|
+
private hashTable;
|
|
1887
|
+
constructor(cells: bigint[]);
|
|
1888
|
+
has(cell: bigint): boolean;
|
|
1889
|
+
private hashLookup;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1863
1892
|
type FetchDatasetOptions = {
|
|
1864
1893
|
accessToken: string;
|
|
1865
1894
|
apiBaseUrl: string;
|
|
@@ -1892,4 +1921,4 @@ declare function getColumnNameFromGeoColumn(geoColumn: string | null | undefined
|
|
|
1892
1921
|
*/
|
|
1893
1922
|
declare function getSpatialIndexFromGeoColumn(geoColumn: string): SpatialIndex | null;
|
|
1894
1923
|
|
|
1895
|
-
export { type APIErrorContext, type APIRequestType, type AddFilterOptions, type AggregationFunction, type AggregationType, ApiVersion, type Attribute, _default as BASEMAP, type BaseRequestOptions, type Basemap, type BoundaryQuerySourceOptions, type BoundaryQuerySourceResponse, type BoundaryTableSourceOptions, type BoundaryTableSourceResponse, CartoAPIError, type CategoryRequestOptions, type CategoryResponse, type ColumnsOption, type D3Scale, DEFAULT_API_BASE_URL, FEATURE_GEOM_PROPERTY, type FeaturesRequestOptions, type FeaturesResponse, type FetchMapOptions, type FetchMapResult, type Filter, type FilterFunction, type FilterInterval, type FilterIntervalComplete, type FilterIntervalExtremum, type FilterLogicalOperator, type FilterOptions, FilterType, type Filters, type Format, type FormulaRequestOptions, type FormulaResponse, type GetFilterOptions, type GoogleBasemap, type GroupByFeature, type GroupDateType, type H3QuerySourceOptions, type H3QuerySourceResponse, type H3TableSourceOptions, type H3TableSourceResponse, type H3TilesetSourceOptions, type H3TilesetSourceResponse, type HasFilterOptions, type HistogramRequestOptions, type HistogramResponse, type KeplerMapConfig, type Layer, type LayerDescriptor, type LayerType, type MapLibreBasemap, type MapType, type NamedQueryParameter, OPACITY_MAP, type ParseMapResult, type PositionalQueryParameter, Provider, type ProviderType, type QuadbinQuerySourceOptions, type QuadbinQuerySourceResponse, type QuadbinTableSourceOptions, type QuadbinTableSourceResponse, type QuadbinTilesetSourceOptions, type QuadbinTilesetSourceResponse, type QueryOptions, type QueryParameterValue, type QueryParameters, type QueryResult, type QuerySourceOptions, type RangeRequestOptions, type RangeResponse, type Raster, RasterBandColorinterp, type RasterBandType, type RasterMetadata, type RasterMetadataBand, type RasterMetadataBandStats, type RasterSourceOptions, type RasterTile, type RemoveFilterOptions, SOURCE_DEFAULTS, type Scale, type ScaleKey, type ScaleType, type ScatterPlotFeature, type ScatterRequestOptions, type ScatterResponse, type SchemaField, SchemaFieldType, type SortColumnType, type SortDirection, type SourceOptionalOptions, type SourceOptions, type SourceRequiredOptions, type SpatialDataType, type SpatialFilter, type SpatialFilterPolyfillMode, SpatialIndex, SpatialIndexColumn, type SpatialIndexTile, type StringSearchOptions, TEXT_LABEL_INDEX, TEXT_NUMBER_FORMATTER, TEXT_OUTLINE_OPACITY, type TableRequestOptions, type TableResponse, type TableSourceOptions, type Tile, type TileFeatureExtractOptions, type TileFeatures, type TileFeaturesSpatialIndexOptions, TileFormat, type TileResolution, type Tilejson, type TilejsonResult, type TilesetSourceOptions, type Tilestats, type TimeSeriesRequestOptions, type TimeSeriesResponse, type VectorLayer, type VectorQuerySourceOptions, type VectorQuerySourceResponse, type VectorTableSourceOptions, type VectorTableSourceResponse, type VectorTilesetSourceOptions, type VectorTilesetSourceResponse, type ViewState, type Viewport, WidgetQuerySource, type WidgetQuerySourceResult, WidgetRasterSource, type WidgetRasterSourceProps, type WidgetRasterSourceResult, WidgetRemoteSource, type WidgetRemoteSourceProps, WidgetSource, type WidgetSourceProps, WidgetTableSource, type WidgetTableSourceResult, WidgetTilesetSource, type WidgetTilesetSourceProps, type WidgetTilesetSourceResult, type _DataFilterExtensionProps, _buildFeatureFilter, domainFromValues as _domainFromValues, _getHexagonResolution, addFilter, aggregate, aggregationFunctions, applyFilters, applySorting, boundaryQuerySource, boundaryTableSource, buildBinaryFeatureFilter, buildPublicMapUrl, buildStatsUrl, calculateClusterRadius, calculateClusterTextFontSize, clearDefaultRequestCache, clearFilters, configureSource, createPolygonSpatialFilter, createViewportSpatialFilter, fetchBasemapProps, fetchMap, filterFunctions, geojsonFeatures, getApplicableFilters, getClient, getColorAccessor, getColumnNameFromGeoColumn, getDataFilterExtensionProps, getDefaultAggregationExpColumnAliasForLayerType, getFilter, getIconUrlAccessor, getLayerProps, getMaxMarkerSize, getSizeAccessor, getSpatialIndexFromGeoColumn, getTextAccessor, groupValuesByColumn, groupValuesByDateColumn, h3QuerySource, h3TableSource, h3TilesetSource, hasFilter, histogram, makeIntervalComplete, negateAccessor, opacityToAlpha, parseMap, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, query, rasterSource, removeFilter, requestWithParameters, scaleAggregationResLevel, scatterPlot, setClient, tileFeatures, tileFeaturesGeometries, tileFeaturesSpatialIndex, transformToTileCoords, vectorQuerySource, vectorTableSource, vectorTilesetSource };
|
|
1924
|
+
export { type APIErrorContext, type APIRequestType, type AddFilterOptions, type AggregationFunction, type AggregationType, AggregationTypes, ApiVersion, type Attribute, _default as BASEMAP, type BaseRequestOptions, type Basemap, type BoundaryQuerySourceOptions, type BoundaryQuerySourceResponse, type BoundaryTableSourceOptions, type BoundaryTableSourceResponse, CartoAPIError, type CategoryRequestOptions, type CategoryResponse, CellSet, type ColumnsOption, type D3Scale, DEFAULT_API_BASE_URL, FEATURE_GEOM_PROPERTY, type FeaturesRequestOptions, type FeaturesResponse, type FetchMapOptions, type FetchMapResult, type Filter, type FilterFunction, type FilterInterval, type FilterIntervalComplete, type FilterIntervalExtremum, type FilterLogicalOperator, type FilterOptions, FilterType, type Filters, type Format, type FormulaRequestOptions, type FormulaResponse, type GetFilterOptions, type GoogleBasemap, type GroupByFeature, type GroupDateType, type H3QuerySourceOptions, type H3QuerySourceResponse, type H3TableSourceOptions, type H3TableSourceResponse, type H3TilesetSourceOptions, type H3TilesetSourceResponse, type HasFilterOptions, type HistogramRequestOptions, type HistogramResponse, type KeplerMapConfig, type Layer, type LayerDescriptor, type LayerType, type MapLibreBasemap, type MapType, type NamedQueryParameter, OPACITY_MAP, type ParseMapResult, type PositionalQueryParameter, Provider, type ProviderType, type QuadbinQuerySourceOptions, type QuadbinQuerySourceResponse, type QuadbinTableSourceOptions, type QuadbinTableSourceResponse, type QuadbinTilesetSourceOptions, type QuadbinTilesetSourceResponse, type QueryOptions, type QueryParameterValue, type QueryParameters, type QueryResult, type QuerySourceOptions, type RangeRequestOptions, type RangeResponse, type Raster, RasterBandColorinterp, type RasterBandType, type RasterMetadata, type RasterMetadataBand, type RasterMetadataBandStats, type RasterSourceOptions, type RasterTile, type RemoveFilterOptions, SOURCE_DEFAULTS, type Scale, type ScaleKey, type ScaleType, type ScatterPlotFeature, type ScatterRequestOptions, type ScatterResponse, type SchemaField, SchemaFieldType, type SortColumnType, type SortDirection, type SourceOptionalOptions, type SourceOptions, type SourceRequiredOptions, type SpatialDataType, type SpatialFilter, type SpatialFilterPolyfillMode, SpatialIndex, SpatialIndexColumn, type SpatialIndexTile, type StringSearchOptions, TEXT_LABEL_INDEX, TEXT_NUMBER_FORMATTER, TEXT_OUTLINE_OPACITY, type TableRequestOptions, type TableResponse, type TableSourceOptions, type Tile, type TileFeatureExtractOptions, type TileFeatures, type TileFeaturesSpatialIndexOptions, TileFormat, type TileResolution, type Tilejson, type TilejsonResult, type TilesetSourceOptions, type Tilestats, type TimeSeriesRequestOptions, type TimeSeriesResponse, type VectorLayer, type VectorQuerySourceOptions, type VectorQuerySourceResponse, type VectorTableSourceOptions, type VectorTableSourceResponse, type VectorTilesetSourceOptions, type VectorTilesetSourceResponse, type ViewState, type Viewport, WidgetQuerySource, type WidgetQuerySourceResult, WidgetRasterSource, type WidgetRasterSourceProps, type WidgetRasterSourceResult, WidgetRemoteSource, type WidgetRemoteSourceProps, WidgetSource, type WidgetSourceProps, WidgetTableSource, type WidgetTableSourceResult, WidgetTilesetSource, type WidgetTilesetSourceProps, type WidgetTilesetSourceResult, type _DataFilterExtensionProps, _buildFeatureFilter, domainFromValues as _domainFromValues, _getHexagonResolution, addFilter, aggregate, aggregationFunctions, applyFilters, applySorting, boundaryQuerySource, boundaryTableSource, buildBinaryFeatureFilter, buildPublicMapUrl, buildStatsUrl, calculateClusterRadius, calculateClusterTextFontSize, clearDefaultRequestCache, clearFilters, configureSource, createPolygonSpatialFilter, createViewportSpatialFilter, fetchBasemapProps, fetchMap, filterFunctions, geojsonFeatures, getApplicableFilters, getClient, getColorAccessor, getColumnNameFromGeoColumn, getDataFilterExtensionProps, getDefaultAggregationExpColumnAliasForLayerType, getFilter, getIconUrlAccessor, getLayerProps, getMaxMarkerSize, getSizeAccessor, getSpatialIndexFromGeoColumn, getTextAccessor, groupValuesByColumn, groupValuesByDateColumn, h3QuerySource, h3TableSource, h3TilesetSource, hasFilter, histogram, makeIntervalComplete, negateAccessor, opacityToAlpha, parseMap, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, query, rasterSource, removeFilter, requestWithParameters, scaleAggregationResLevel, scatterPlot, setClient, tileFeatures, tileFeaturesGeometries, tileFeaturesSpatialIndex, transformToTileCoords, vectorQuerySource, vectorTableSource, vectorTilesetSource };
|