Changes between Version 1 and Version 2 of UsersWikiCreateFishnet

Show
Ignore:
Timestamp:
11/01/11 14:04:40 (19 months ago)
Author:
mwtoews
Comment:

wrong example; expand argument explaination

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiCreateFishnet

    v1 v2  
    1919$$ LANGUAGE sql IMMUTABLE STRICT; 
    2020}}} 
     21Where: 
     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 
    2134 
    2235Example: 
    2336{{{ 
    2437SELECT ST_Collect(cells) 
    25 FROM ST_CreateFishnet(3,4,10,10) AS cells; 
     38FROM ST_CreateFishnet(4,6,10,10) AS cells; 
    2639}}} 
    2740[[Image(http://i.stack.imgur.com/vQY0Z.png)]]