Providing a struct latlng rather than an ordered pair makes it easier to be sure which coordinate is being used https://duckdb.org/docs/sql/functions/nested#struct-functions struct_pact might be a reference for this