Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cr458/geovibes
/ functions
Functions
611 in github.com/cr458/geovibes
⨍
Functions
611
◇
Types & classes
63
↓ 90 callers
Method
execute
(self, sql)
tests/test_faiss_db.py:11
↓ 36 callers
Method
_show_operation_status
(self, message: str)
geovibes/ui/app.py:1519
↓ 24 callers
Function
combine_datasets
Combine multiple GeoJSON files into a single dataset. IMPORTANT: This function respects existing labels in the input files. It does NOT
geovibes/classification/pipeline.py:337
↓ 22 callers
Method
load
Load model from JSON file.
geovibes/classification/classifier.py:155
↓ 19 callers
Method
clear
(self)
geovibes/ui/tiles.py:392
↓ 15 callers
Method
label_detection
Add or update label for a detection tile_id.
geovibes/ui/state.py:141
↓ 13 callers
Function
_setup_layer_manager_mocks
Set up mock layer manager widget attributes for testing.
tests/test_map_manager_unit.py:14
↓ 11 callers
Method
_empty_collection
()
geovibes/ui/app.py:1526
↓ 11 callers
Method
_report_progress
Report progress if callback is provided.
geovibes/classification/pipeline.py:326
↓ 11 callers
Method
close
(self)
geovibes/ui/app.py:1557
↓ 11 callers
Method
glob
(self, pattern)
tests/test_cloud.py:14
↓ 11 callers
Method
load
Load and split training data. Parameters ---------- test_fraction : float Fraction of data to use for te
geovibes/classification/data_loader.py:47
↓ 10 callers
Method
_refresh_layer_manager
(self)
geovibes/ui/map_manager.py:359
↓ 10 callers
Function
create_spatial_folds
Create fold assignments based on spatial clustering of positives. Algorithm: 1. Buffer positive point geometries and union into contiguo
geovibes/classification/cross_validation.py:64
↓ 10 callers
Method
run
Run batch inference over all embeddings. Parameters ---------- probability_threshold : float Minimum pro
geovibes/classification/inference.py:88
↓ 9 callers
Function
_await_tiles
(panel: TilePanel, timeout: float = 1.0)
tests/test_tile_panel.py:30
↓ 9 callers
Method
_update_status
( self, lat: Optional[float] = None, lon: Optional[float] = None )
geovibes/ui/app.py:1514
↓ 9 callers
Method
remove_layer
(self, name: str)
geovibes/ui/map_manager.py:496
↓ 9 callers
Function
sample_random_negatives
Randomly sample negative examples from DuckDB, excluding positives. This provides a simpler alternative to LULC-based stratified sampling.
geovibes/classification/sample_negatives.py:814
↓ 8 callers
Method
fit
Train the classifier. Parameters ---------- X_train : np.ndarray Training features, shape (n_samples, n_
geovibes/classification/classifier.py:70
↓ 7 callers
Function
cross_validate
Perform k-fold cross-validation with pre-assigned folds. Parameters ---------- X : np.ndarray Feature matrix (n_samples, n_f
geovibes/classification/cross_validation.py:200
↓ 7 callers
Function
detect_geojson_type
(geojson_data: Dict)
geovibes/ui/datasets.py:17
↓ 7 callers
Method
update_results
( self, search_results_df, *, auto_show: bool = False, on_ready: Optio
geovibes/ui/tiles.py:408
↓ 6 callers
Method
_get_utm_crs
Parse MGRS tile_id to get UTM CRS.
geovibes/classification/output.py:240
↓ 6 callers
Method
add_tile_layer
Add an XYZ tile layer overlay.
geovibes/ui/app.py:1533
↓ 6 callers
Method
enter_detection_mode
Enter detection review mode with provided GeoJSON data.
geovibes/ui/state.py:129
↓ 6 callers
Method
from_str
(cls, mgrs_id: str)
geovibes/tiling.py:41
↓ 6 callers
Function
get_cloud_protocol
Returns 's3' or 'gs' if the path is a cloud path, otherwise None.
geovibes/database/cloud.py:15
↓ 6 callers
Method
is_gcs_path
Check if path is a Google Cloud Storage path. Args: path: Path to check Returns: True if path is GCS URL, Fa
geovibes/ui_config/constants.py:248
↓ 6 callers
Method
summary
Return human-readable timing summary.
geovibes/classification/pipeline.py:79
↓ 5 callers
Method
_color_from_fraction
(cls, fraction: float)
geovibes/ui_config/constants.py:101
↓ 5 callers
Method
_insert_overlay_layer
(self, layer: ipyl.TileLayer)
geovibes/ui/map_manager.py:520
↓ 5 callers
Method
_render_current_page
( self, append: bool, limit: Optional[int] = None, on_finish: Optional[Callabl
geovibes/ui/tiles.py:512
↓ 5 callers
Method
_update_layers
(self)
geovibes/ui/app.py:1198
↓ 5 callers
Method
apply_label
Toggle label assignment for a point and return resulting state.
geovibes/ui/state.py:114
↓ 5 callers
Method
df
(self)
tests/test_dataset_manager.py:90
↓ 5 callers
Function
ensure_duckdb_extension
Install and load the requested DuckDB extension.
geovibes/database/faiss_db.py:28
↓ 5 callers
Function
infer_tile_spec_from_name
(name: str)
geovibes/ui/utils.py:69
↓ 5 callers
Method
label_point
(self, lon: float, lat: float)
geovibes/ui/app.py:861
↓ 5 callers
Function
log_to_file
(message: str, logfile: str = LOG_FILE)
geovibes/ui/utils.py:19
↓ 5 callers
Function
matches_expected
(color: tuple[int, int, int], coord: tuple[int, int])
tests/test_xyz.py:124
↓ 5 callers
Method
predict_proba
Predict probability of positive class. Parameters ---------- X : np.ndarray Features, shape (n_samples,
geovibes/classification/classifier.py:134
↓ 5 callers
Method
reset
Reset all mutable state.
geovibes/ui/state.py:51
↓ 5 callers
Method
save
Save model to JSON format.
geovibes/classification/classifier.py:150
↓ 5 callers
Method
update_search_layer
( self, geojson_data: dict, style_callback: Optional[Callable] = None, )
geovibes/ui/map_manager.py:289
↓ 4 callers
Method
_apply_label_style
( self, point_id: str, tick_button: Button, cross_button: Button, )
geovibes/ui/tiles.py:903
↓ 4 callers
Method
_create_layer_row
( self, name: str, opacity: float, layer_type: str = "tile" )
geovibes/ui/map_manager.py:374
↓ 4 callers
Function
_extract_tile_ids
Extract tile IDs from the results grid children in display order.
tests/test_tile_panel.py:361
↓ 4 callers
Method
_fetch_embeddings
(self, point_ids)
geovibes/ui/app.py:1190
↓ 4 callers
Method
_on_dissimilar_click
(self, _button)
geovibes/ui/tiles.py:467
↓ 4 callers
Method
_refresh_detection_layer
Refresh detection layer with current threshold and labels.
geovibes/ui/app.py:1369
↓ 4 callers
Method
_score_batch
Score a batch of embeddings. Parameters ---------- embeddings : np.ndarray Batch of embeddings, shape (n
geovibes/classification/inference.py:178
↓ 4 callers
Method
_spatial_match
Find nearest tile_id for each point using spatial matching.
geovibes/classification/data_loader.py:184
↓ 4 callers
Method
_update_operation
(self, message: Optional[str])
geovibes/ui/tiles.py:877
↓ 4 callers
Method
_update_query_vector
(self)
geovibes/ui/app.py:1228
↓ 4 callers
Method
evaluate
Evaluate the classifier on test data. Parameters ---------- X_test : np.ndarray Test features, shape (n_
geovibes/classification/classifier.py:99
↓ 4 callers
Function
geo_to_pixel
Convert geographic coordinates to pixel coordinates. Args: lon: Longitude lat: Latitude geo_bounds: (min_lon, min_lat, ma
scripts/overlay_detections_on_image.py:14
↓ 4 callers
Function
get_mgrs_tile_ids_for_roi
Return all MGRSTileIds whose footprints intersect the *search_geometry*. Parameters ---------- search_geometry : shapely.geometry
geovibes/tiling.py:150
↓ 4 callers
Method
get_total_count
Get total number of embeddings in database.
geovibes/classification/inference.py:83
↓ 4 callers
Method
remove_layer
Remove an overlay layer by name.
geovibes/ui/app.py:1545
↓ 4 callers
Method
set_label_mode
Update the active label mode.
geovibes/ui/state.py:41
↓ 4 callers
Method
set_layer_opacity
Set the opacity of an overlay layer.
geovibes/ui/app.py:1549
↓ 4 callers
Method
update_status
( self, lat: Optional[float] = None, lon: Optional[float] = None )
geovibes/ui/map_manager.py:166
↓ 3 callers
Method
_filter_detection_layer
(self, threshold: float)
geovibes/ui/app.py:1349
↓ 3 callers
Method
_handle_save_dataset
(self)
geovibes/ui/app.py:1456
↓ 3 callers
Method
_process_search_results
( self, results_df: pd.DataFrame, n_neighbors: int )
geovibes/ui/app.py:1108
↓ 3 callers
Method
_project_root
()
geovibes/ui/data_manager.py:182
↓ 3 callers
Function
_sample_without_buffer
Sample random rows excluding positive tile_ids.
geovibes/classification/sample_negatives.py:876
↓ 3 callers
Method
add_vector_from_content
(self, content: bytes, filename: str)
geovibes/ui/datasets.py:393
↓ 3 callers
Method
clear_operation
(self)
geovibes/ui/status.py:24
↓ 3 callers
Method
clear_overlay_layers
(self)
geovibes/ui/map_manager.py:513
↓ 3 callers
Method
distance_to_color
( distance: float, min_dist: float, max_dist: float, highlight_cutoff: float |
geovibes/ui_config/constants.py:108
↓ 3 callers
Method
fetch_detection_metadata
Fetch metadata for detected IDs. Parameters ---------- detections : List[Tuple[int, float]] List of (id,
geovibes/classification/output.py:53
↓ 3 callers
Function
get_s2_cloud_masked_collection
Get cloud-masked Sentinel-2 collection using CloudScore+ for quality filtering. Args: aoi: Earth Engine geometry defining area of interes
geovibes/ee_tools.py:25
↓ 3 callers
Method
hide
(self)
geovibes/ui/tiles.py:389
↓ 3 callers
Method
load_for_cv
Load all training data without split, with geometries for spatial CV. Parameters ---------- random_state : int
geovibes/classification/data_loader.py:267
↓ 3 callers
Method
now
(cls)
tests/test_dataset_manager.py:106
↓ 3 callers
Function
prepare_ids_for_query
(ids: Iterable[object])
geovibes/ui/utils.py:15
↓ 3 callers
Method
render
Return HTML for the status bar.
geovibes/ui/status.py:27
↓ 3 callers
Method
reset_all
(self, _button=None, clear_overlays: bool = False)
geovibes/ui/app.py:1475
↓ 3 callers
Function
sample_random_negatives_from_geojson
Sample random negatives using positives from a GeoJSON file. This is a convenience function that extracts tile_ids from a GeoJSON file a
geovibes/classification/sample_negatives.py:989
↓ 3 callers
Method
set_operation
(self, message: str)
geovibes/ui/status.py:21
↓ 3 callers
Method
show
(self)
geovibes/ui/tiles.py:386
↓ 3 callers
Method
union_tiles
Union overlapping tiles into larger polygons. Parameters ---------- tiles_gdf : gpd.GeoDataFrame GeoData
geovibes/classification/output.py:164
↓ 3 callers
Method
update_basemap
(self, basemap_name: str)
geovibes/ui/map_manager.py:189
↓ 3 callers
Method
update_label_layers
( self, *, pos_geojson: dict, neg_geojson: dict, erase_geojson: dict,
geovibes/ui/map_manager.py:278
↓ 2 callers
Method
_apply_detection_payload
(self, payload: Dict)
geovibes/ui/datasets.py:384
↓ 2 callers
Method
_apply_duckdb_settings
(self, database_path: Optional[str])
geovibes/ui/data_manager.py:547
↓ 2 callers
Method
_connect_duckdb
(self, database_path: str)
geovibes/ui/data_manager.py:517
↓ 2 callers
Method
_detect_embedding_dim
Detect embedding dimension from first row.
geovibes/classification/inference.py:74
↓ 2 callers
Method
_detect_embedding_dim
(self)
geovibes/ui/data_manager.py:597
↓ 2 callers
Method
_fetch_embeddings
Fetch embeddings from DuckDB for given tile_ids.
geovibes/classification/data_loader.py:234
↓ 2 callers
Method
_geojson_for_ids
(self, ids)
geovibes/ui/app.py:1207
↓ 2 callers
Method
_get_colormap_bundle
(cls)
geovibes/ui_config/constants.py:65
↓ 2 callers
Method
_handle_label_click
( self, point_id: str, row, label: str, tick_button: Button, c
geovibes/ui/tiles.py:892
↓ 2 callers
Method
_infer_geometry_from_db
(self, db_path: str)
geovibes/ui/data_manager.py:307
↓ 2 callers
Method
_iterate_batches_fast
Generator yielding (ids, embeddings) batches using fetchdf(). Yields ------ ids : np.ndarray Array of em
geovibes/classification/inference.py:146
↓ 2 callers
Method
_make_placeholder_tile
(self)
geovibes/ui/tiles.py:841
↓ 2 callers
Method
_match_single_file
( self, directory: pathlib.Path, pattern_specs: List[Tuple[str, Optional[str]]] )
geovibes/ui/data_manager.py:433
↓ 2 callers
Method
_on_label_toggle_change
(self, change)
geovibes/ui/app.py:672
next →
1–100 of 611, ranked by callers