~/talk

How to Find the Nearest Bar Using .NET and PostgreSQL

TalkinRussianat DotNext 2025 · 2025-09-18..09-19· [dotnet, databases]
links:none on file
slides:none on file

Covers using .NET and PostgreSQL to find nearest points with geodata, applying the k-NN algorithm for both Cartesian coordinates and geographic (Earth) coordinates using the PostGIS extension. Explains SRID and EPSG concepts and shows .NET examples using EF Core and LINQ to DB.

AI-written summary · about

  1. 0:00Introduction
  2. 3:07PostgreSQL for geospatial search
  3. 5:11KNN algorithm in PostgreSQL
  4. 10:49GIST index for KNN
  5. 11:10Data setup
  6. 13:16ORM challenges
  7. 16:27Why talk continues
  8. 17:31Earth shape and coordinates
  9. 21:50PostGIS setup
  10. 29:01Geometry vs geography
  11. 33:57Coordinate systems for accuracy
  12. 37:31Optimizing PostGIS index
  13. 40:15NetTopologySuite for .NET
  14. 41:41EF Core implementation
  15. 43:46LINQ to DB implementation
  16. 45:54Summary
  17. 48:06Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.