Add geocode search and prevent parquet commits#31
Merged
rdhyee merged 2 commits intoisamplesorg:mainfrom Oct 31, 2025
Merged
Conversation
Prevent accidental commit of large parquet data files (e.g., 691MB oc_isamples_pqg.parquet). These files are too large for git and should be accessed via: - Remote URLs (HTTP range requests) - Local caching during development - External data storage (Zenodo, Google Storage, etc.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Users can now paste a geocode PID (e.g., geoloc_04d6e816218b1a8798fa90b3d1d43bf4c043a57f) into a search box and the map will: - Query the database for that geocode's coordinates - Fly the camera to that location (2-second animation) - Automatically trigger all data queries for that location Implementation: - Added Inputs.text search box with submit functionality - Reactive cell watches searchGeoPid changes - Uses Cesium camera.flyTo() for smooth navigation - Sets clickedPointId after camera arrives to load data This enables direct navigation to known geocodes without manual map clicking. Test example PIDs: - geoloc_04d6e816218b1a8798fa90b3d1d43bf4c043a57f (PKAP, 5 samples) - geoloc_7a05216d388682536f3e2abd8bd2ee3fb286e461 (Larnaka, 0 samples) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two quality-of-life improvements for the Cesium tutorial:
1. Geocode Search Feature
Users can now paste a geocode PID into a search box and jump directly to that location:
How it works:
geoloc_04d6e816218b1a8798fa90b3d1d43bf4c043a57f)Benefits:
Test examples:
geoloc_04d6e816218b1a8798fa90b3d1d43bf4c043a57f(PKAP, 5 samples)geoloc_7a05216d388682536f3e2abd8bd2ee3fb286e461(Larnaka, 0 samples)2. Parquet Files in Gitignore
Prevents accidental commit of large data files:
*.parquetto.gitignoreoc_isamples_pqg.parquetChanges
tutorials/parquet_cesium.qmd:.gitignore:*.parquetpatternTesting
git status🤖 Generated with Claude Code