Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ Considering we want to buffer the location of our ports by 50 meters. Looking in
> For geometry, the distance is specified in the units of the Spatial Reference System of the geometry. For geography, the distance is specified in meters.
> [https://postgis.net/docs/ST_Buffer.html](https://postgis.net/docs/ST_Buffer.html)

Therefore, we need to cast our points from the location colum to geography before handing them over to the buffer function:
Therefore, we need to cast our points from the location column to geography before handing them over to the buffer function:

```php
$bufferedPorts = Port::query()
Expand Down
Loading