[postgis-users] ST_SquareGrid for known extent

Simon Greener simon at spdba.com.au
Thu Jun 10 15:21:50 PDT 2021


David,

Are you after something like this?

https://www.spdba.com.au/generating-a-grid-fishnet-of-points-or-polygons-for-postgis/

Simon

⁣Get BlueMail for Android ​

On 11 Jun 2021, 06:34, at 06:34, David Galt <davidlgalt.gis+qlist at gmail.com> wrote:
>Hi all,
>I'm sure this is simple, but I have not found the answer. I'd like to
>use
>the ST_SquareGrid function to create a grid not based on another layer
>but
>on a known envelope.
>
>e.g. st_makeenvelope(-9585017.66383462, 4580013.332495567,
>-9498173.412746038, 4638341.318989425, 3857)
>
>How would I code this?
>
>David Galt
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20210611/679a8546/attachment.html>


More information about the postgis-users mailing list