• It's easy to sign up and post! Register with a working email address (we won't give it to others, or spam you), or through Facebook, Twitter, or a Microsoft ID. Google and LinkedIn coming soon. 🙂

How to create a regular polygon grid in PostGIS?

pjhooker

Cyburbian
Messages
35
Likes
0
Points
0
#1
SELECT ROW_NUMBER() OVER (ORDER BY cells.geom ASC) AS nome_geometria, st_asgeojson(cells.geom) AS the_jsongeom FROM ST_CreateFishnet(10, 10, 0.00449157642059994, 0.00315010684622052, (9.189792-(0.00449157642059994*5)), (45.464224-(0.00315010684622052*5))) AS cells;
---
 
Top