Changes between Version 1 and Version 2 of UsersWikiCreateFishnet
- Timestamp:
- 11/01/11 14:04:40 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiCreateFishnet
v1 v2 19 19 $$ LANGUAGE sql IMMUTABLE STRICT; 20 20 }}} 21 Where: 22 {{{nrow}}} integer:: 23 number of rows in ''y''-direction 24 {{{ncol}}} integer:: 25 number of columns in ''x''-direction 26 {{{xsize}}} float8:: 27 cell size length in ''x''-direction 28 {{{ysize}}} float8:: 29 cell size length in ''x''-direction 30 {{{x0}}} float8 (optional):: 31 origin offset in ''x''-direction; DEFAULT is 0 32 {{{y0}}} float8 (optional):: 33 origin offset in ''y''-direction; DEFAULT is 0 21 34 22 35 Example: 23 36 {{{ 24 37 SELECT ST_Collect(cells) 25 FROM ST_CreateFishnet( 3,4,10,10) AS cells;38 FROM ST_CreateFishnet(4,6,10,10) AS cells; 26 39 }}} 27 40 [[Image(http://i.stack.imgur.com/vQY0Z.png)]]