Skip to content

Commit

Permalink
Merge pull request #467 from duckdb/jfk-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen authored Dec 11, 2024
2 parents b7805fb + 3ad67d5 commit 7f861c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -741,12 +741,12 @@ The input geometry is assumed to be in the [EPSG:4326](https://en.wikipedia.org/
-- Note: the coordinates are in WGS84 and [latitude, longitude] axis order
-- Whats the distance between New York and Amsterdam (JFK and AMS airport)?
SELECT st_distance_spheroid(
st_point(40.6446, 73.7797),
st_point(40.6446, -73.7797),
st_point(52.3130, 4.7725)
);
----
5243187.666873225
-- Roughly 5243km!
5863418.7459356235
-- Roughly 5863km!
```

----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ static constexpr const char *DOC_EXAMPLE = R"(
-- Note: the coordinates are in WGS84 and [latitude, longitude] axis order
-- Whats the distance between New York and Amsterdam (JFK and AMS airport)?
SELECT st_distance_spheroid(
st_point(40.6446, 73.7797),
st_point(40.6446, -73.7797),
st_point(52.3130, 4.7725)
);
----
5243187.666873225
-- Roughly 5243km!
5863418.7459356235
-- Roughly 5863km!
)";

static constexpr DocTag DOC_TAGS[] = {{"ext", "spatial"}, {"category", "relation"}, {"category", "spheroid"}};
Expand Down

0 comments on commit 7f861c0

Please sign in to comment.