Skip to content

Commit

Permalink
Officially deprecate EarthDistanceFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Dec 24, 2019
1 parent 7bc00da commit 367abf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Doctrine/Functions/EarthDistanceFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*
* This function is designed to work with points in the WGS84 lon/lat (SRID 4326) coordinate system.
*
* @deprecated
*
* @todo remove for version 0.3.0
* - SRID 4326 is actually lat/lon: http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::4326
* - this calculation should be delegated to the geometry engine, that should be able to handle geographic
Expand Down

0 comments on commit 367abf5

Please sign in to comment.