New answers tagged

3 votes
Accepted

Warning message when doing spatial join nearest neighbor on GeoPandas

A geographic CRS like EPSG:4674 wraps your coordinates around the surface of a sphere or ellipsoid, but that really complicates things when quantifying distance. Now that you're on a sphere, your ...
iskandarblue's user avatar
  • 2,027
3 votes
Accepted

Distance unit in KNN using cross join lateral

Yes, whenever the GEOGRAPHY data type is used for geometric measurements, the base unit of their results, as well as their respective function arguments (e.g. for ST_DWithin), is meter! This is true ...
geozelot's user avatar
  • 28.6k

Top 50 recent answers are included