Geospatial and Time-Series Data Questions

Specialized data shapes and their stores: geospatial data types, spatial indexing, and location queries; and time-series data with high-ingest, retention, downsampling, and cardinality management. Covers storage-engine tuning such as compression, chunking, and indexing for range queries, and when purpose-built extensions or databases beat general-purpose stores for these workloads. A niche but recurring topic for location- and telemetry-heavy systems.

MediumTechnical
76 practiced

In Python (you may reference scikit-learn or scipy), implement or describe a function that returns the k nearest drivers to a rider location when n can be up to 100k drivers. Explain coordinate choices (use BallTree with haversine vs KDTree on projected coordinates), memory/time complexity, and how you would support dynamic updates when driver positions change.

MediumTechnical
76 practiced

Explain the differences between common geospatial distance calculations used in ride matching: Euclidean (flat), Haversine, and Vincenty. For each: describe assumptions, typical numerical accuracy, computational cost, and when it is acceptable to use a planar approximation in production matching pipelines. Discuss how metric choice affects ranking, latency, and system-level optimizations (vectorization, batching, approximations).

That is every published Geospatial and Time-Series Data question for Machine Learning Engineer so far. Browse the other topics in this category, or practice this one interactively.