.TH r.tileset 1grass "" "GRASS 8.3.2" "GRASS GIS User's Manual" .SH NAME \fI\fBr.tileset\fR\fR \- Produces tilings of the source projection for use in the destination region and projection. .SH KEYWORDS raster, tiling .SH SYNOPSIS \fBr.tileset\fR .br \fBr.tileset \-\-help\fR .br \fBr.tileset\fR [\-\fBgw\fR] [\fBregion\fR=\fIstring\fR] \fBsourceproj\fR=\fIstring\fR [\fBsourcescale\fR=\fIstring\fR] [\fBdestproj\fR=\fIstring\fR] [\fBdestscale\fR=\fIstring\fR] [\fBmaxcols\fR=\fIinteger\fR] [\fBmaxrows\fR=\fIinteger\fR] [\fBoverlap\fR=\fIinteger\fR] [\fBseparator\fR=\fIcharacter\fR] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-g\fR" 4m .br Produces shell script output .IP "\fB\-w\fR" 4m .br Produces web map server query string output .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBregion\fR=\fIstring\fR" 4m .br Name of region to use instead of current region for bounds and resolution .IP "\fBsourceproj\fR=\fIstring\fR \fB[required]\fR" 4m .br Source projection .IP "\fBsourcescale\fR=\fIstring\fR" 4m .br Conversion factor from units to meters in source projection .br Default: \fI1\fR .IP "\fBdestproj\fR=\fIstring\fR" 4m .br Destination projection, defaults to this location\(cqs projection .IP "\fBdestscale\fR=\fIstring\fR" 4m .br Conversion factor from units to meters in source projection .IP "\fBmaxcols\fR=\fIinteger\fR" 4m .br Maximum number of columns for a tile in the source projection .br Default: \fI1024\fR .IP "\fBmaxrows\fR=\fIinteger\fR" 4m .br Maximum number of rows for a tile in the source projection .br Default: \fI1024\fR .IP "\fBoverlap\fR=\fIinteger\fR" 4m .br Number of cells tiles should overlap in each direction .br Default: \fI0\fR .IP "\fBseparator\fR=\fIcharacter\fR" 4m .br Field separator .br Output field separator .br Default: \fIpipe\fR .SH DESCRIPTION \fIr.tileset\fR generates sets of tiles in another projection that cover a region in this projection with adequate resolution. By default the current region and its resolution are used, the bounds and resolution of another region can be used via the region option. .SH NOTES \fIr.tileset\fR does not make \(dqoptimal\(dq tilings (as few tiles of the largest size less than the maximums). This means that from latitude longitude projection to an appropriate projection for a region, in the degenerate case, it may create tiles demanding up to twice the necessary information. Furthermore, generating a tiling near a divergant point of a source projection, such as the poles of a cylindrical source projections, results in divergence of the tile set. .PP Not generating \(dqoptimal\(dq tilings may have another consequence; the aspect ratio of cells in the destination region will not necessarily carry over to the source region and generated tiles may have cells of strange aspect ratios. This might be a problem for some map request services presenting data in an inappropriate projection or with strict constraints on cell aspect ratio. .SH OUTPUT FORMAT Each tile is listed on a separate line in the output. The lines are formatted as follows: .IP " \fC 5|125|45|175|80|100 \fR " 4m .br This is the default output format. It is the tile\(cqs minimum x coordinate, minimum y coordinate, maximum x coordinate, maximum y coordinate, width in cells, and height in cells separated by the \(dq|\(dq character. The fields can be separated by a different character by changing the fs option. .IP " \fC w=5;s=125;e=45;n=175;cols=80;rows=100; \fR " 4m .br This is output in a format convenient for setting variables in a shell script. .IP " \fC bbox=5,125,45,175&width=80&height=100 \fR " 4m .br This is output in a format convenient for requesting data from some http services. .SH EXAMPLES Generates tiles in latitude longitude that cover the current region, each tile will be less than 1024 cells high and 2048 cells across. The bounds and sizes of tiles in the output are separated by | (pipe): .PP .br .nf \fC r.tileset sourceproj=+init=epsg:4326 maxrows=1024 maxcols=2048 \fR .fi Generates tiles in latitude longitude projection that cover the named region \(dqne\-rio\(dq. The tiles will have 2 cells of overlap. The output format will be strings like the bbox requests for WMS servers: .PP .br .nf \fC r.tileset sourceproj=+init=epsg:4326 overlap=2 \-w region=ne\-rio \fR .fi Generates tiles in the projection of the location \(dqIrishGrid\(dq. Each tile will be less than 300x400 cells in size, with 3 cells of overlap in the top and right sides of each tile. The output is in a format where each line is in shell script style. The substitution \fC\(gag.proj \-j location=IrishGrid\(ga\fR will only work in a unix style shell: .PP .br .nf \fC r.tileset sourceproj=\(dq\(gag.proj \-j location=IrishGrid\(ga\(dq maxrows=400 maxcols=300 overlap=3 \-g \fR .fi .SH KNOWN ISSUES .RS 4n .IP \(bu 4n \fIr.tileset\fR does not know about meridians that \(dqwrap\-around\(dq in projections. .RE .SH AUTHORS Cedric Shock .br Updated for GRASS 7 by Martin Landa, CTU in Prague, Czech Republic .SH SOURCE CODE .PP Available at: r.tileset source code (history) .PP Accessed: Friday Mar 08 07:35:34 2024 .PP Main index | Raster index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2024 GRASS Development Team, GRASS GIS 8.3.2 Reference Manual